Class StiListBoxControl

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 StiListBoxControl extends StiReportControl
Represents a Windows list box control.
  • Constructor Details

    • StiListBoxControl

      public StiListBoxControl()
      Creates a new StiListBoxControl.
    • StiListBoxControl

      public StiListBoxControl(StiRectangle rect)
      Creates a new StiListBoxControl.
      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)
    • getItemsBinding

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

      public final void setItemsBinding(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)
    • getSelectedIndexBinding

      public final String getSelectedIndexBinding()
      Gets the data bindings for the selected index.
    • setSelectedIndexBinding

      public final void setSelectedIndexBinding(String value)
    • getForeColor

      public StiColor getForeColor()
      Description copied from class: StiReportControl
      Gets or sets the foreground color of the control.
      Overrides:
      getForeColor in class StiReportControl
    • setForeColor

      public void setForeColor(StiColor value)
      Overrides:
      setForeColor in class StiReportControl
    • getItems

      public ArrayList getItems()
      Gets the items of the ListBox.
    • setItems

      public void setItems(ArrayList value)
    • getItemHeight

      public int getItemHeight()
      Gets or sets the height of an item in the ListBox.
    • setItemHeight

      public void setItemHeight(int value)
    • getSelectedIndex

      public int getSelectedIndex()
      Gets or sets the zero-based index of the currently selected item in a ListBox.
    • setSelectedIndex

      public void setSelectedIndex(int value)
    • getSelectedItem

      public Object getSelectedItem()
      Gets or sets the currently selected item in the ListBox.
    • 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)
    • getSorted

      public boolean getSorted()
      Gets or sets a value indicating whether the items in the ListBox are sorted alphabetically.
    • 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.
    • getDefaultClientRectangle

      public StiRectangle getDefaultClientRectangle()
      Gets or sets the default client area of a component.
      Overrides:
      getDefaultClientRectangle in class StiReportControl
    • 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