public class ReportFontBoldAction extends AbstractStyleAction implements ToggleButtonUpdateAction
UpdateAction.ComponentRemoveEvent, UpdateAction.UseMenuItem
限定符和类型 | 字段和说明 |
---|---|
protected Style |
style |
CURRENT_LEVEL, TEMPLATE_TREE
构造器和说明 |
---|
ReportFontBoldAction(ElementCasePane t) |
限定符和类型 | 方法和说明 |
---|---|
UIToggleButton |
createToolBarComponent()
Gets component on toolbar.
|
Style |
executeStyle(Style style,
Style defStyle)
根据按钮状态获取格式
|
protected boolean |
isStyle(FRFont frFont) |
protected void |
setSelectedFont(Style style) |
protected void |
setUnselectedFont(Style style) |
void |
updateStyle(Style style)
Update Style.
|
executeActionReturnUndoRecordNeeded, isFontStye, update
createSelectionListener
getEditingComponent, prepare4Undo, setEditingComponent
actionPerformed, actionPerformedUndoable
addPropertyChangeListener, createCheckBoxMenuItem, createMenuItem, createMenuItemEastAttr, 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 Style style
public ReportFontBoldAction(ElementCasePane t)
public Style executeStyle(Style style, Style defStyle)
executeStyle
在接口中 StyleActionInterface
executeStyle
在类中 AbstractStyleAction
style
- defStyle
- protected void setSelectedFont(Style style)
protected void setUnselectedFont(Style style)
public void updateStyle(Style style)
updateStyle
在接口中 StyleActionInterface
updateStyle
在类中 AbstractStyleAction
style
- the updated style.protected boolean isStyle(FRFont frFont)
public UIToggleButton createToolBarComponent()
createToolBarComponent
在接口中 ToggleButtonUpdateAction
createToolBarComponent
在类中 UpdateAction