Uses of Interface
net.sf.jguiraffe.gui.builder.components.model.ListModel
-
Packages that use ListModel Package Description net.sf.jguiraffe.gui.builder.components.model In this package interfaces for specialized component handlers can be found.net.sf.jguiraffe.gui.builder.components.tags A package with tag handler classes for creating GUI components. -
-
Uses of ListModel in net.sf.jguiraffe.gui.builder.components.model
Methods in net.sf.jguiraffe.gui.builder.components.model that return ListModel Modifier and Type Method Description ListModel
ListComponentHandler. getListModel()
Returns theListModel
for this component. -
Uses of ListModel in net.sf.jguiraffe.gui.builder.components.tags
Classes in net.sf.jguiraffe.gui.builder.components.tags that implement ListModel Modifier and Type Class Description protected static class
TextListModelTag.TextListModel
A simple implementation of theListModel
interface that maintains a list of display texts and a list with the corresponding values.Methods in net.sf.jguiraffe.gui.builder.components.tags that return ListModel Modifier and Type Method Description ListModel
ComboBoxTag. getListModel()
Returns the list model to be used by this combo box.ListModel
ListBoxTag. getListModel()
Returns the list model to be used by this combo box.ListModel
ListModelSupport. getListModel()
Returns the currentListModel
.Methods in net.sf.jguiraffe.gui.builder.components.tags with parameters of type ListModel Modifier and Type Method Description static EditableComboBoxModel
ListModelUtils. fetchEditableComboBoxModel(ListModel model)
Obtains aEditableComboBoxModel
object from the passed inListModel
.static int
ListModelUtils. getDisplayIndex(ListModel listModel, Object display)
Returns the index of the specified display object in the specified list model.static int
ListModelUtils. getIndex(ListModel listModel, Object value)
Returns the index of the given value object in the specified list model.static int[]
ListModelUtils. getIndices(ListModel listModel, Object[] values)
Returns the indices of all given value objects in the specified list model.static Object
ListModelUtils. getValue(ListModel listModel, int index)
Returns the value object with the given index from the specified list model.static Object[]
ListModelUtils. getValues(ListModel listModel, int[] indices)
Returns the values from the specified list model for the given indices.void
ComboBoxTag. setListModel(ListModel model)
Sets the list model for this combo box.void
ListBoxTag. setListModel(ListModel model)
Sets the list model for this combo box.void
ListModelSupport. setListModel(ListModel model)
Sets theListModel
.
-