public abstract class AbstractStyleAction extends ElementCaseAction implements StyleActionInterface
UpdateAction.ComponentRemoveEvent, UpdateAction.UseMenuItem
CURRENT_LEVEL, TEMPLATE_TREE
限定符 | 构造器和说明 |
---|---|
protected |
AbstractStyleAction(ElementCasePane t) |
限定符和类型 | 方法和说明 |
---|---|
boolean |
executeActionReturnUndoRecordNeeded() |
abstract Style |
executeStyle(Style style,
Style defStyle) |
boolean |
isFontStye() |
void |
update()
update enable
TODO ALEX_SEP 这个方法的名字只是简单的叫update,太不明了了
|
void |
updateStyle(Style style)
Update Style.
|
createSelectionListener
getEditingComponent, prepare4Undo, setEditingComponent
actionPerformed, actionPerformedUndoable
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 AbstractStyleAction(ElementCasePane t)
public abstract Style executeStyle(Style style, Style defStyle)
executeStyle
在接口中 StyleActionInterface
public boolean executeActionReturnUndoRecordNeeded()
public void updateStyle(Style style)
updateStyle
在接口中 StyleActionInterface
style
- the updated style.public boolean isFontStye()
public void update()
TemplateComponentAction
update
在类中 TemplateComponentAction<ElementCasePane>