com.stimulsoft.report.dialogs
Class StiComboBoxControl

java.lang.Object
  extended by com.stimulsoft.base.serializing.StiSerializedObject
      extended by com.stimulsoft.base.services.StiService
          extended by com.stimulsoft.report.StiBase
              extended by com.stimulsoft.report.components.StiComponent
                  extended by com.stimulsoft.report.components.complexcomponents.StiContainer
                      extended by com.stimulsoft.report.dialogs.StiReportControl
                          extended by com.stimulsoft.report.dialogs.StiComboBoxControl
All Implemented Interfaces:
IStiAppExpressionCollection, IStiJsonReportObject, IStiForceSerializable, IStiSerializable, IStiSerializableRef, IStiSerializableToAttributes, IStiName, IStiBorder, IStiBreakable, IStiBrush, IStiCanGrow, IStiCanShrink, IStiComponentGuid, IStiConditions, IStiGrowToHeight, IStiInteraction, IStiPrintOn, IStiSelect, IStiShift, IStiUnitConvert, IStiReportControl, IStiReportProperty, IStiIgnoryStyle, IStiInherited, IStiStateSaveRestore, java.lang.Cloneable

public class StiComboBoxControl
extends StiReportControl

Represents a Windows combo box control.


Field Summary
 
Fields inherited from class com.stimulsoft.report.components.complexcomponents.StiContainer
border, brush, collapsingIndex, components, ParentComponentIsBand, ParentComponentIsCrossBand
 
Fields inherited from class com.stimulsoft.report.components.StiComponent
canGrow, canShrink, componentPlacement, conditions, currentPointer, expressions, interaction, isRendered, page, parent, parentBookmark, parentPointer, top, width
 
Fields inherited from interface com.stimulsoft.base.serializing.interfaceobject.IStiSerializableRef
REFERENCE_EMPTY, REFERENCE_REPORT
 
Constructor Summary
StiComboBoxControl()
          Creates a new StiComboBoxControl.
StiComboBoxControl(StiRectangle rect)
          Creates a new StiComboBoxControl.
 
Method Summary
 StiEvent GetDefaultEvent()
          Gets default event for this report control.
 int getDropDownWidth()
          Gets or sets the width of the of the drop-down portion.
 StiEventsCollection getEvents()
          Return events collection of this component;
 double getHeight()
          Gets or sets the height of the control.
 int getItemHeight()
          Gets or sets the height of an item.
 java.util.ArrayList getItems()
          Gets an object representing the collection of the items.
 java.lang.String getItemsBinding()
          Gets the data bindings for the items.
 java.lang.String getLocalizedName()
          Gets a localized component name.
 int getMaxDropDownItems()
          Gets or sets the maximum number.
 int getMaxLength()
          Gets or sets the maximum number of characters allowed.
 int getSelectedIndex()
          Gets or sets the index specifying the currently selected item.
 StiSelectedIndexChangedEvent getSelectedIndexChangedEvent()
          Gets or sets a script of the event SelectedIndexChanged.
 java.lang.Object getSelectedItem()
          Gets or sets currently selected item.
 java.lang.String getSelectedItemBinding()
          Gets the data bindings for the selected item.
 java.lang.Object getSelectedValue()
          Gets or sets the value of the member property specified by the ValueMember property.
 java.lang.String getSelectedValueBinding()
          Gets the data bindings for the selected value.
 boolean getSorted()
          Gets or sets a value indicating whether the items are sorted.
 java.lang.String getText()
          Gets or sets the text associated with this control.
 java.lang.String getTextBinding()
          Gets the data bindings for the text.
 int getToolboxPosition()
          Gets value to sort a position in the toolbox.
 void LoadFromJsonObject(JSONObject jObject)
           
 JSONObject SaveToJsonObject(StiJsonSaveMode mode)
           
 void setDropDownWidth(int value)
           
 void setHeight(double value)
           
 void setItemHeight(int value)
           
 void setItems(java.util.ArrayList value)
           
 void setItemsBinding(java.lang.String value)
           
 void setMaxDropDownItems(int value)
           
 void setMaxLength(int value)
           
 void setSelectedIndex(int value)
           
 void setSelectedIndexChangedEvent(StiSelectedIndexChangedEvent value)
           
 void setSelectedItem(java.lang.Object value)
           
 void setSelectedItemBinding(java.lang.String value)
           
 void setSelectedValue(java.lang.Object value)
           
 void setSelectedValueBinding(java.lang.String value)
           
 void setSorted(boolean value)
           
 void setText(java.lang.String value)
           
 void setTextBinding(java.lang.String value)
           
 
