jaxx.runtime.swing
Class ListSelectorModel<B>
java.lang.Object
jaxx.runtime.swing.ListSelectorModel<B>
public class ListSelectorModel<B>
- extends Object
- Author:
- sletellier
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
pcs
protected final PropertyChangeSupport pcs
PROPERTY_ADD_ENABLED
public static final String PROPERTY_ADD_ENABLED
- See Also:
- Constant Field Values
PROPERTY_REMOVE_ENABLED
public static final String PROPERTY_REMOVE_ENABLED
- See Also:
- Constant Field Values
PROPERTY_SELECTED_VALUES
public static final String PROPERTY_SELECTED_VALUES
- See Also:
- Constant Field Values
PROPERTY_VALUES
public static final String PROPERTY_VALUES
- See Also:
- Constant Field Values
addEnabled
protected boolean addEnabled
removeEnabled
protected boolean removeEnabled
fromModel
protected GenericListModel<B> fromModel
toModel
protected GenericListModel<B> toModel
ListSelectorModel
protected ListSelectorModel()
isAddEnabled
public boolean isAddEnabled()
setAddEnabled
public void setAddEnabled(boolean addEnabled)
isRemoveEnabled
public boolean isRemoveEnabled()
setRemoveEnabled
public void setRemoveEnabled(boolean removeEnabled)
getFromModel
public GenericListModel<B> getFromModel()
getToModel
public GenericListModel<B> getToModel()
getValues
public Collection<B> getValues()
setValues
public void setValues(Collection<B> values)
addValues
public void addValues(Collection<B> values)
removeValues
public void removeValues(Collection<B> values)
getSelectedValues
public Collection<B> getSelectedValues()
setSelectedValues
public void setSelectedValues(Collection<B> selectedValues)
add
public void add()
remove
public void remove()
moveSelect
protected void moveSelect(GenericListModel<B> from,
GenericListModel<B> to)
addGenericListListener
public void addGenericListListener(GenericListListener l)
removeGenericListListener
public void removeGenericListListener(GenericListListener l)
addPropertyChangeListener
public void addPropertyChangeListener(PropertyChangeListener listener)
addPropertyChangeListener
public void addPropertyChangeListener(String propertyName,
PropertyChangeListener listener)
removePropertyChangeListener
public void removePropertyChangeListener(PropertyChangeListener listener)
removePropertyChangeListener
public void removePropertyChangeListener(String propertyName,
PropertyChangeListener listener)
firePropertyChange
protected void firePropertyChange(String propertyName,
Object oldValue,
Object newValue)
fireIndexedPropertyChange
protected void fireIndexedPropertyChange(String propertyName,
int index,
Object oldValue,
Object newValue)
Copyright © 2008-2012 CodeLutin. All Rights Reserved.