public abstract static class ReorderableListController.AddActionDescriptionBase<V> extends ReorderableListController.CustomActionDescription<V>
ReorderableListController.CustomActionDescription.BaseAction<V>
Constructor and Description |
---|
AddActionDescriptionBase(java.lang.String actionDescription,
Factory<? extends V> addHandler,
boolean createShortcut) |
Modifier and Type | Method and Description |
---|---|
protected abstract V |
addInternal(V v) |
ReorderableListController.CustomActionDescription.BaseAction |
createAction(javax.swing.JComponent component) |
javax.swing.Icon |
getActionIcon() |
java.lang.String |
getActionName() |
void |
setIcon(javax.swing.Icon icon) |
addPostHandler, runPostHandlers, setShowText
public ReorderableListController.CustomActionDescription.BaseAction createAction(javax.swing.JComponent component)
createAction
in class ReorderableListController.CustomActionDescription<V>
public javax.swing.Icon getActionIcon()
getActionIcon
in class ReorderableListController.CustomActionDescription<V>
public java.lang.String getActionName()
getActionName
in class ReorderableListController.CustomActionDescription<V>
public void setIcon(javax.swing.Icon icon)