|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectinfo.joseluismartin.gui.bind.AbstractControlAccessor
info.joseluismartin.gui.bind.ListAccessor
public class ListAccessor
ControlAccessor for JList
ControlAccessor
Constructor Summary | |
---|---|
ListAccessor(Object list)
|
Method Summary | |
---|---|
void |
contentsChanged(ListDataEvent e)
|
JList |
getControl()
|
Collection<?> |
getControlValue()
Gets the control value |
void |
intervalAdded(ListDataEvent e)
|
void |
intervalRemoved(ListDataEvent e)
|
void |
propertyChange(PropertyChangeEvent evt)
|
void |
setControlValue(Object value)
Sets the control value |
Methods inherited from class info.joseluismartin.gui.bind.AbstractControlAccessor |
---|
addControlChangeListener, convertIfNecessary, fireControlChange, isEnabled, isTextControl, removeControlChangeListener, setControl, setEnabled |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ListAccessor(Object list)
Method Detail |
---|
public void contentsChanged(ListDataEvent e)
contentsChanged
in interface ListDataListener
public void intervalAdded(ListDataEvent e)
intervalAdded
in interface ListDataListener
public void intervalRemoved(ListDataEvent e)
intervalRemoved
in interface ListDataListener
public Collection<?> getControlValue()
getControlValue
in interface ControlAccessor
public void setControlValue(Object value)
setControlValue
in interface ControlAccessor
value
- the value to setpublic JList getControl()
getControl
in class AbstractControlAccessor
public void propertyChange(PropertyChangeEvent evt)
propertyChange
in interface PropertyChangeListener
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |