com.fruitioninc.jwc
Interface ListBoxModel

All Superinterfaces:
Model
All Known Implementing Classes:
AbstractListBoxModel

public interface ListBoxModel
extends Model

Responsible for the state of a ListBox component.

See Also:
ListBox

Method Summary
 java.lang.Object _getElementAt(int index)
          Returns the index'th element in this list box.
 int _getSize()
          Returns the number of elements in this list box.
 void _setElementAt(int index, java.lang.Object value)
          Sets the index'th element in this list box.
 int[] getSelectedIndices()
          Returns the indices of the elements are are selected.
 void setSelectedIndices(int[] indices)
          Sets the indices of the elements are are selected.
 
Methods inherited from interface com.fruitioninc.jwc.Model
_getStatefull, _setStatefull
 

Method Detail

_getElementAt

public java.lang.Object _getElementAt(int index)
Returns the index'th element in this list box.


_setElementAt

public void _setElementAt(int index,
                          java.lang.Object value)
Sets the index'th element in this list box.


_getSize

public int _getSize()
Returns the number of elements in this list box.


getSelectedIndices

public int[] getSelectedIndices()
Returns the indices of the elements are are selected.


setSelectedIndices

public void setSelectedIndices(int[] indices)
Sets the indices of the elements are are selected.