Class 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, Cloneable

public class StiComboBoxControl extends StiReportControl
Represents a Windows combo box control.
  • Constructor Details

    • 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 Details

    • 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 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 String getTextBinding()
      Gets the data bindings for the text.
    • setTextBinding

      public final void setTextBinding(String value)
    • getSelectedItemBinding

      public final String getSelectedItemBinding()
      Gets the data bindings for the selected item.
    • setSelectedItemBinding

      public final void setSelectedItemBinding(String value)
    • getSelectedValueBinding

      public final String getSelectedValueBinding()
      Gets the data bindings for the selected value.
    • setSelectedValueBinding

      public final void setSelectedValueBinding(String value)
    • getItemsBinding

      public final String getItemsBinding()
      Gets the data bindings for the items.
    • setItemsBinding

      public final void setItemsBinding(String value)
    • getText

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

      public final void setText(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 ArrayList getItems()
      Gets an object representing the collection of the items.
    • setItems

      public void setItems(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 Object getSelectedItem()
      Gets or sets currently selected item.
    • setSelectedItem

      public void setSelectedItem(Object value)
    • getSelectedValue

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

      public void setSelectedValue(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