Methods inherited from class com.stimulsoft.report.dialogs.StiReportControl
canContainIn, clone, convert, getAfterPrintEvent, getBackColor, getBeforePrintEvent, getBookmark, getBorder, getBrush, getCanGrow, getCanShrink, getClickEvent, getComponentStyle, getConditions, getControlWpf, getDefaultClientRectangle, getDockStyle, getDoubleClickEvent, getEnabled, getEnterEvent, getFont, getForeColor, getgetBookmarkEvent, getgetDrillDownReportEvent, getgetHyperlinkEvent, getgetTagEvent, getgetToolTipEvent, getGrowToHeight, getHyperlink, getInteraction, getIsReportContainer, getLeaveEvent, getLeft, getLocalizedCategory, getLocation, getMaxSize, getMinSize, getMouseDownEvent, getMouseEnterEvent, getMouseLeaveEvent, getMouseMoveEvent, getMouseUpEvent, getPrintable, getPrintOn, getServiceCategory, getShiftMode, getSize, getTag, getTagValueBinding, getToolTip, getTop, getUseParentStyles, getVisible, getWidth, InvokeEnter, InvokeLeave, InvokeMouseDown, InvokeMouseMove, InvokeMouseUp, packService, setAfterPrintEvent, setBackColor, setBeforePrintEvent, setBookmark, setBorder, setBrush, setCanGrow, setCanShrink, setClickEvent, setComponentStyle, setConditions, setControlWpf, setDockStyle, setDoubleClickEvent, setEnabled, setEnterEvent, setFont, setForeColor, setgetBookmarkEvent, setgetDrillDownReportEvent, setgetHyperlinkEvent, setgetTagEvent, setgetToolTipEvent, setGrowToHeight, setHyperlink, setInteraction, setLeaveEvent, setLeft, setLocation, setMaxSize, setMinSize, setMouseDownEvent, setMouseEnterEvent, setMouseLeaveEvent, setMouseMoveEvent, setMouseUpEvent, setPrintable, setPrintOn, setShiftMode, setSize, setTag, setTagValueBinding, setToolTip, setTop, setUseParentStyles, setVisible, setWidth
 
Methods inherited from class com.stimulsoft.report.components.complexcomponents.StiContainer
AlignTo, AlignToGrid, AlignToGrid, Break, BringToFront, ChangePosition, checkLargeHeight, ClearAllStates, clone, clone, ContainerToPage, ContainerToPage, Convert, ConvertSelectedToPage, ConvertToPage, Correct, Correct, correct2, getActualSize, getActualSize, GetBorder, GetBrush, getCanBreak, getClientRectangle, getCollapsedValue, getCollapsingIndex, getCollapsingTreePath, getComponentPlacementForChildren, getComponents, GetComponents, GetComponentsCount, GetComponentsList, getComponentsSelectedRectangle, getComponentType, GetConditions, getContainerInfoV1, getContainerInfoV2, GetContainerInRect, GetContainerInRect2, GetDockableComponent, GetDockStyle, GetFirstSelectableCompanent, GetFont, getGuid, getHasSelected, GetHorAlignment, GetIncorrect, GetIncorrect, getIncorrect2, GetMaxSize, getName, getPriority, GetRectangle, GetSelectedComponents, GetSelectedComponentsWithChilds, GetSelectedRectangleWithChilds, getTagValue, GetTextBrush, GetTextFormat, GetTextHorAlignment, GetVertAlignment, GetWordWrap, GrowFont, InvertComponentsPosition, isForceSerializeToReport, MakeHorizontalSpacingEqual, MakeSameHeight, MakeSameSize, MakeSameWidth, MakeVerticalSpacingEqual, MoveBackward, MoveComponentsToPage, MoveForward, Normalize, OffsetLocation, PageToContainer, PageToContainer, RemoveAllSelected, ResetSelection, RestoreState, saveState, SelectAll, SelectComponent, SelectInRectangle, SelectInRectangleCheckBands, SendToBack, setBlocked, SetBorder, SetBrush, setCanBreak, SetCenterHorizontally, SetCenterVertically, setCollapsedValue, setCollapsingIndex, setCollapsingTreePath, setComponents, setComponentsFont, setComponentsFont, setComponentsWithSetParent, setComponentsWordWrap, SetConditions, setContainerInfoV2, SetDockStyle, setForceSerializeToReport, SetHorAlign, SetLink, setParentComponentIsBand, setParentComponentIsCrossBand, SetParentStylesToChilds, SetParentStylesToChilds, SetTextBrush, SetTextFormat, SetTextHorAlign, SetVertAlign, ShrinkFont, SortByPriority
 
