public abstract class TemplateComponentAction<T extends TargetComponent> extends UndoableAction implements TemplateComponentActionInterface<T>
UpdateAction.ComponentRemoveEvent, UpdateAction.UseMenuItem
CURRENT_LEVEL, TEMPLATE_TREE
限定符 | 构造器和说明 |
---|---|
protected |
TemplateComponentAction() |
protected |
TemplateComponentAction(T t) |
限定符和类型 | 方法和说明 |
---|---|
T |
getEditingComponent() |
void |
prepare4Undo() |
protected void |
setEditingComponent(T t) |
void |
update()
update enable
TODO ALEX_SEP 这个方法的名字只是简单的叫update,太不明了了
|
actionPerformed, actionPerformedUndoable, executeActionReturnUndoRecordNeeded
addPropertyChangeListener, createCheckBoxMenuItem, createMenuItem, createMenuItemEastAttr, createToolBarComponent, createUseMenuItem, equals, generateAndSetSearchText, getAccelerator, getComponentTexts, getMnemonic, getName, getSearchText, getSmallIcon, getToolTipText, getValue, hashCode, intoJPopupMenu, intoJToolBar, isEnabled, putValue, removePropertyChangeListener, setAccelerator, setEnabled, setMnemonic, setName, setSearchText, setSmallIcon, setSmallIcon
asToolBarDef, currentAPILevel, getMenuKeySet, mark4Provider, notifyFromAuhtorityChange, setMenuKeySet
protected TemplateComponentAction()
protected TemplateComponentAction(T t)
protected void setEditingComponent(T t)
public T getEditingComponent()
getEditingComponent
在接口中 TemplateComponentActionInterface<T extends TargetComponent>
public void prepare4Undo()
prepare4Undo
在类中 UndoableAction
public void update()
update
在类中 UpdateAction