@OpenApiAll public class SetFontSizeAction extends SelectItemAction
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
FONT_SIZE
The value of font size property key.
|
ADDITIONAL_PROPERTY_MAX_WIDTHACTIONS_PROPERTY, ADDED_ACTION_PROPERTY, CHANGE_ACTIONS_PROPERTY, MAX_CATEGORY_ACTIONS, REMOVE_IF_EMPTY, REMOVED_ACTION_PROPERTY, USE_AS_SEPARATOR_IN_UIACTION_SHORTCUTS, BELONGS_TO_SEPARATE_GROUP_IN_UI, DO_NO_SHOW_ACTION_NAME_IN_UI, GENERATED_ID_PREFIX, GROUP, ID, LARGE_ICON, MENU_SHORTCUT_MASK, TINY_ICON| Constructor and Description |
|---|
SetFontSizeAction()
Creates action and fills it predefined font size selection list.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.Integer |
getFontSize()
Returns selected font size value.
|
void |
setFontSize(java.lang.Integer newFontSize)
Sets new font size value.
|
void |
setValue(java.lang.Object val)
Sets new font size value.
|
accept, clone, createAction, getItems, getValue, getValueName, isChangeable, isDisplayAsComboBox, isShowActionName, propertyChange, setChangeable, setDisplayAsComboBox, setItems, setList, setShowActionName, updateStateactionPerformed, addAction, addAction, addActions, breakActions, breakActions, breakActions, breakeActions, forEach, forEachIncludingSelf, getAction, getActions, getActionsRecursively, getCategories, isDisplayHeader, isEmpty, isNested, isUseActionForDisable, removeAction, removeIf, setActions, setDisplayHeader, setNested, setUseActionForDisable, shallowClone, size, sortaddPropertyChangeListener, addShortcut, addShotcut, addWeakPropertyChangeListener, compareTo, createMenuItem, equals, firePropertyChange, getCommandKey, getDescription, getGroup, getIcon, getID, getLargeIcon, getLargeOrSmallIcon, getMenuShortcutMaskAsString, getMnemonicKey, getName, getPropertyChangeListeners, getShortcuts, getSmallIcon, getSmallOrLargeIcon, getTinyIcon, hashCode, hasMenuShortcutMask, isIDGenerated, removePropertyChangeListener, removeShortcut, removeWeakPropertyChangeListener, setDescription, setGroup, setIcon, setLargeIcon, setMnemonicKey, setName, setShortcuts, setSmallIcon, setTinyIcon, toStringpublic static final java.lang.String FONT_SIZE
public SetFontSizeAction()
public java.lang.Integer getFontSize()
public void setFontSize(java.lang.Integer newFontSize)
newFontSize - new font size.public void setValue(java.lang.Object val)
setValue in class SelectItemActionval - new font size. Can be passed as Integer or String(convertible
to int). If value is not correct, old font size will be left.