Methods inherited from class com.stimulsoft.report.components.StiComponent
addSize, applyConditions, CheckForParentComponent, clearAllStates, ClearContents, ComponentToPage, ComponentToPage, ComponentToPage, convert, decrementTop, doBookmark, DoBookmark, DockToContainer, DockToContainer, doGetBookmark, DoOffsetRect, doPointer, fillComponentPlacement, getAlias, getAllowDelete, getAnchor, getBookmarkValue, getBottom, getComponentPlacement, getContainer, getCurrentBookmark, getDataBand, GetDataBand, getDelimiterComponent, getDisplayRectangle, getDisplayRectangle1, getDockable, getDockRegion, getDockRegion, getDrillDownParameters, getExpressions, getForceRedrawAll, getGroupHeaderBand, GetGroupHeaderBand, getHighlightState, getHyperlinkValue, getIgnoreNamingRule, getImage, getImage, getInherited, getInvalidateOnMouseOver, getIsCross, getIsDesigning, getIsEnabled, getIsEventEmpty, getIsExporting, getIsgetTagHandlerEmpty, getIsPrinting, getIsRendered, getIsSelected, getLevel, getLinked, getLocked, getMeasureGraphics, getPage, getPaintRectangle, getPaintRectangle, getPaintRectangle, getParent, getParentBookmark, getPlaceOnToolbox, getPointer, getPointerValue, getQuickInfo, getRenderedCount, getReport, getRestrictions, getRight, getSelectionTick, getSelectRectangle, getServiceType, getShift, getShowQuickButtons, getTagStrValue, getToolTipValue, incrementtTop, InternalRender, invert, InvokeAfterPrint, InvokeBeforePrint, InvokeBeginRender, InvokeClick, InvokeDoubleClick, InvokeEndRender, invokeEvents, InvokegetBookmark, InvokegetDrillDownReport, InvokegetHyperlink, InvokegetTag, InvokegetToolTip, InvokeMouseEnter, InvokeMouseLeave, InvokePainted, invokePainting, isAutomaticDock, isDesigning, isExportAsImage, IsParentSelect, NewGuid, OnRemoveComponent, PageToComponent, PageToComponent, paint, PlacedOnColumnBand, Prepare, render, reset, Reset, restoreState, select, setAlias, setAnchor, setBookmarkValue, setClientRectangle, setComponentPlacement, setCurrentBookmark, setDelimiterComponent, setDirectDisplayRectangle, setDisplayRectangle, setDockable, setDrillDownParameters, setExpressions, setGuid, setHeightProp, setHighlightState, setHyperlinkValue, setIgnoreNamingRule, setInherited, setIsRendered, setIsSelected, setLeftProp, setLinked, setLocked, setName, setPage, setPaintRectangle, setParent, setParentBookmark, setPlaceOnToolbox, setPointer, setPointerValue, setRenderedCount, setReport, SetReportVariables, setRestrictions, setSelectionTick, setSelectRectangle, setShift, setShowQuickButtons, setStates, setTagValue, setToolTipValue, setTopProp, setWidthProp, toString, UnPrepare
 
Methods inherited from class com.stimulsoft.report.StiBase
getServiceName
 
Methods inherited from class com.stimulsoft.base.services.StiService
getProperties, getServiceEnabled, getServiceInfo, isPropertyPresent, MemberwiseClone, properties, setProperties, setServiceEnabled
 
Methods inherited from class com.stimulsoft.base.serializing.StiSerializedObject
cleanReference, getReference, setReference
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface com.stimulsoft.base.serializing.interfaceobject.IStiSerializableRef
getReference, setReference
 

