public abstract class OptionalChooserComponent<T> extends java.lang.Object implements CheckBoxListListener, ComponentWithEmptyText
| Constructor and Description |
|---|
OptionalChooserComponent(java.util.List<Pair<T,java.lang.Boolean>> list) |
| Modifier and Type | Method and Description |
|---|---|
void |
apply() |
void |
checkBoxSelectionChanged(int index,
boolean value) |
protected abstract javax.swing.JCheckBox |
createCheckBox(T value,
boolean checked) |
javax.swing.JPanel |
getContentPane() |
java.util.ArrayList<Pair<T,java.lang.Boolean>> |
getCurrentModel() |
StatusText |
getEmptyText() |
CheckBoxList |
getList() |
int |
getSelectedIndex() |
boolean |
isModified() |
void |
refresh() |
boolean |
removeAt(int index) |
boolean |
removeSelected() |
void |
reset() |
void |
setInitialList(java.util.List<Pair<T,java.lang.Boolean>> list) |
void |
setSelectedIndex(int index) |
public StatusText getEmptyText()
getEmptyText in interface ComponentWithEmptyTextpublic javax.swing.JPanel getContentPane()
public void checkBoxSelectionChanged(int index,
boolean value)
checkBoxSelectionChanged in interface CheckBoxListListenerpublic void reset()
protected abstract javax.swing.JCheckBox createCheckBox(T value, boolean checked)
public int getSelectedIndex()
public void setSelectedIndex(int index)
public boolean removeAt(int index)
public boolean removeSelected()
public boolean isModified()
public void apply()
public void refresh()
public CheckBoxList getList()