public class ListSelectorModel<B> extends Object
| Modifier and Type | Field and Description |
|---|---|
protected boolean |
addEnabled |
protected jaxx.runtime.swing.model.GenericListModel<B> |
fromModel |
protected PropertyChangeSupport |
pcs |
static String |
PROPERTY_ADD_ENABLED |
static String |
PROPERTY_REMOVE_ENABLED |
static String |
PROPERTY_SELECTED_VALUES |
static String |
PROPERTY_VALUES |
protected boolean |
removeEnabled |
protected jaxx.runtime.swing.model.GenericListModel<B> |
toModel |
| Modifier | Constructor and Description |
|---|---|
protected |
ListSelectorModel() |
| Modifier and Type | Method and Description |
|---|---|
void |
add() |
void |
addGenericListListener(jaxx.runtime.swing.model.GenericListListener l) |
void |
addPropertyChangeListener(PropertyChangeListener listener) |
void |
addPropertyChangeListener(String propertyName,
PropertyChangeListener listener) |
void |
addValues(Collection<B> values) |
protected void |
fireIndexedPropertyChange(String propertyName,
int index,
Object oldValue,
Object newValue) |
protected void |
firePropertyChange(String propertyName,
Object oldValue,
Object newValue) |
jaxx.runtime.swing.model.GenericListModel<B> |
getFromModel() |
Collection<B> |
getSelectedValues() |
jaxx.runtime.swing.model.GenericListModel<B> |
getToModel() |
Collection<B> |
getValues() |
boolean |
isAddEnabled() |
boolean |
isRemoveEnabled() |
protected void |
moveSelect(jaxx.runtime.swing.model.GenericListModel<B> from,
jaxx.runtime.swing.model.GenericListModel<B> to) |
void |
remove() |
void |
removeGenericListListener(jaxx.runtime.swing.model.GenericListListener l) |
void |
removePropertyChangeListener(PropertyChangeListener listener) |
void |
removePropertyChangeListener(String propertyName,
PropertyChangeListener listener) |
void |
removeValues(Collection<B> values) |
void |
setAddEnabled(boolean addEnabled) |
void |
setRemoveEnabled(boolean removeEnabled) |
void |
setSelectedValues(Collection<B> selectedValues) |
void |
setValues(Collection<B> values) |
protected final PropertyChangeSupport pcs
public static final String PROPERTY_ADD_ENABLED
public static final String PROPERTY_REMOVE_ENABLED
public static final String PROPERTY_SELECTED_VALUES
public static final String PROPERTY_VALUES
protected boolean addEnabled
protected boolean removeEnabled
protected jaxx.runtime.swing.model.GenericListModel<B> fromModel
protected jaxx.runtime.swing.model.GenericListModel<B> toModel
public boolean isAddEnabled()
public void setAddEnabled(boolean addEnabled)
public boolean isRemoveEnabled()
public void setRemoveEnabled(boolean removeEnabled)
public jaxx.runtime.swing.model.GenericListModel<B> getFromModel()
public jaxx.runtime.swing.model.GenericListModel<B> getToModel()
public Collection<B> getValues()
public void setValues(Collection<B> values)
public void addValues(Collection<B> values)
public void removeValues(Collection<B> values)
public Collection<B> getSelectedValues()
public void setSelectedValues(Collection<B> selectedValues)
public void add()
public void remove()
protected void moveSelect(jaxx.runtime.swing.model.GenericListModel<B> from, jaxx.runtime.swing.model.GenericListModel<B> to)
public void addGenericListListener(jaxx.runtime.swing.model.GenericListListener l)
public void removeGenericListListener(jaxx.runtime.swing.model.GenericListListener l)
public void addPropertyChangeListener(PropertyChangeListener listener)
public void addPropertyChangeListener(String propertyName, PropertyChangeListener listener)
public void removePropertyChangeListener(PropertyChangeListener listener)
public void removePropertyChangeListener(String propertyName, PropertyChangeListener listener)
protected void firePropertyChange(String propertyName, Object oldValue, Object newValue)
Copyright © 2008–2014 CodeLutin. All rights reserved.