org.shetline.gui
Class MiniAdjustor
java.lang.Object
java.awt.Component
java.awt.Container
javax.swing.JComponent
javax.swing.JPanel
org.shetline.gui.KPanel
org.shetline.gui.MiniAdjustor
- All Implemented Interfaces:
- ImageObserver, MenuContainer, Serializable, Accessible
public class MiniAdjustor
- extends KPanel
- See Also:
- Serialized Form
Methods inherited from class org.shetline.gui.KPanel |
beep, getInnerSize, getInsets, getInsetsWithinBorder, getMaximumHeight, getMaximumInnerSize, getMaximumSize, getMaximumWidth, getMinimumHeight, getMinimumSize, getMinimumWidth, getPreferredHeight, getPreferredSize, getPreferredWidth, getScreenSize, paintComponent, processInnerMouseMotionEvent, processMouseEvent, processMouseMotionEvent, setInsets, setInsets, setInsets, setMaximumHeight, setMaximumWidth, setMinimumHeight, setMinimumWidth, setPreferredHeight, setPreferredWidth |
Methods inherited from class javax.swing.JComponent |
addAncestorListener, 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, getListeners, getLocation, getNextFocusableComponent, getPopupLocation, getRegisteredKeyStrokes, getRootPane, getSize, getToolTipLocation, getToolTipText, getToolTipText, getTopLevelAncestor, getTransferHandler, getVerifyInputWhenFocusTarget, getVetoableChangeListeners, getVisibleRect, getWidth, getX, getY, grabFocus, isDoubleBuffered, isLightweightComponent, isManagingFocus, isOpaque, isOptimizedDrawingEnabled, isPaintingForPrint, isPaintingTile, isRequestFocusEnabled, isValidateRoot, paint, paintBorder, paintChildren, paintImmediately, paintImmediately, print, printAll, printBorder, printChildren, printComponent, processComponentKeyEvent, processKeyBinding, processKeyEvent, putClientProperty, registerKeyboardAction, registerKeyboardAction, removeAncestorListener, removeNotify, 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, update |
Methods inherited from class java.awt.Container |
add, add, add, add, add, addContainerListener, addImpl, 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, setLayout, transferFocusBackward, transferFocusDownCycle, validate, validateTree |
Methods inherited from class java.awt.Component |
action, 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, hide, imageUpdate, inside, isBackgroundSet, isCursorSet, isDisplayable, isEnabled, 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, transferFocusUpCycle |
clickState
protected int clickState
currentDelay
protected volatile int currentDelay
hasRepeated
protected boolean hasRepeated
initialDelay
protected volatile int initialDelay
listenerHandler
protected ListenerHandler listenerHandler
performingAction
protected boolean performingAction
repeatDelay
protected volatile int repeatDelay
repeater
protected Thread repeater
CLEAR
protected static final int CLEAR
- See Also:
- Constant Field Values
INCREMENT_PRESSED
protected static final int INCREMENT_PRESSED
- See Also:
- Constant Field Values
DECREMENT_PRESSED
protected static final int DECREMENT_PRESSED
- See Also:
- Constant Field Values
DO_INCREMENT
public static final int DO_INCREMENT
- See Also:
- Constant Field Values
DO_DECREMENT
public static final int DO_DECREMENT
- See Also:
- Constant Field Values
DEFAULT_INITIAL_DELAY
protected static final int DEFAULT_INITIAL_DELAY
- See Also:
- Constant Field Values
DEFAULT_REPEAT_DELAY
protected static final int DEFAULT_REPEAT_DELAY
- See Also:
- Constant Field Values
REPEAT_KILL_DELAY
protected static final int REPEAT_KILL_DELAY
- See Also:
- Constant Field Values
PLATINUM
protected static final Color PLATINUM
MiniAdjustor
public MiniAdjustor()
isFocusable
public boolean isFocusable()
- Overrides:
isFocusable
in class Component
getInitialDelay
public int getInitialDelay()
setInitialDelay
public void setInitialDelay(int initialDelay)
getRepeatDelay
public int getRepeatDelay()
setRepeatDelay
public void setRepeatDelay(int repeatDelay)
paintInnerComponent
protected void paintInnerComponent(Graphics g)
- Overrides:
paintInnerComponent
in class KPanel
processInnerMouseEvent
protected void processInnerMouseEvent(MouseEvent event)
- Overrides:
processInnerMouseEvent
in class KPanel
setEnabled
public void setEnabled(boolean state)
- Overrides:
setEnabled
in class JComponent
addActionListener
public void addActionListener(ActionListener listener)
addActionListener
public void addActionListener(ActionListener listener,
boolean addWeakly)
removeActionListener
public void removeActionListener(ActionListener listener)
doClickAction
protected void doClickAction()
getMinimumInnerSize
public Dimension getMinimumInnerSize()
- Overrides:
getMinimumInnerSize
in class KPanel
getPreferredInnerSize
public Dimension getPreferredInnerSize()
- Overrides:
getPreferredInnerSize
in class KPanel
readyForRepeat
protected boolean readyForRepeat()
readyForRepeatAux
protected boolean readyForRepeatAux()