public class LCheckBoxConfig extends LUserSetting
Modifier and Type | Class and Description |
---|---|
protected class |
LCheckBoxConfig.LSpecialCheckBox |
class |
LCheckBoxConfig.UpdateHelpActionHandler |
LUserSetting.UpdateCaretHandler, LUserSetting.UpdateChangeHandler, LUserSetting.UpdateHandler
LHelpComponent.HelpActionHandler, LHelpComponent.HelpFocusHandler, LHelpComponent.HelpMouseHandler
Modifier and Type | Field and Description |
---|---|
protected LButton |
button |
static java.lang.String |
buttonText |
protected LCheckBoxConfig.LSpecialCheckBox |
cbox |
static int |
spacing |
titleLabel
followPos, help, helpPrefix, helpYoffset, save, saveTie, title
Modifier | Constructor and Description |
---|---|
protected |
LCheckBoxConfig(java.lang.String title_) |
|
LCheckBoxConfig(java.lang.String title_,
int size,
int style,
java.awt.Color shade,
LHelpPanel help_,
LSaveFile save_,
java.lang.Enum setting) |
Modifier and Type | Method and Description |
---|---|
void |
addActionListener(java.awt.event.ActionListener a) |
protected void |
addHelpHandler(boolean hoverHandler)
Adds a help handler to each GUI component that should trigger the help
panel to update.
|
void |
addShadow() |
protected void |
addUpdateHandlers()
Abstract function that should add appropriate update handlers to the
appropriate components.
|
void |
clearHighlight()
Abstract function that should clear any GUI components of their highlighted state.
|
javax.swing.JComponent |
getSource() |
java.lang.Object |
getValue() |
void |
highlightChanged()
Abstract function that should change some GUI component to symbolize
it is highlighted.
|
boolean |
revertTo(java.util.Map m)
Reverts the GUI component to to SaveFile instance specified.
|
void |
setButtonOffset(int in) |
void |
setOffset(int in) |
void |
updateHelp()
Updates the target help panel with this component's help info.
|
addHelpPrefix, getHelp, hasHelp, isFollowingPosition, linkTo, setFollowPosition
Add, centerIn, centerOn, centerOn, getBottom, getCenter, getRight, putUnder
add, add, add, add, add, addContainerListener, addImpl, addNotify, addPropertyChangeListener, addPropertyChangeListener, applyComponentOrientation, areFocusTraversalKeysSet, countComponents, deliverEvent, doLayout, findComponentAt, findComponentAt, getAlignmentX, getAlignmentY, getComponent, getComponentAt, getComponentAt, getComponentCount, getComponents, getComponentZOrder, getContainerListeners, getFocusTraversalKeys, getFocusTraversalPolicy, getInsets, getLayout, getListeners, getMaximumSize, getMinimumSize, getMousePosition, getPreferredSize, insets, invalidate, isAncestorOf, isFocusCycleRoot, isFocusCycleRoot, isFocusTraversalPolicyProvider, isFocusTraversalPolicySet, isValidateRoot, layout, list, list, locate, minimumSize, paint, paintComponents, paramString, preferredSize, print, printComponents, processContainerEvent, processEvent, remove, remove, removeAll, removeContainerListener, removeNotify, setComponentZOrder, setFocusCycleRoot, setFocusTraversalKeys, setFocusTraversalPolicy, setFocusTraversalPolicyProvider, setFont, setLayout, transferFocusDownCycle, update, validate, validateTree
action, add, addComponentListener, addFocusListener, addHierarchyBoundsListener, addHierarchyListener, addInputMethodListener, addKeyListener, addMouseListener, addMouseMotionListener, addMouseWheelListener, bounds, checkImage, checkImage, coalesceEvents, contains, contains, createImage, createImage, createVolatileImage, createVolatileImage, disable, disableEvents, dispatchEvent, enable, enable, enableEvents, enableInputMethods, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, getAccessibleContext, getBackground, getBaseline, getBaselineResizeBehavior, getBounds, getBounds, getColorModel, getComponentListeners, getComponentOrientation, getCursor, getDropTarget, getFocusCycleRootAncestor, getFocusListeners, getFocusTraversalKeysEnabled, getFont, getFontMetrics, getForeground, getGraphics, getGraphicsConfiguration, getHeight, getHierarchyBoundsListeners, getHierarchyListeners, getIgnoreRepaint, getInputContext, getInputMethodListeners, getInputMethodRequests, getKeyListeners, getLocale, getLocation, getLocation, getLocationOnScreen, getMouseListeners, getMouseMotionListeners, getMousePosition, getMouseWheelListeners, getParent, getPeer, getPropertyChangeListeners, getPropertyChangeListeners, getSize, getSize, getToolkit, getTreeLock, getWidth, getX, getY, gotFocus, handleEvent, hasFocus, hide, imageUpdate, inside, isBackgroundSet, isCursorSet, isDisplayable, isDoubleBuffered, isEnabled, isFocusable, isFocusOwner, isFocusTraversable, isFontSet, isForegroundSet, isLightweight, isMaximumSizeSet, isMinimumSizeSet, isOpaque, isPreferredSizeSet, isShowing, isValid, isVisible, keyDown, keyUp, list, list, list, location, lostFocus, mouseDown, mouseDrag, mouseEnter, mouseExit, mouseMove, mouseUp, move, nextFocus, paintAll, postEvent, prepareImage, prepareImage, printAll, processComponentEvent, processFocusEvent, processHierarchyBoundsEvent, processHierarchyEvent, processInputMethodEvent, processKeyEvent, processMouseEvent, processMouseMotionEvent, processMouseWheelEvent, remove, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removeMouseWheelListener, removePropertyChangeListener, removePropertyChangeListener, repaint, repaint, repaint, repaint, requestFocus, requestFocus, requestFocusInWindow, requestFocusInWindow, reshape, resize, resize, revalidate, setBackground, setBounds, setBounds, setComponentOrientation, setCursor, setDropTarget, setEnabled, setFocusable, setFocusTraversalKeysEnabled, setForeground, setIgnoreRepaint, setLocale, setLocation, setLocation, setMaximumSize, setMinimumSize, setName, setPreferredSize, setSize, setSize, setVisible, show, show, size, toString, transferFocus, transferFocusBackward, transferFocusUpCycle
protected LCheckBoxConfig.LSpecialCheckBox cbox
protected LButton button
public static java.lang.String buttonText
public static int spacing
protected LCheckBoxConfig(java.lang.String title_)
title_
- public LCheckBoxConfig(java.lang.String title_, int size, int style, java.awt.Color shade, LHelpPanel help_, LSaveFile save_, java.lang.Enum setting)
title_
- size
- style
- shade
- help_
- save_
- setting
- public void updateHelp()
LHelpComponent
updateHelp
in class LHelpComponent
protected void addUpdateHandlers()
LUserSetting
addUpdateHandlers
in class LUserSetting
public boolean revertTo(java.util.Map m)
LUserSetting
revertTo
in class LUserSetting
public java.lang.Object getValue()
getValue
in class LUserSetting
protected void addHelpHandler(boolean hoverHandler)
LHelpComponent
addHelpHandler
in class LHelpComponent
hoverHandler
- public void setButtonOffset(int in)
in
- public void setOffset(int in)
in
- public void addShadow()
public javax.swing.JComponent getSource()
public void addActionListener(java.awt.event.ActionListener a)
a
- public void highlightChanged()
LUserSetting
highlightChanged
in class LUserSetting
public void clearHighlight()
LUserSetting
clearHighlight
in class LUserSetting