public class WebTristateCheckBox extends javax.swing.JCheckBox implements Styleable, Skinnable, Paintable, ShapeProvider, MarginSupport, PaddingSupport, EventMethods, ToolTipMethods, com.alee.managers.language.LanguageMethods, com.alee.managers.settings.SettingsMethods, FontMethods<WebTristateCheckBox>, SizeMethods<WebTristateCheckBox>
javax.swing.JCheckBox.AccessibleJCheckBoxjavax.swing.JToggleButton.AccessibleJToggleButton, javax.swing.JToggleButton.ToggleButtonModeljavax.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_ALIGNMENTEMPTYEMPTYUNDEFINED| Constructor and Description |
|---|
WebTristateCheckBox()
Constructs new tristate checkbox.
|
WebTristateCheckBox(javax.swing.Action action)
Constructs new tristate checkbox.
|
WebTristateCheckBox(boolean checked)
Constructs new tristate checkbox.
|
WebTristateCheckBox(CheckState state)
Constructs new tristate checkbox.
|
WebTristateCheckBox(javax.swing.Icon icon)
Constructs new tristate checkbox.
|
WebTristateCheckBox(javax.swing.Icon icon,
boolean checked)
Constructs new tristate checkbox.
|
WebTristateCheckBox(javax.swing.Icon icon,
CheckState state)
Constructs new tristate checkbox.
|
WebTristateCheckBox(java.lang.String text)
Constructs new tristate checkbox.
|
WebTristateCheckBox(java.lang.String text,
boolean checked)
Constructs new tristate checkbox.
|
WebTristateCheckBox(java.lang.String text,
CheckState state)
Constructs new tristate checkbox.
|
WebTristateCheckBox(java.lang.String text,
javax.swing.Icon icon)
Constructs new tristate checkbox.
|
WebTristateCheckBox(java.lang.String text,
javax.swing.Icon icon,
boolean checked)
Constructs new tristate checkbox.
|
WebTristateCheckBox(java.lang.String text,
javax.swing.Icon icon,
CheckState state)
Constructs new tristate checkbox.
|
WebTristateCheckBox(StyleId id)
Constructs new tristate checkbox.
|
WebTristateCheckBox(StyleId id,
javax.swing.Action action)
Constructs new tristate checkbox.
|
WebTristateCheckBox(StyleId id,
boolean checked)
Constructs new tristate checkbox.
|
WebTristateCheckBox(StyleId id,
CheckState state)
Constructs new tristate checkbox.
|
WebTristateCheckBox(StyleId id,
javax.swing.Icon icon)
Constructs new tristate checkbox.
|
WebTristateCheckBox(StyleId id,
javax.swing.Icon icon,
boolean checked)
Constructs new tristate checkbox.
|
WebTristateCheckBox(StyleId id,
javax.swing.Icon icon,
CheckState state)
Constructs new tristate checkbox.
|
WebTristateCheckBox(StyleId id,
java.lang.String text)
Constructs new tristate checkbox.
|
WebTristateCheckBox(StyleId id,
java.lang.String text,
boolean checked)
Constructs new tristate checkbox.
|
WebTristateCheckBox(StyleId id,
java.lang.String text,
CheckState state)
Constructs new tristate checkbox.
|
WebTristateCheckBox(StyleId id,
java.lang.String text,
javax.swing.Icon icon)
Constructs new tristate checkbox.
|
WebTristateCheckBox(StyleId id,
java.lang.String text,
javax.swing.Icon icon,
boolean checked)
Constructs new tristate checkbox.
|
WebTristateCheckBox(StyleId id,
java.lang.String text,
javax.swing.Icon icon,
CheckState state)
Constructs new tristate checkbox.
|
| Modifier and Type | Method and Description |
|---|---|
void |
addStyleListener(StyleListener listener)
Adds style change listener.
|
WebCustomTooltip |
addToolTip(javax.swing.Icon icon,
java.lang.String tooltip)
Adds custom WebLaF tooltip to the component.
|
WebCustomTooltip |
addToolTip(javax.swing.Icon icon,
java.lang.String tooltip,
com.alee.managers.language.data.TooltipWay tooltipWay)
Adds custom WebLaF tooltip to the component.
|
WebCustomTooltip |
addToolTip(javax.swing.Icon icon,
java.lang.String tooltip,
com.alee.managers.language.data.TooltipWay tooltipWay,
int delay)
Adds custom WebLaF tooltip to the component.
|
WebCustomTooltip |
addToolTip(javax.swing.JComponent tooltip)
Adds custom WebLaF tooltip to the component.
|
WebCustomTooltip |
addToolTip(javax.swing.JComponent tooltip,
int delay)
Adds custom WebLaF tooltip to the component.
|
WebCustomTooltip |
addToolTip(javax.swing.JComponent tooltip,
com.alee.managers.language.data.TooltipWay tooltipWay)
Adds custom WebLaF tooltip to the component.
|
WebCustomTooltip |
addToolTip(javax.swing.JComponent tooltip,
com.alee.managers.language.data.TooltipWay tooltipWay,
int delay)
Adds custom WebLaF tooltip to the component.
|
WebCustomTooltip |
addToolTip(java.lang.String tooltip)
Adds custom WebLaF tooltip to the component.
|
WebCustomTooltip |
addToolTip(java.lang.String tooltip,
com.alee.managers.language.data.TooltipWay tooltipWay)
Adds custom WebLaF tooltip to the component.
|
WebCustomTooltip |
addToolTip(java.lang.String tooltip,
com.alee.managers.language.data.TooltipWay tooltipWay,
int delay)
Adds custom WebLaF tooltip to the component.
|
WebTristateCheckBox |
changeFontSize(int change)
Changes font size of the specified component.
|
TristateCheckBoxModel |
getActualModel()
Returns actual tristate checkbox model.
|
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.
|
int |
getMaximumHeight()
Returns component maximum height.
|
int |
getMaximumWidth()
Returns component maximum width.
|
int |
getMinimumHeight()
Returns component minimum height.
|
int |
getMinimumWidth()
Returns component minimum width.
|
CheckState |
getNextState(CheckState checkState)
Returns next check state for toggle action.
|
java.awt.Insets |
getPadding()
Returns current padding.
|
int |
getPreferredHeight()
Returns component preferred height.
|
java.awt.Dimension |
getPreferredSize()
Returns component preferred size.
|
int |
getPreferredWidth()
Returns component preferred width.
|
Skin |
getSkin()
Returns skin currently applied to this component.
|
CheckState |
getState()
Returns tristate checkbox check state.
|
StyleId |
getStyleId()
Returns component style ID.
|
java.lang.String |
getUIClassID() |
WebTristateCheckBoxUI |
getWebUI()
Returns Web-UI applied to this class.
|
protected void |
init(java.lang.String text,
javax.swing.Icon icon)
Initializes checkbox settings.
|
boolean |
isBoldFont()
Returns whether component font is bold or not.
|
boolean |
isChecked()
Returns whether checkbox is checked or not.
|
boolean |
isCheckMixedOnToggle()
Returns whether partially checked tristate checkbox should be checked or unchecked on toggle.
|
boolean |
isItalicFont()
Returns whether component font is italic or not.
|
boolean |
isLanguageSet() |
boolean |
isMixed()
Returns whether checkbox is in mixed state or not.
|
boolean |
isPlainFont()
Returns whether component font is plain or not.
|
boolean |
isUnchecked()
Returns whether checkbox is unchecked or not.
|
void |
loadSettings() |
java.awt.event.MouseAdapter |
onDoubleClick(MouseEventRunnable runnable)
Shortcut method for double-click mouse event.
|
java.awt.event.FocusAdapter |
onFocusGain(FocusEventRunnable runnable)
Shortcut method for focus gain event.
|
java.awt.event.FocusAdapter |
onFocusLoss(FocusEventRunnable runnable)
Shortcut method for focus loss event.
|
java.awt.event.KeyAdapter |
onKeyPress(HotkeyData hotkey,
KeyEventRunnable runnable)
Shortcut method for key press event.
|
java.awt.event.KeyAdapter |
onKeyPress(KeyEventRunnable runnable)
Shortcut method for key press event.
|
java.awt.event.KeyAdapter |
onKeyRelease(HotkeyData hotkey,
KeyEventRunnable runnable)
Shortcut method for key release event.
|
java.awt.event.KeyAdapter |
onKeyRelease(KeyEventRunnable runnable)
Shortcut method for key release event.
|
java.awt.event.KeyAdapter |
onKeyType(HotkeyData hotkey,
KeyEventRunnable runnable)
Shortcut method for key type event.
|
java.awt.event.KeyAdapter |
onKeyType(KeyEventRunnable runnable)
Shortcut method for key type event.
|
java.awt.event.MouseAdapter |
onMenuTrigger(MouseEventRunnable runnable)
Shortcut method for mouse event triggering popup menu.
|
java.awt.event.MouseAdapter |
onMouseClick(MouseButton mouseButton,
MouseEventRunnable runnable)
Shortcut method for mouse click event.
|
java.awt.event.MouseAdapter |
onMouseClick(MouseEventRunnable runnable)
Shortcut method for mouse click event.
|
java.awt.event.MouseAdapter |
onMouseDrag(MouseButton mouseButton,
MouseEventRunnable runnable)
Shortcut method for mouse drag event.
|
java.awt.event.MouseAdapter |
onMouseDrag(MouseEventRunnable runnable)
Shortcut method for mouse drag event.
|
java.awt.event.MouseAdapter |
onMouseEnter(MouseEventRunnable runnable)
Shortcut method for mouse enter event.
|
java.awt.event.MouseAdapter |
onMouseExit(MouseEventRunnable runnable)
Shortcut method for mouse exit event.
|
java.awt.event.MouseAdapter |
onMousePress(MouseButton mouseButton,
MouseEventRunnable runnable)
Shortcut method for mouse press event.
|
java.awt.event.MouseAdapter |
onMousePress(MouseEventRunnable runnable)
Shortcut method for mouse press event.
|
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.
|
void |
removeToolTip(WebCustomTooltip tooltip)
Removes specified custom WebLaF tooltip from the component.
|
void |
removeToolTips()
Removes all custom WebLaF tooltips from the component.
|
void |
removeToolTips(java.util.List<WebCustomTooltip> tooltips)
Removes specified custom WebLaF tooltips from the component.
|
void |
removeToolTips(WebCustomTooltip... tooltips)
Removes specified custom WebLaF tooltips from the component.
|
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() |
WebTristateCheckBox |
setBoldFont()
Sets bold font for the component.
|
WebTristateCheckBox |
setBoldFont(boolean apply)
Sets bold font for the component.
|
void |
setChecked()
Forces checked state.
|
void |
setCheckMixedOnToggle(boolean checkMixedOnToggle)
Sets whether partially checked tristate checkbox should be checked or unchecked on toggle
|
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.
|
WebTristateCheckBox |
setFontName(java.lang.String fontName)
Sets component font name.
|
WebTristateCheckBox |
setFontSize(int fontSize)
Sets component font size.
|
WebTristateCheckBox |
setFontSizeAndStyle(int fontSize,
boolean bold,
boolean italic)
Sets font size and style for the specified component.
|
WebTristateCheckBox |
setFontSizeAndStyle(int fontSize,
int style)
Sets font size and style for the specified component.
|
WebTristateCheckBox |
setFontStyle(boolean bold,
boolean italic)
Sets component font style.
|
WebTristateCheckBox |
setFontStyle(int style)
Sets component font style.
|
WebTristateCheckBox |
setItalicFont()
Sets italic or plain font for the component.
|
WebTristateCheckBox |
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.
|
WebTristateCheckBox |
setMaximumHeight(int maximumHeight)
Sets component maximum height.
|
WebTristateCheckBox |
setMaximumWidth(int maximumWidth)
Sets component maximum width.
|
WebTristateCheckBox |
setMinimumHeight(int minimumHeight)
Sets component minimum height.
|
WebTristateCheckBox |
setMinimumWidth(int minimumWidth)
Sets component minimum width.
|
void |
setMixed()
Forces mixed state.
|
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.
|
WebTristateCheckBox |
setPlainFont()
Sets plain font for the component.
|
WebTristateCheckBox |
setPlainFont(boolean apply)
Sets plain font for the component.
|
WebTristateCheckBox |
setPreferredHeight(int preferredHeight)
Sets component preferred height.
|
WebTristateCheckBox |
setPreferredSize(int width,
int height)
Sets component preferred size.
|
WebTristateCheckBox |
setPreferredWidth(int preferredWidth)
Sets component preferred width.
|
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. |
void |
setState(CheckState state)
Sets tristate checkbox check state.
|
StyleId |
setStyleId(StyleId id)
Sets new component style ID.
|
WebCustomTooltip |
setToolTip(javax.swing.Icon icon,
java.lang.String tooltip)
Sets single custom WebLaF tooltip into the component.
|
WebCustomTooltip |
setToolTip(javax.swing.Icon icon,
java.lang.String tooltip,
com.alee.managers.language.data.TooltipWay tooltipWay)
Sets single custom WebLaF tooltip into the component.
|
WebCustomTooltip |
setToolTip(javax.swing.Icon icon,
java.lang.String tooltip,
com.alee.managers.language.data.TooltipWay tooltipWay,
int delay)
Sets single custom WebLaF tooltip into the component.
|
WebCustomTooltip |
setToolTip(javax.swing.JComponent tooltip)
Sets single custom WebLaF tooltip into the component.
|
WebCustomTooltip |
setToolTip(javax.swing.JComponent tooltip,
int delay)
Sets single custom WebLaF tooltip into the component.
|
WebCustomTooltip |
setToolTip(javax.swing.JComponent tooltip,
com.alee.managers.language.data.TooltipWay tooltipWay)
Sets single custom WebLaF tooltip into the component.
|
WebCustomTooltip |
setToolTip(javax.swing.JComponent tooltip,
com.alee.managers.language.data.TooltipWay tooltipWay,
int delay)
Sets single custom WebLaF tooltip into the component.
|
WebCustomTooltip |
setToolTip(java.lang.String tooltip)
Sets single custom WebLaF tooltip into the component.
|
WebCustomTooltip |
setToolTip(java.lang.String tooltip,
com.alee.managers.language.data.TooltipWay tooltipWay)
Sets single custom WebLaF tooltip into the component.
|
WebCustomTooltip |
setToolTip(java.lang.String tooltip,
com.alee.managers.language.data.TooltipWay tooltipWay,
int delay)
Sets single custom WebLaF tooltip into the component.
|
void |
setUnchecked()
Forces unchecked state.
|
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, isBorderPaintedFlat, paramString, setBorderPaintedFlatactionPropertyChanged, addActionListener, addChangeListener, addImpl, addItemListener, checkHorizontalKey, checkVerticalKey, configurePropertiesFromAction, 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, getSelectedObjects, getText, getUI, getVerticalAlignment, getVerticalTextPosition, imageUpdate, isBorderPainted, isContentAreaFilled, isFocusPainted, isRolloverEnabled, isSelected, paintBorder, removeActionListener, removeChangeListener, removeItemListener, removeNotify, setAction, setActionCommand, setBorderPainted, setContentAreaFilled, setDisabledIcon, setDisabledSelectedIcon, setDisplayedMnemonicIndex, setEnabled, setFocusPainted, setHideActionText, setHorizontalAlignment, setHorizontalTextPosition, setIcon, setIconTextGap, setLabel, setLayout, setMnemonic, setMnemonic, setModel, 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, 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 WebTristateCheckBox()
public WebTristateCheckBox(boolean checked)
checked - whether checkbox should be checked or notpublic WebTristateCheckBox(CheckState state)
state - initial check statepublic WebTristateCheckBox(javax.swing.Icon icon)
icon - checkbox iconpublic WebTristateCheckBox(javax.swing.Icon icon,
boolean checked)
icon - checkbox iconchecked - whether checkbox should be checked or notpublic WebTristateCheckBox(javax.swing.Icon icon,
CheckState state)
icon - checkbox iconstate - initial check statepublic WebTristateCheckBox(javax.swing.Action action)
action - checkbox actionpublic WebTristateCheckBox(java.lang.String text)
text - checkbox textpublic WebTristateCheckBox(java.lang.String text,
boolean checked)
text - checkbox textchecked - whether checkbox should be checked or notpublic WebTristateCheckBox(java.lang.String text,
CheckState state)
text - checkbox textstate - initial check statepublic WebTristateCheckBox(java.lang.String text,
javax.swing.Icon icon)
text - checkbox texticon - checkbox iconpublic WebTristateCheckBox(java.lang.String text,
javax.swing.Icon icon,
boolean checked)
text - checkbox texticon - checkbox iconchecked - whether checkbox should be checked or notpublic WebTristateCheckBox(java.lang.String text,
javax.swing.Icon icon,
CheckState state)
text - checkbox texticon - checkbox iconstate - initial check statepublic WebTristateCheckBox(StyleId id)
id - style IDpublic WebTristateCheckBox(StyleId id, boolean checked)
id - style IDchecked - whether checkbox should be checked or notpublic WebTristateCheckBox(StyleId id, CheckState state)
id - style IDstate - initial check statepublic WebTristateCheckBox(StyleId id, javax.swing.Icon icon)
id - style IDicon - checkbox iconpublic WebTristateCheckBox(StyleId id, javax.swing.Icon icon, boolean checked)
id - style IDicon - checkbox iconchecked - whether checkbox should be checked or notpublic WebTristateCheckBox(StyleId id, javax.swing.Icon icon, CheckState state)
id - style IDicon - checkbox iconstate - initial check statepublic WebTristateCheckBox(StyleId id, javax.swing.Action action)
id - style IDaction - checkbox actionpublic WebTristateCheckBox(StyleId id, java.lang.String text)
id - style IDtext - checkbox textpublic WebTristateCheckBox(StyleId id, java.lang.String text, boolean checked)
id - style IDtext - checkbox textchecked - whether checkbox should be checked or notpublic WebTristateCheckBox(StyleId id, java.lang.String text, CheckState state)
id - style IDtext - checkbox textstate - initial check statepublic WebTristateCheckBox(StyleId id, java.lang.String text, javax.swing.Icon icon)
id - style IDtext - checkbox texticon - checkbox iconpublic WebTristateCheckBox(StyleId id, java.lang.String text, javax.swing.Icon icon, boolean checked)
id - style IDtext - checkbox texticon - checkbox iconchecked - whether checkbox should be checked or notpublic WebTristateCheckBox(StyleId id, java.lang.String text, javax.swing.Icon icon, CheckState state)
id - style IDtext - checkbox texticon - checkbox iconstate - initial check stateprotected void init(java.lang.String text,
javax.swing.Icon icon)
init in class javax.swing.AbstractButtontext - initial texticon - initial iconpublic TristateCheckBoxModel getActualModel()
public boolean isCheckMixedOnToggle()
public void setCheckMixedOnToggle(boolean checkMixedOnToggle)
checkMixedOnToggle - whether partially checked tristate checkbox should be checked or unchecked on togglepublic CheckState getState()
public CheckState getNextState(CheckState checkState)
checkState - current check statepublic void setState(CheckState state)
state - new tristate checkbox check statepublic boolean isChecked()
public void setChecked()
public boolean isMixed()
public void setMixed()
public boolean isUnchecked()
public void setUnchecked()
public 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 WebTristateCheckBoxUI getWebUI()
public void updateUI()
updateUI in class javax.swing.JCheckBoxpublic java.lang.String getUIClassID()
getUIClassID in class javax.swing.JCheckBoxpublic java.awt.event.MouseAdapter onMousePress(MouseEventRunnable runnable)
EventMethodsonMousePress in interface EventMethodsrunnable - mouse event runnablepublic java.awt.event.MouseAdapter onMousePress(MouseButton mouseButton, MouseEventRunnable runnable)
EventMethodsonMousePress in interface EventMethodsmouseButton - mouse button filterrunnable - mouse event runnablepublic java.awt.event.MouseAdapter onMouseEnter(MouseEventRunnable runnable)
EventMethodsonMouseEnter in interface EventMethodsrunnable - mouse event runnablepublic java.awt.event.MouseAdapter onMouseExit(MouseEventRunnable runnable)
EventMethodsonMouseExit in interface EventMethodsrunnable - mouse event runnablepublic java.awt.event.MouseAdapter onMouseDrag(MouseEventRunnable runnable)
EventMethodsonMouseDrag in interface EventMethodsrunnable - mouse event runnablepublic java.awt.event.MouseAdapter onMouseDrag(MouseButton mouseButton, MouseEventRunnable runnable)
EventMethodsonMouseDrag in interface EventMethodsmouseButton - mouse button filterrunnable - mouse event runnablepublic java.awt.event.MouseAdapter onMouseClick(MouseEventRunnable runnable)
EventMethodsonMouseClick in interface EventMethodsrunnable - mouse event runnablepublic java.awt.event.MouseAdapter onMouseClick(MouseButton mouseButton, MouseEventRunnable runnable)
EventMethodsonMouseClick in interface EventMethodsmouseButton - mouse button filterrunnable - mouse event runnablepublic java.awt.event.MouseAdapter onDoubleClick(MouseEventRunnable runnable)
EventMethodsonDoubleClick in interface EventMethodsrunnable - mouse event runnablepublic java.awt.event.MouseAdapter onMenuTrigger(MouseEventRunnable runnable)
EventMethodsonMenuTrigger in interface EventMethodsrunnable - mouse event runnablepublic java.awt.event.KeyAdapter onKeyType(KeyEventRunnable runnable)
EventMethodsonKeyType in interface EventMethodsrunnable - key event runnablepublic java.awt.event.KeyAdapter onKeyType(HotkeyData hotkey, KeyEventRunnable runnable)
EventMethodsonKeyType in interface EventMethodshotkey - hotkey filterrunnable - key event runnablepublic java.awt.event.KeyAdapter onKeyPress(KeyEventRunnable runnable)
EventMethodsonKeyPress in interface EventMethodsrunnable - key event runnablepublic java.awt.event.KeyAdapter onKeyPress(HotkeyData hotkey, KeyEventRunnable runnable)
EventMethodsonKeyPress in interface EventMethodshotkey - hotkey filterrunnable - key event runnablepublic java.awt.event.KeyAdapter onKeyRelease(KeyEventRunnable runnable)
EventMethodsonKeyRelease in interface EventMethodsrunnable - key event runnablepublic java.awt.event.KeyAdapter onKeyRelease(HotkeyData hotkey, KeyEventRunnable runnable)
EventMethodsonKeyRelease in interface EventMethodshotkey - hotkey filterrunnable - key event runnablepublic java.awt.event.FocusAdapter onFocusGain(FocusEventRunnable runnable)
EventMethodsonFocusGain in interface EventMethodsrunnable - focus event runnablepublic java.awt.event.FocusAdapter onFocusLoss(FocusEventRunnable runnable)
EventMethodsonFocusLoss in interface EventMethodsrunnable - focus event runnablepublic WebCustomTooltip setToolTip(java.lang.String tooltip)
ToolTipMethodssetToolTip in interface ToolTipMethodstooltip - tooltip text or language keypublic WebCustomTooltip setToolTip(javax.swing.Icon icon, java.lang.String tooltip)
ToolTipMethodssetToolTip in interface ToolTipMethodsicon - tooltip icontooltip - tooltip text or language keypublic WebCustomTooltip setToolTip(java.lang.String tooltip, com.alee.managers.language.data.TooltipWay tooltipWay)
ToolTipMethodssetToolTip in interface ToolTipMethodstooltip - tooltip text or language keytooltipWay - tooltip display directionpublic WebCustomTooltip setToolTip(javax.swing.Icon icon, java.lang.String tooltip, com.alee.managers.language.data.TooltipWay tooltipWay)
ToolTipMethodssetToolTip in interface ToolTipMethodsicon - tooltip icontooltip - tooltip text or language keytooltipWay - tooltip display directionpublic WebCustomTooltip setToolTip(java.lang.String tooltip, com.alee.managers.language.data.TooltipWay tooltipWay, int delay)
ToolTipMethodssetToolTip in interface ToolTipMethodstooltip - tooltip text or language keytooltipWay - tooltip display directiondelay - tooltip display delaypublic WebCustomTooltip setToolTip(javax.swing.Icon icon, java.lang.String tooltip, com.alee.managers.language.data.TooltipWay tooltipWay, int delay)
ToolTipMethodssetToolTip in interface ToolTipMethodsicon - tooltip icontooltip - tooltip text or language keytooltipWay - tooltip display directiondelay - tooltip display delaypublic WebCustomTooltip setToolTip(javax.swing.JComponent tooltip)
ToolTipMethodssetToolTip in interface ToolTipMethodstooltip - custom tooltip componentpublic WebCustomTooltip setToolTip(javax.swing.JComponent tooltip, int delay)
ToolTipMethodssetToolTip in interface ToolTipMethodstooltip - custom tooltip componentdelay - tooltip display delaypublic WebCustomTooltip setToolTip(javax.swing.JComponent tooltip, com.alee.managers.language.data.TooltipWay tooltipWay)
ToolTipMethodssetToolTip in interface ToolTipMethodstooltip - custom tooltip componenttooltipWay - tooltip display directionpublic WebCustomTooltip setToolTip(javax.swing.JComponent tooltip, com.alee.managers.language.data.TooltipWay tooltipWay, int delay)
ToolTipMethodssetToolTip in interface ToolTipMethodstooltip - custom tooltip componenttooltipWay - tooltip display directiondelay - tooltip display delaypublic WebCustomTooltip addToolTip(java.lang.String tooltip)
ToolTipMethodsaddToolTip in interface ToolTipMethodstooltip - tooltip text or language keypublic WebCustomTooltip addToolTip(javax.swing.Icon icon, java.lang.String tooltip)
ToolTipMethodsaddToolTip in interface ToolTipMethodsicon - tooltip icontooltip - tooltip text or language keypublic WebCustomTooltip addToolTip(java.lang.String tooltip, com.alee.managers.language.data.TooltipWay tooltipWay)
ToolTipMethodsaddToolTip in interface ToolTipMethodstooltip - tooltip text or language keytooltipWay - tooltip display directionpublic WebCustomTooltip addToolTip(javax.swing.Icon icon, java.lang.String tooltip, com.alee.managers.language.data.TooltipWay tooltipWay)
ToolTipMethodsaddToolTip in interface ToolTipMethodsicon - tooltip icontooltip - tooltip text or language keytooltipWay - tooltip display directionpublic WebCustomTooltip addToolTip(java.lang.String tooltip, com.alee.managers.language.data.TooltipWay tooltipWay, int delay)
ToolTipMethodsaddToolTip in interface ToolTipMethodstooltip - tooltip text or language keytooltipWay - tooltip display directiondelay - tooltip display delaypublic WebCustomTooltip addToolTip(javax.swing.Icon icon, java.lang.String tooltip, com.alee.managers.language.data.TooltipWay tooltipWay, int delay)
ToolTipMethodsaddToolTip in interface ToolTipMethodsicon - tooltip icontooltip - tooltip text or language keytooltipWay - tooltip display directiondelay - tooltip display delaypublic WebCustomTooltip addToolTip(javax.swing.JComponent tooltip)
ToolTipMethodsaddToolTip in interface ToolTipMethodstooltip - custom tooltip componentpublic WebCustomTooltip addToolTip(javax.swing.JComponent tooltip, int delay)
ToolTipMethodsaddToolTip in interface ToolTipMethodstooltip - custom tooltip componentdelay - tooltip display delaypublic WebCustomTooltip addToolTip(javax.swing.JComponent tooltip, com.alee.managers.language.data.TooltipWay tooltipWay)
ToolTipMethodsaddToolTip in interface ToolTipMethodstooltip - custom tooltip componenttooltipWay - tooltip display directionpublic WebCustomTooltip addToolTip(javax.swing.JComponent tooltip, com.alee.managers.language.data.TooltipWay tooltipWay, int delay)
ToolTipMethodsaddToolTip in interface ToolTipMethodstooltip - custom tooltip componenttooltipWay - tooltip display directiondelay - tooltip display delaypublic void removeToolTip(WebCustomTooltip tooltip)
ToolTipMethodsremoveToolTip in interface ToolTipMethodstooltip - custom WebLaF tooltip to removepublic void removeToolTips()
ToolTipMethodsremoveToolTips in interface ToolTipMethodspublic void removeToolTips(WebCustomTooltip... tooltips)
ToolTipMethodsremoveToolTips in interface ToolTipMethodstooltips - custom WebLaF tooltips to removepublic void removeToolTips(java.util.List<WebCustomTooltip> tooltips)
ToolTipMethodsremoveToolTips in interface ToolTipMethodstooltips - custom WebLaF tooltips to removepublic 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 WebTristateCheckBox setPlainFont()
FontMethodssetPlainFont in interface FontMethods<WebTristateCheckBox>public WebTristateCheckBox setPlainFont(boolean apply)
FontMethodssetPlainFont in interface FontMethods<WebTristateCheckBox>apply - whether to apply font changes or notpublic boolean isPlainFont()
FontMethodsisPlainFont in interface FontMethods<WebTristateCheckBox>public WebTristateCheckBox setBoldFont()
FontMethodssetBoldFont in interface FontMethods<WebTristateCheckBox>public WebTristateCheckBox setBoldFont(boolean apply)
FontMethodssetBoldFont in interface FontMethods<WebTristateCheckBox>apply - whether to apply font changes or notpublic boolean isBoldFont()
FontMethodsisBoldFont in interface FontMethods<WebTristateCheckBox>public WebTristateCheckBox setItalicFont()
FontMethodssetItalicFont in interface FontMethods<WebTristateCheckBox>public WebTristateCheckBox setItalicFont(boolean apply)
FontMethodssetItalicFont in interface FontMethods<WebTristateCheckBox>apply - whether to apply font changes or notpublic boolean isItalicFont()
FontMethodsisItalicFont in interface FontMethods<WebTristateCheckBox>public WebTristateCheckBox setFontStyle(boolean bold, boolean italic)
FontMethodssetFontStyle in interface FontMethods<WebTristateCheckBox>bold - whether should set bold font or notitalic - whether should set italic font or notpublic WebTristateCheckBox setFontStyle(int style)
FontMethodssetFontStyle in interface FontMethods<WebTristateCheckBox>style - new stylepublic WebTristateCheckBox setFontSize(int fontSize)
FontMethodssetFontSize in interface FontMethods<WebTristateCheckBox>fontSize - font sizepublic WebTristateCheckBox changeFontSize(int change)
FontMethodschangeFontSize in interface FontMethods<WebTristateCheckBox>change - font size change amountpublic int getFontSize()
FontMethodsgetFontSize in interface FontMethods<WebTristateCheckBox>public WebTristateCheckBox setFontSizeAndStyle(int fontSize, boolean bold, boolean italic)
FontMethodssetFontSizeAndStyle in interface FontMethods<WebTristateCheckBox>fontSize - new font sizebold - whether should set bold font or notitalic - whether should set italic font or notpublic WebTristateCheckBox setFontSizeAndStyle(int fontSize, int style)
FontMethodssetFontSizeAndStyle in interface FontMethods<WebTristateCheckBox>fontSize - new font sizestyle - new stylepublic WebTristateCheckBox setFontName(java.lang.String fontName)
FontMethodssetFontName in interface FontMethods<WebTristateCheckBox>fontName - new font namepublic java.lang.String getFontName()
FontMethodsgetFontName in interface FontMethods<WebTristateCheckBox>public int getPreferredWidth()
SizeMethodsgetPreferredWidth in interface SizeMethods<WebTristateCheckBox>public WebTristateCheckBox setPreferredWidth(int preferredWidth)
SizeMethodsSizeMethods.UNDEFINED to let component choose preferred width on its own.setPreferredWidth in interface SizeMethods<WebTristateCheckBox>preferredWidth - new component preferred widthpublic int getPreferredHeight()
SizeMethodsgetPreferredHeight in interface SizeMethods<WebTristateCheckBox>public WebTristateCheckBox setPreferredHeight(int preferredHeight)
SizeMethodsSizeMethods.UNDEFINED to let component choose preferred height on its own.setPreferredHeight in interface SizeMethods<WebTristateCheckBox>preferredHeight - new component preferred heightpublic int getMinimumWidth()
SizeMethodsgetMinimumWidth in interface SizeMethods<WebTristateCheckBox>public WebTristateCheckBox setMinimumWidth(int minimumWidth)
SizeMethodsSizeMethods.UNDEFINED to let component choose minimum width on its own.setMinimumWidth in interface SizeMethods<WebTristateCheckBox>minimumWidth - new component minimum widthpublic int getMinimumHeight()
SizeMethodsgetMinimumHeight in interface SizeMethods<WebTristateCheckBox>public WebTristateCheckBox setMinimumHeight(int minimumHeight)
SizeMethodsSizeMethods.UNDEFINED to let component choose minimum height on its own.setMinimumHeight in interface SizeMethods<WebTristateCheckBox>minimumHeight - new component minimum heightpublic int getMaximumWidth()
SizeMethodsgetMaximumWidth in interface SizeMethods<WebTristateCheckBox>public WebTristateCheckBox setMaximumWidth(int maximumWidth)
SizeMethodsSizeMethods.UNDEFINED to let component choose maximum width on its own.setMaximumWidth in interface SizeMethods<WebTristateCheckBox>maximumWidth - new component maximum widthpublic int getMaximumHeight()
SizeMethodsgetMaximumHeight in interface SizeMethods<WebTristateCheckBox>public WebTristateCheckBox setMaximumHeight(int maximumHeight)
SizeMethodsSizeMethods.UNDEFINED to let component choose maximum height on its own.setMaximumHeight in interface SizeMethods<WebTristateCheckBox>maximumHeight - new component maximum heightpublic java.awt.Dimension getPreferredSize()
SizeMethodsgetPreferredSize in interface SizeMethods<WebTristateCheckBox>getPreferredSize in class javax.swing.JComponentpublic WebTristateCheckBox setPreferredSize(int width, int height)
SizeMethodssetPreferredSize in interface SizeMethods<WebTristateCheckBox>width - component preferred widthheight - component preferred height