Constructor Detail

StiComboBoxControl

public StiComboBoxControl()
Creates a new StiComboBoxControl.


StiComboBoxControl

public StiComboBoxControl(StiRectangle rect)
Creates a new StiComboBoxControl.

Parameters:
rect - The rectangle describes sizes and position of the control.
Method Detail

getEvents

public StiEventsCollection getEvents()
Return events collection of this component;

Overrides:
getEvents in class StiReportControl

getToolboxPosition

public int getToolboxPosition()
Gets value to sort a position in the toolbox.

Overrides:
getToolboxPosition in class StiReportControl

getLocalizedName

public java.lang.String getLocalizedName()
Gets a localized component name.

Overrides:
getLocalizedName in class StiReportControl

getSelectedIndexChangedEvent

public StiSelectedIndexChangedEvent getSelectedIndexChangedEvent()
Gets or sets a script of the event SelectedIndexChanged.


setSelectedIndexChangedEvent

public void setSelectedIndexChangedEvent(StiSelectedIndexChangedEvent value)

getTextBinding

public final java.lang.String getTextBinding()
Gets the data bindings for the text.


setTextBinding

public final void setTextBinding(java.lang.String value)

getSelectedItemBinding

public final java.lang.String getSelectedItemBinding()
Gets the data bindings for the selected item.


setSelectedItemBinding

public final void setSelectedItemBinding(java.lang.String value)

getSelectedValueBinding

public final java.lang.String getSelectedValueBinding()
Gets the data bindings for the selected value.


setSelectedValueBinding

public final void setSelectedValueBinding(java.lang.String value)

getItemsBinding

public final java.lang.String getItemsBinding()
Gets the data bindings for the items.


setItemsBinding

public final void setItemsBinding(java.lang.String value)

getText

public final java.lang.String getText()
Gets or sets the text associated with this control.


setText

public final void setText(java.lang.String value)

getHeight

public double getHeight()
Gets or sets the height of the control.

Overrides:
getHeight in class StiReportControl

setHeight

public void setHeight(double value)
Overrides:
setHeight in class StiReportControl

getItems

public java.util.ArrayList getItems()
Gets an object representing the collection of the items.


setItems

public void setItems(java.util.ArrayList value)

getItemHeight

public int getItemHeight()
Gets or sets the height of an item.


setItemHeight

public void setItemHeight(int value)

getSelectedIndex

public int getSelectedIndex()
Gets or sets the index specifying the currently selected item.


setSelectedIndex

public void setSelectedIndex(int value)

getSelectedItem

public java.lang.Object getSelectedItem()
Gets or sets currently selected item.


setSelectedItem

public void setSelectedItem(java.lang.Object value)

getSelectedValue

public java.lang.Object getSelectedValue()
Gets or sets the value of the member property specified by the ValueMember property.


setSelectedValue

public void setSelectedValue(java.lang.Object value)

getMaxLength

public int getMaxLength()
Gets or sets the maximum number of characters allowed.


setMaxLength

public void setMaxLength(int value)

getMaxDropDownItems

public int getMaxDropDownItems()
Gets or sets the maximum number.


setMaxDropDownItems

public void setMaxDropDownItems(int value)

getDropDownWidth

public int getDropDownWidth()
Gets or sets the width of the of the drop-down portion.


setDropDownWidth

public void setDropDownWidth(int value)

getSorted

public boolean getSorted()
Gets or sets a value indicating whether the items are sorted.


setSorted

public void setSorted(boolean value)

GetDefaultEvent

public StiEvent GetDefaultEvent()
Gets default event for this report control.

Specified by:
GetDefaultEvent in interface IStiReportControl
Overrides:
GetDefaultEvent in class StiReportControl
Returns:
Default event.

SaveToJsonObject

public JSONObject SaveToJsonObject(StiJsonSaveMode mode)
                            throws JSONException
Specified by:
SaveToJsonObject in interface IStiJsonReportObject
Overrides:
SaveToJsonObject in class StiReportControl
Throws:
JSONException

LoadFromJsonObject

public void LoadFromJsonObject(JSONObject jObject)
                        throws JSONException
Specified by:
LoadFromJsonObject in interface IStiJsonReportObject
Overrides:
LoadFromJsonObject in class StiReportControl
Throws:
JSONException