public class WebCheckBoxMenuItem extends javax.swing.JCheckBoxMenuItem implements Styleable, Skinnable, Paintable, ShapeProvider, MarginSupport, PaddingSupport, com.alee.managers.language.LanguageMethods, com.alee.managers.settings.SettingsMethods, FontMethods<WebCheckBoxMenuItem>
javax.swing.JCheckBoxMenuItem.AccessibleJCheckBoxMenuItemjavax.swing.JMenuItem.AccessibleJMenuItemjavax.swing.AbstractButton.AccessibleAbstractButton, javax.swing.AbstractButton.ButtonChangeListenerjavax.swing.JComponent.AccessibleJComponentactionListener, BORDER_PAINTED_CHANGED_PROPERTY, changeEvent, changeListener, CONTENT_AREA_FILLED_CHANGED_PROPERTY, DISABLED_ICON_CHANGED_PROPERTY, DISABLED_SELECTED_ICON_CHANGED_PROPERTY, FOCUS_PAINTED_CHANGED_PROPERTY, HORIZONTAL_ALIGNMENT_CHANGED_PROPERTY, HORIZONTAL_TEXT_POSITION_CHANGED_PROPERTY, ICON_CHANGED_PROPERTY, itemListener, MARGIN_CHANGED_PROPERTY, MNEMONIC_CHANGED_PROPERTY, model, MODEL_CHANGED_PROPERTY, PRESSED_ICON_CHANGED_PROPERTY, ROLLOVER_ENABLED_CHANGED_PROPERTY, ROLLOVER_ICON_CHANGED_PROPERTY, ROLLOVER_SELECTED_ICON_CHANGED_PROPERTY, SELECTED_ICON_CHANGED_PROPERTY, TEXT_CHANGED_PROPERTY, VERTICAL_ALIGNMENT_CHANGED_PROPERTY, VERTICAL_TEXT_POSITION_CHANGED_PROPERTYlistenerList, TOOL_TIP_TEXT_KEY, ui, UNDEFINED_CONDITION, WHEN_ANCESTOR_OF_FOCUSED_COMPONENT, WHEN_FOCUSED, WHEN_IN_FOCUSED_WINDOWaccessibleContext, BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENTEMPTYEMPTY| Constructor and Description |
|---|
WebCheckBoxMenuItem()
Constructs new checkbox menu item.
|
WebCheckBoxMenuItem(javax.swing.Action a)
Constructs new checkbox menu item using the specified settings.
|
WebCheckBoxMenuItem(javax.swing.Icon icon)
Constructs new checkbox menu item using the specified settings.
|
WebCheckBoxMenuItem(java.lang.String text)
Constructs new checkbox menu item using the specified settings.
|
WebCheckBoxMenuItem(java.lang.String text,
boolean b)
Constructs new checkbox menu item using the specified settings.
|
WebCheckBoxMenuItem(java.lang.String text,
HotkeyData accelerator)
Constructs new checkbox menu item using the specified settings.
|
WebCheckBoxMenuItem(java.lang.String text,
javax.swing.Icon icon)
Constructs new checkbox menu item using the specified settings.
|
WebCheckBoxMenuItem(java.lang.String text,
javax.swing.Icon icon,
boolean b)
Constructs new checkbox menu item using the specified settings.
|
WebCheckBoxMenuItem(java.lang.String text,
javax.swing.Icon icon,
boolean b,
HotkeyData accelerator)
Constructs new checkbox menu item using the specified settings.
|
WebCheckBoxMenuItem(java.lang.String text,
javax.swing.Icon icon,
boolean b,
javax.swing.KeyStroke accelerator)
Constructs new checkbox menu item using the specified settings.
|
WebCheckBoxMenuItem(java.lang.String text,
javax.swing.Icon icon,
HotkeyData accelerator)
Constructs new checkbox menu item using the specified settings.
|
WebCheckBoxMenuItem(java.lang.String text,
javax.swing.Icon icon,
javax.swing.KeyStroke accelerator)
Constructs new checkbox menu item using the specified settings.
|
WebCheckBoxMenuItem(java.lang.String text,
javax.swing.KeyStroke accelerator)
Constructs new checkbox menu item using the specified settings.
|
WebCheckBoxMenuItem(StyleId id)
Constructs new checkbox menu item.
|
WebCheckBoxMenuItem(StyleId id,
javax.swing.Action a)
Constructs new checkbox menu item using the specified settings.
|
WebCheckBoxMenuItem(StyleId id,
javax.swing.Icon icon)
Constructs new checkbox menu item using the specified settings.
|
WebCheckBoxMenuItem(StyleId id,
java.lang.String text)
Constructs new checkbox menu item using the specified settings.
|
WebCheckBoxMenuItem(StyleId id,
java.lang.String text,
boolean b)
Constructs new checkbox menu item using the specified settings.
|
WebCheckBoxMenuItem(StyleId id,
java.lang.String text,
HotkeyData accelerator)
Constructs new checkbox menu item using the specified settings.
|
WebCheckBoxMenuItem(StyleId id,
java.lang.String text,
javax.swing.Icon icon)
Constructs new checkbox menu item using the specified settings.
|
WebCheckBoxMenuItem(StyleId id,
java.lang.String text,
javax.swing.Icon icon,
boolean b)
Constructs new checkbox menu item using the specified settings.
|
WebCheckBoxMenuItem(StyleId id,
java.lang.String text,
javax.swing.Icon icon,
boolean b,
HotkeyData accelerator)
Constructs new checkbox menu item using the specified settings.
|
WebCheckBoxMenuItem(StyleId id,
java.lang.String text,
javax.swing.Icon icon,
boolean b,
javax.swing.KeyStroke accelerator)
Constructs new checkbox menu item using the specified settings.
|
WebCheckBoxMenuItem(StyleId id,
java.lang.String text,
javax.swing.Icon icon,
HotkeyData accelerator)
Constructs new checkbox menu item using the specified settings.
|
WebCheckBoxMenuItem(StyleId id,
java.lang.String text,
javax.swing.Icon icon,
javax.swing.KeyStroke accelerator)
Constructs new checkbox menu item using the specified settings.
|
WebCheckBoxMenuItem(StyleId id,
java.lang.String text,
javax.swing.KeyStroke accelerator)
Constructs new checkbox menu item using the specified settings.
|
| Modifier and Type | Method and Description |
|---|---|
void |
addStyleListener(StyleListener listener)
Adds style change listener.
|
WebCheckBoxMenuItem |
changeFontSize(int change)
Changes font size of the specified component.
|
Painter |
getCustomPainter()
Returns custom base painter for this component.
|
Painter |
getCustomPainter(java.lang.String id)
Returns custom painter for this component.
|
java.util.Map<java.lang.String,Painter> |
getCustomPainters()
Returns all custom painters for this component.
|
java.lang.String |
getFontName()
Returns component font name.
|
int |
getFontSize()
Returns component font size.
|
java.awt.Insets |
getMargin()
Returns current margin.
|
java.awt.Insets |
getPadding()
Returns current padding.
|
Skin |
getSkin()
Returns skin currently applied to this component.
|
StyleId |
getStyleId()
Returns component style ID.
|
WebCheckBoxMenuItemUI |
getWebUI()
Returns Web-UI applied to this class.
|
boolean |
isBoldFont()
Returns whether component font is bold or not.
|
boolean |
isItalicFont()
Returns whether component font is italic or not.
|
boolean |
isLanguageSet() |
boolean |
isPlainFont()
Returns whether component font is plain or not.
|
void |
loadSettings() |
java.awt.Shape |
provideShape()
Returns component shape.
|
void |
registerSettings(com.alee.managers.settings.SettingsProcessor settingsProcessor) |
void |
registerSettings(java.lang.String key) |
void |
registerSettings(java.lang.String key,
boolean loadInitialSettings,
boolean applySettingsChanges) |
<T extends com.alee.managers.settings.DefaultValue> |
registerSettings(java.lang.String key,
java.lang.Class<T> defaultValueClass) |
<T extends com.alee.managers.settings.DefaultValue> |
registerSettings(java.lang.String key,
java.lang.Class<T> defaultValueClass,
boolean loadInitialSettings,
boolean applySettingsChanges) |
void |
registerSettings(java.lang.String key,
java.lang.Object defaultValue) |
void |
registerSettings(java.lang.String key,
java.lang.Object defaultValue,
boolean loadInitialSettings,
boolean applySettingsChanges) |
void |
registerSettings(java.lang.String group,
java.lang.String key) |
<T extends com.alee.managers.settings.DefaultValue> |
registerSettings(java.lang.String group,
java.lang.String key,
java.lang.Class<T> defaultValueClass) |
<T extends com.alee.managers.settings.DefaultValue> |
registerSettings(java.lang.String group,
java.lang.String key,
java.lang.Class<T> defaultValueClass,
boolean loadInitialSettings,
boolean applySettingsChanges) |
void |
registerSettings(java.lang.String group,
java.lang.String key,
java.lang.Object defaultValue) |
void |
registerSettings(java.lang.String group,
java.lang.String key,
java.lang.Object defaultValue,
boolean loadInitialSettings,
boolean applySettingsChanges) |
void |
removeLanguage() |
void |
removeLanguageUpdater() |
void |
removeStyleListener(StyleListener listener)
Removes style change listener.
|
boolean |
restoreDefaultPainters()
Restores default painters for this component.
|
Skin |
restoreSkin()
Restores global skin for this component and all of its children linked via
StyleId. |
void |
saveSettings() |
void |
setAccelerator(HotkeyData hotkey)
Sets the key combination which invokes the menu item's action listeners without navigating the menu hierarchy.
|
WebCheckBoxMenuItem |
setBoldFont()
Sets bold font for the component.
|
WebCheckBoxMenuItem |
setBoldFont(boolean apply)
Sets bold font for the component.
|
Painter |
setCustomPainter(Painter painter)
Sets custom base painter for this component.
|
Painter |
setCustomPainter(java.lang.String id,
Painter painter)
Sets custom painter for this component under the specified painter ID.
|
WebCheckBoxMenuItem |
setFontName(java.lang.String fontName)
Sets component font name.
|
WebCheckBoxMenuItem |
setFontSize(int fontSize)
Sets component font size.
|
WebCheckBoxMenuItem |
setFontSizeAndStyle(int fontSize,
boolean bold,
boolean italic)
Sets font size and style for the specified component.
|
WebCheckBoxMenuItem |
setFontSizeAndStyle(int fontSize,
int style)
Sets font size and style for the specified component.
|
WebCheckBoxMenuItem |
setFontStyle(boolean bold,
boolean italic)
Sets component font style.
|
WebCheckBoxMenuItem |
setFontStyle(int style)
Sets component font style.
|
WebCheckBoxMenuItem |
setItalicFont()
Sets italic or plain font for the component.
|
WebCheckBoxMenuItem |
setItalicFont(boolean apply)
Sets italic or plain font for the component.
|
void |
setLanguage(java.lang.String key,
java.lang.Object... data) |
void |
setLanguageUpdater(com.alee.managers.language.updaters.LanguageUpdater updater) |
void |
setMargin(java.awt.Insets margin)
Sets new margin.
|
void |
setMargin(int margin)
Sets new margin.
|
void |
setMargin(int top,
int left,
int bottom,
int right)
Sets new margin.
|
void |
setPadding(java.awt.Insets padding)
Sets new padding.
|
void |
setPadding(int padding)
Sets new padding.
|
void |
setPadding(int top,
int left,
int bottom,
int right)
Sets new padding.
|
WebCheckBoxMenuItem |
setPlainFont()
Sets plain font for the component.
|
WebCheckBoxMenuItem |
setPlainFont(boolean apply)
Sets plain font for the component.
|
Skin |
setSkin(Skin skin)
Applies specified skin to the specified component and all of its children linked via
StyleId. |
Skin |
setSkin(Skin skin,
boolean recursively)
Applies specified skin to the specified component and all of its children linked via
StyleId. |
StyleId |
setStyleId(StyleId id)
Sets new component style ID.
|
void |
unregisterSettings() |
void |
updateLanguage(java.lang.Object... data) |
void |
updateLanguage(java.lang.String key,
java.lang.Object... data) |
void |
updateUI()
Installs a Web-UI into this component.
|
getAccessibleContext, getSelectedObjects, getState, getUIClassID, paramString, setStateactionPropertyChanged, addMenuDragMouseListener, addMenuKeyListener, configurePropertiesFromAction, fireMenuDragMouseDragged, fireMenuDragMouseEntered, fireMenuDragMouseExited, fireMenuDragMouseReleased, fireMenuKeyPressed, fireMenuKeyReleased, fireMenuKeyTyped, getAccelerator, getComponent, getMenuDragMouseListeners, getMenuKeyListeners, getSubElements, init, isArmed, menuSelectionChanged, processKeyEvent, processMenuDragMouseEvent, processMenuKeyEvent, processMouseEvent, removeMenuDragMouseListener, removeMenuKeyListener, setAccelerator, setArmed, setEnabled, setModel, setUIaddActionListener, addChangeListener, addImpl, addItemListener, checkHorizontalKey, checkVerticalKey, createActionListener, createActionPropertyChangeListener, createChangeListener, createItemListener, doClick, doClick, fireActionPerformed, fireItemStateChanged, fireStateChanged, getAction, getActionCommand, getActionListeners, getChangeListeners, getDisabledIcon, getDisabledSelectedIcon, getDisplayedMnemonicIndex, getHideActionText, getHorizontalAlignment, getHorizontalTextPosition, getIcon, getIconTextGap, getItemListeners, getLabel, getMnemonic, getModel, getMultiClickThreshhold, getPressedIcon, getRolloverIcon, getRolloverSelectedIcon, getSelectedIcon, getText, getUI, getVerticalAlignment, getVerticalTextPosition, imageUpdate, isBorderPainted, isContentAreaFilled, isFocusPainted, isRolloverEnabled, isSelected, paintBorder, removeActionListener, removeChangeListener, removeItemListener, removeNotify, setAction, setActionCommand, setBorderPainted, setContentAreaFilled, setDisabledIcon, setDisabledSelectedIcon, setDisplayedMnemonicIndex, setFocusPainted, setHideActionText, setHorizontalAlignment, setHorizontalTextPosition, setIcon, setIconTextGap, setLabel, setLayout, setMnemonic, setMnemonic, setMultiClickThreshhold, setPressedIcon, setRolloverEnabled, setRolloverIcon, setRolloverSelectedIcon, setSelected, setSelectedIcon, setText, setUI, setVerticalAlignment, setVerticalTextPositionaddAncestorListener, addNotify, addVetoableChangeListener, computeVisibleRect, contains, createToolTip, disable, enable, firePropertyChange, firePropertyChange, firePropertyChange, fireVetoableChange, getActionForKeyStroke, getActionMap, getAlignmentX, getAlignmentY, getAncestorListeners, getAutoscrolls, getBaseline, getBaselineResizeBehavior, getBorder, getBounds, getClientProperty, getComponentGraphics, getComponentPopupMenu, getConditionForKeyStroke, getDebugGraphicsOptions, getDefaultLocale, getFontMetrics, getGraphics, getHeight, getInheritsPopupMenu, getInputMap, getInputMap, getInputVerifier, getInsets, getInsets, getListeners, getLocation, getMaximumSize, getMinimumSize, getNextFocusableComponent, getPopupLocation, getPreferredSize, getRegisteredKeyStrokes, getRootPane, getSize, getToolTipLocation, getToolTipText, getToolTipText, getTopLevelAncestor, getTransferHandler, getVerifyInputWhenFocusTarget, getVetoableChangeListeners, getVisibleRect, getWidth, getX, getY, grabFocus, hide, isDoubleBuffered, isLightweightComponent, isManagingFocus, isOpaque, isOptimizedDrawingEnabled, isPaintingForPrint, isPaintingOrigin, isPaintingTile, isRequestFocusEnabled, isValidateRoot, paint, paintChildren, paintComponent, paintImmediately, paintImmediately, print, printAll, printBorder, printChildren, printComponent, processComponentKeyEvent, processKeyBinding, processKeyEvent, processMouseEvent, processMouseMotionEvent, putClientProperty, registerKeyboardAction, registerKeyboardAction, removeAncestorListener, removeVetoableChangeListener, repaint, repaint, requestDefaultFocus, requestFocus, requestFocus, requestFocusInWindow, requestFocusInWindow, resetKeyboardActions, reshape, revalidate, scrollRectToVisible, setActionMap, setAlignmentX, setAlignmentY, setAutoscrolls, setBackground, setBorder, setComponentPopupMenu, setDebugGraphicsOptions, setDefaultLocale, setDoubleBuffered, setFocusTraversalKeys, setFont, setForeground, setInheritsPopupMenu, setInputMap, setInputVerifier, setMaximumSize, setMinimumSize, setNextFocusableComponent, setOpaque, setPreferredSize, setRequestFocusEnabled, setToolTipText, setTransferHandler, setUI, setVerifyInputWhenFocusTarget, setVisible, unregisterKeyboardAction, updateadd, add, add, add, add, addContainerListener, addPropertyChangeListener, addPropertyChangeListener, applyComponentOrientation, areFocusTraversalKeysSet, countComponents, deliverEvent, doLayout, findComponentAt, findComponentAt, getComponent, getComponentAt, getComponentAt, getComponentCount, getComponents, getComponentZOrder, getContainerListeners, getFocusTraversalKeys, getFocusTraversalPolicy, getLayout, getMousePosition, insets, invalidate, isAncestorOf, isFocusCycleRoot, isFocusCycleRoot, isFocusTraversalPolicyProvider, isFocusTraversalPolicySet, layout, list, list, locate, minimumSize, paintComponents, preferredSize, printComponents, processContainerEvent, processEvent, remove, remove, removeAll, removeContainerListener, setComponentZOrder, setFocusCycleRoot, setFocusTraversalPolicy, setFocusTraversalPolicyProvider, transferFocusDownCycle, validate, validateTreeaction, add, addComponentListener, addFocusListener, addHierarchyBoundsListener, addHierarchyListener, addInputMethodListener, addKeyListener, addMouseListener, addMouseMotionListener, addMouseWheelListener, bounds, checkImage, checkImage, coalesceEvents, contains, createImage, createImage, createVolatileImage, createVolatileImage, disableEvents, dispatchEvent, enable, enableEvents, enableInputMethods, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, getBackground, getBounds, getColorModel, getComponentListeners, getComponentOrientation, getCursor, getDropTarget, getFocusCycleRootAncestor, getFocusListeners, getFocusTraversalKeysEnabled, getFont, getForeground, getGraphicsConfiguration, getHierarchyBoundsListeners, getHierarchyListeners, getIgnoreRepaint, getInputContext, getInputMethodListeners, getInputMethodRequests, getKeyListeners, getLocale, getLocation, getLocationOnScreen, getMouseListeners, getMouseMotionListeners, getMousePosition, getMouseWheelListeners, getName, getParent, getPeer, getPropertyChangeListeners, getPropertyChangeListeners, getSize, getToolkit, getTreeLock, gotFocus, handleEvent, hasFocus, inside, isBackgroundSet, isCursorSet, isDisplayable, isEnabled, isFocusable, isFocusOwner, isFocusTraversable, isFontSet, isForegroundSet, isLightweight, isMaximumSizeSet, isMinimumSizeSet, isPreferredSizeSet, isShowing, isValid, isVisible, keyDown, keyUp, list, list, list, location, lostFocus, mouseDown, mouseDrag, mouseEnter, mouseExit, mouseMove, mouseUp, move, nextFocus, paintAll, postEvent, prepareImage, prepareImage, processComponentEvent, processFocusEvent, processHierarchyBoundsEvent, processHierarchyEvent, processInputMethodEvent, processMouseWheelEvent, remove, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removeMouseWheelListener, removePropertyChangeListener, removePropertyChangeListener, repaint, repaint, repaint, resize, resize, setBounds, setBounds, setComponentOrientation, setCursor, setDropTarget, setFocusable, setFocusTraversalKeysEnabled, setIgnoreRepaint, setLocale, setLocation, setLocation, setName, setSize, setSize, show, show, size, toString, transferFocus, transferFocusBackward, transferFocusUpCyclepublic WebCheckBoxMenuItem()
public WebCheckBoxMenuItem(javax.swing.Action a)
a - menu item actionpublic WebCheckBoxMenuItem(javax.swing.Icon icon)
icon - menu item iconpublic WebCheckBoxMenuItem(java.lang.String text)
text - menu item textpublic WebCheckBoxMenuItem(java.lang.String text,
javax.swing.KeyStroke accelerator)
text - menu item textaccelerator - menu item acceleratorpublic WebCheckBoxMenuItem(java.lang.String text,
HotkeyData accelerator)
text - menu item textaccelerator - menu item acceleratorpublic WebCheckBoxMenuItem(java.lang.String text,
boolean b)
text - menu item textb - whether this checkbox item is selected or notpublic WebCheckBoxMenuItem(java.lang.String text,
javax.swing.Icon icon)
text - menu item texticon - menu item iconpublic WebCheckBoxMenuItem(java.lang.String text,
javax.swing.Icon icon,
boolean b)
text - menu item texticon - menu item iconb - whether this checkbox item is selected or notpublic WebCheckBoxMenuItem(java.lang.String text,
javax.swing.Icon icon,
javax.swing.KeyStroke accelerator)
text - menu item texticon - menu item iconaccelerator - menu item acceleratorpublic WebCheckBoxMenuItem(java.lang.String text,
javax.swing.Icon icon,
boolean b,
javax.swing.KeyStroke accelerator)
text - menu item texticon - menu item iconb - whether this checkbox item is selected or notaccelerator - menu item acceleratorpublic WebCheckBoxMenuItem(java.lang.String text,
javax.swing.Icon icon,
HotkeyData accelerator)
text - menu item texticon - menu item iconaccelerator - menu item acceleratorpublic WebCheckBoxMenuItem(java.lang.String text,
javax.swing.Icon icon,
boolean b,
HotkeyData accelerator)
text - menu item texticon - menu item iconb - whether this checkbox item is selected or notaccelerator - menu item acceleratorpublic WebCheckBoxMenuItem(StyleId id)
id - style IDpublic WebCheckBoxMenuItem(StyleId id, javax.swing.Action a)
id - style IDa - menu item actionpublic WebCheckBoxMenuItem(StyleId id, javax.swing.Icon icon)
id - style IDicon - menu item iconpublic WebCheckBoxMenuItem(StyleId id, java.lang.String text)
id - style IDtext - menu item textpublic WebCheckBoxMenuItem(StyleId id, java.lang.String text, javax.swing.KeyStroke accelerator)
id - style IDtext - menu item textaccelerator - menu item acceleratorpublic WebCheckBoxMenuItem(StyleId id, java.lang.String text, HotkeyData accelerator)
id - style IDtext - menu item textaccelerator - menu item acceleratorpublic WebCheckBoxMenuItem(StyleId id, java.lang.String text, boolean b)
id - style IDtext - menu item textb - whether this checkbox item is selected or notpublic WebCheckBoxMenuItem(StyleId id, java.lang.String text, javax.swing.Icon icon)
id - style IDtext - menu item texticon - menu item iconpublic WebCheckBoxMenuItem(StyleId id, java.lang.String text, javax.swing.Icon icon, boolean b)
id - style IDtext - menu item texticon - menu item iconb - whether this checkbox item is selected or notpublic WebCheckBoxMenuItem(StyleId id, java.lang.String text, javax.swing.Icon icon, javax.swing.KeyStroke accelerator)
id - style IDtext - menu item texticon - menu item iconaccelerator - menu item acceleratorpublic WebCheckBoxMenuItem(StyleId id, java.lang.String text, javax.swing.Icon icon, boolean b, javax.swing.KeyStroke accelerator)
id - style IDtext - menu item texticon - menu item iconb - whether this checkbox item is selected or notaccelerator - menu item acceleratorpublic WebCheckBoxMenuItem(StyleId id, java.lang.String text, javax.swing.Icon icon, HotkeyData accelerator)
id - style IDtext - menu item texticon - menu item iconaccelerator - menu item acceleratorpublic WebCheckBoxMenuItem(StyleId id, java.lang.String text, javax.swing.Icon icon, boolean b, HotkeyData accelerator)
id - style IDtext - menu item texticon - menu item iconb - whether this checkbox item is selected or notaccelerator - menu item acceleratorpublic void setAccelerator(HotkeyData hotkey)
hotkey - hotkey datapublic StyleId getStyleId()
StyleablegetStyleId in interface Styleablepublic StyleId setStyleId(StyleId id)
StyleablesetStyleId in interface Styleableid - custom component style IDpublic Skin getSkin()
Skinnablepublic Skin setSkin(Skin skin, boolean recursively)
Skinnablepublic Skin restoreSkin()
SkinnableStyleId.
Actual linked children information is stored within StyleData data objects.
Restoring component skin will also include it back into the skin update cycle in case global skin will be changed.restoreSkin in interface Skinnablepublic void addStyleListener(StyleListener listener)
SkinnableaddStyleListener in interface Skinnablelistener - style change listener to addpublic void removeStyleListener(StyleListener listener)
SkinnableremoveStyleListener in interface Skinnablelistener - style change listener to removepublic java.util.Map<java.lang.String,Painter> getCustomPainters()
PaintablegetCustomPainters in interface Paintablepublic Painter getCustomPainter()
PaintablegetCustomPainter in interface Paintablepublic Painter getCustomPainter(java.lang.String id)
PaintablegetCustomPainter in interface Paintableid - painter IDpublic Painter setCustomPainter(Painter painter)
PaintablesetCustomPainter in interface Paintablepainter - custom base painterpublic Painter setCustomPainter(java.lang.String id, Painter painter)
PaintablesetCustomPainter in interface Paintableid - painter IDpainter - painterpublic boolean restoreDefaultPainters()
PaintablerestoreDefaultPainters in interface Paintablepublic java.awt.Shape provideShape()
ShapeProviderprovideShape in interface ShapeProviderpublic java.awt.Insets getMargin()
MarginSupportgetMargin in interface MarginSupportgetMargin in class javax.swing.AbstractButtonpublic void setMargin(int margin)
margin - new marginpublic void setMargin(int top,
int left,
int bottom,
int right)
top - new top marginleft - new left marginbottom - new bottom marginright - new right marginpublic void setMargin(java.awt.Insets margin)
MarginSupportnull can be provided to set an empty [0,0,0,0] margin.setMargin in interface MarginSupportsetMargin in class javax.swing.AbstractButtonmargin - new marginpublic java.awt.Insets getPadding()
PaddingSupportgetPadding in interface PaddingSupportpublic void setPadding(int padding)
padding - new paddingpublic void setPadding(int top,
int left,
int bottom,
int right)
top - new top paddingleft - new left paddingbottom - new bottom paddingright - new right paddingpublic void setPadding(java.awt.Insets padding)
PaddingSupportnull can be provided to set an empty [0,0,0,0] padding.setPadding in interface PaddingSupportpadding - new paddingpublic WebCheckBoxMenuItemUI getWebUI()
public void updateUI()
updateUI in class javax.swing.JMenuItempublic void setLanguage(java.lang.String key,
java.lang.Object... data)
setLanguage in interface com.alee.managers.language.LanguageMethodspublic void updateLanguage(java.lang.Object... data)
updateLanguage in interface com.alee.managers.language.LanguageMethodspublic void updateLanguage(java.lang.String key,
java.lang.Object... data)
updateLanguage in interface com.alee.managers.language.LanguageMethodspublic void removeLanguage()
removeLanguage in interface com.alee.managers.language.LanguageMethodspublic boolean isLanguageSet()
isLanguageSet in interface com.alee.managers.language.LanguageMethodspublic void setLanguageUpdater(com.alee.managers.language.updaters.LanguageUpdater updater)
setLanguageUpdater in interface com.alee.managers.language.LanguageMethodspublic void removeLanguageUpdater()
removeLanguageUpdater in interface com.alee.managers.language.LanguageMethodspublic void registerSettings(java.lang.String key)
registerSettings in interface com.alee.managers.settings.SettingsMethodspublic <T extends com.alee.managers.settings.DefaultValue> void registerSettings(java.lang.String key,
java.lang.Class<T> defaultValueClass)
registerSettings in interface com.alee.managers.settings.SettingsMethodspublic void registerSettings(java.lang.String key,
java.lang.Object defaultValue)
registerSettings in interface com.alee.managers.settings.SettingsMethodspublic void registerSettings(java.lang.String group,
java.lang.String key)
registerSettings in interface com.alee.managers.settings.SettingsMethodspublic <T extends com.alee.managers.settings.DefaultValue> void registerSettings(java.lang.String group,
java.lang.String key,
java.lang.Class<T> defaultValueClass)
registerSettings in interface com.alee.managers.settings.SettingsMethodspublic void registerSettings(java.lang.String group,
java.lang.String key,
java.lang.Object defaultValue)
registerSettings in interface com.alee.managers.settings.SettingsMethodspublic void registerSettings(java.lang.String key,
boolean loadInitialSettings,
boolean applySettingsChanges)
registerSettings in interface com.alee.managers.settings.SettingsMethodspublic <T extends com.alee.managers.settings.DefaultValue> void registerSettings(java.lang.String key,
java.lang.Class<T> defaultValueClass,
boolean loadInitialSettings,
boolean applySettingsChanges)
registerSettings in interface com.alee.managers.settings.SettingsMethodspublic void registerSettings(java.lang.String key,
java.lang.Object defaultValue,
boolean loadInitialSettings,
boolean applySettingsChanges)
registerSettings in interface com.alee.managers.settings.SettingsMethodspublic <T extends com.alee.managers.settings.DefaultValue> void registerSettings(java.lang.String group,
java.lang.String key,
java.lang.Class<T> defaultValueClass,
boolean loadInitialSettings,
boolean applySettingsChanges)
registerSettings in interface com.alee.managers.settings.SettingsMethodspublic void registerSettings(java.lang.String group,
java.lang.String key,
java.lang.Object defaultValue,
boolean loadInitialSettings,
boolean applySettingsChanges)
registerSettings in interface com.alee.managers.settings.SettingsMethodspublic void registerSettings(com.alee.managers.settings.SettingsProcessor settingsProcessor)
registerSettings in interface com.alee.managers.settings.SettingsMethodspublic void unregisterSettings()
unregisterSettings in interface com.alee.managers.settings.SettingsMethodspublic void loadSettings()
loadSettings in interface com.alee.managers.settings.SettingsMethodspublic void saveSettings()
saveSettings in interface com.alee.managers.settings.SettingsMethodspublic WebCheckBoxMenuItem setPlainFont()
FontMethodssetPlainFont in interface FontMethods<WebCheckBoxMenuItem>public WebCheckBoxMenuItem setPlainFont(boolean apply)
FontMethodssetPlainFont in interface FontMethods<WebCheckBoxMenuItem>apply - whether to apply font changes or notpublic boolean isPlainFont()
FontMethodsisPlainFont in interface FontMethods<WebCheckBoxMenuItem>public WebCheckBoxMenuItem setBoldFont()
FontMethodssetBoldFont in interface FontMethods<WebCheckBoxMenuItem>public WebCheckBoxMenuItem setBoldFont(boolean apply)
FontMethodssetBoldFont in interface FontMethods<WebCheckBoxMenuItem>apply - whether to apply font changes or notpublic boolean isBoldFont()
FontMethodsisBoldFont in interface FontMethods<WebCheckBoxMenuItem>public WebCheckBoxMenuItem setItalicFont()
FontMethodssetItalicFont in interface FontMethods<WebCheckBoxMenuItem>public WebCheckBoxMenuItem setItalicFont(boolean apply)
FontMethodssetItalicFont in interface FontMethods<WebCheckBoxMenuItem>apply - whether to apply font changes or notpublic boolean isItalicFont()
FontMethodsisItalicFont in interface FontMethods<WebCheckBoxMenuItem>public WebCheckBoxMenuItem setFontStyle(boolean bold, boolean italic)
FontMethodssetFontStyle in interface FontMethods<WebCheckBoxMenuItem>bold - whether should set bold font or notitalic - whether should set italic font or notpublic WebCheckBoxMenuItem setFontStyle(int style)
FontMethodssetFontStyle in interface FontMethods<WebCheckBoxMenuItem>style - new stylepublic WebCheckBoxMenuItem setFontSize(int fontSize)
FontMethodssetFontSize in interface FontMethods<WebCheckBoxMenuItem>fontSize - font sizepublic WebCheckBoxMenuItem changeFontSize(int change)
FontMethodschangeFontSize in interface FontMethods<WebCheckBoxMenuItem>change - font size change amountpublic int getFontSize()
FontMethodsgetFontSize in interface FontMethods<WebCheckBoxMenuItem>public WebCheckBoxMenuItem setFontSizeAndStyle(int fontSize, boolean bold, boolean italic)
FontMethodssetFontSizeAndStyle in interface FontMethods<WebCheckBoxMenuItem>fontSize - new font sizebold - whether should set bold font or notitalic - whether should set italic font or notpublic WebCheckBoxMenuItem setFontSizeAndStyle(int fontSize, int style)
FontMethodssetFontSizeAndStyle in interface FontMethods<WebCheckBoxMenuItem>fontSize - new font sizestyle - new stylepublic WebCheckBoxMenuItem setFontName(java.lang.String fontName)
FontMethodssetFontName in interface FontMethods<WebCheckBoxMenuItem>fontName - new font namepublic java.lang.String getFontName()
FontMethodsgetFontName in interface FontMethods<WebCheckBoxMenuItem>