public class CheckBoxListModelEditor<T>
extends java.lang.Object
Constructor and Description |
---|
CheckBoxListModelEditor(Function<? super T,java.lang.String> toNameConverter,
java.lang.String emptyText) |
Modifier and Type | Method and Description |
---|---|
java.util.List<Pair<T,java.lang.Boolean>> |
apply() |
CheckBoxListModelEditor<T> |
copyAction(Consumer<? super T> consumer) |
javax.swing.JComponent |
createComponent() |
CheckBoxListModelEditor<T> |
editAction(Function<? super T,? extends T> consumer) |
java.util.List<T> |
getItems() |
CheckBoxList<T> |
getList() |
javax.swing.DefaultListModel |
getModel() |
ToolbarDecorator |
getToolbar() |
boolean |
isModified(java.util.List<? extends Pair<T,java.lang.Boolean>> oldItems) |
void |
reset(java.util.List<? extends Pair<T,java.lang.Boolean>> items) |
void |
selectItemByName(java.lang.String name) |
public CheckBoxListModelEditor<T> editAction(Function<? super T,? extends T> consumer)
public CheckBoxListModelEditor<T> copyAction(Consumer<? super T> consumer)
public ToolbarDecorator getToolbar()
public javax.swing.JComponent createComponent()
public javax.swing.DefaultListModel getModel()
public void selectItemByName(java.lang.String name)
public CheckBoxList<T> getList()
public java.util.List<T> getItems()