|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.sf.jguiraffe.gui.platform.swing.builder.components.SwingComponentHandler
net.sf.jguiraffe.gui.platform.swing.builder.components.SwingListModelHandler
net.sf.jguiraffe.gui.platform.swing.builder.components.SwingListBoxHandler
net.sf.jguiraffe.gui.platform.swing.builder.components.SwingMultiListBoxHandler
class SwingMultiListBoxHandler
A Swing specific component handler implementation that deals with multi selection lists.
A multi selection list can have multiple items selected at the same time. So the component's data is an array of selected objects.
| Constructor Summary | |
|---|---|
SwingMultiListBoxHandler(javax.swing.JList list,
ListModel listModel)
Creates a new instance of SwingMultiListBoxHandler. |
|
| Method Summary | |
|---|---|
java.lang.Object |
getData()
Returns this component's data. |
java.lang.Class |
getType()
Returns this component's data type. |
void |
setData(java.lang.Object data)
Sets the data of this component. |
| Methods inherited from class net.sf.jguiraffe.gui.platform.swing.builder.components.SwingListBoxHandler |
|---|
getList, getOuterComponent, initComponentModel, registerChangeListener, unregisterChangeListener, valueChanged |
| Methods inherited from class net.sf.jguiraffe.gui.platform.swing.builder.components.SwingListModelHandler |
|---|
addItem, createSwingListModel, getListModel, removeItem |
| Methods inherited from class net.sf.jguiraffe.gui.platform.swing.builder.components.SwingComponentHandler |
|---|
addActionListener, addChangeListener, addFocusListener, fireChangeEvent, getComponent, getJComponent, isEnabled, removeActionListener, removeChangeListener, removeFocusListener, setEnabled |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface net.sf.jguiraffe.gui.forms.ComponentHandler |
|---|
getComponent, isEnabled, setEnabled |
| Constructor Detail |
|---|
public SwingMultiListBoxHandler(javax.swing.JList list,
ListModel listModel)
SwingMultiListBoxHandler.
list - the list componentlistModel - the model| Method Detail |
|---|
public java.lang.Object getData()
getData in interface ComponentHandlergetData in class SwingListBoxHandlerpublic void setData(java.lang.Object data)
setData in interface ComponentHandlersetData in class SwingListBoxHandlerdata - the new data (which should be an array with items of the list
model)public java.lang.Class getType()
getType in interface ComponentHandlergetType in class SwingListModelHandler
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||