|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.awt.Component
java.awt.Container
javax.swing.JComponent
javax.swing.JPanel
lisken.uitoolbox.EnhancedSlider
public class EnhancedSlider
Nested Class Summary |
---|
Nested classes/interfaces inherited from class javax.swing.JPanel |
---|
javax.swing.JPanel.AccessibleJPanel |
Nested classes/interfaces inherited from class javax.swing.JComponent |
---|
javax.swing.JComponent.AccessibleJComponent |
Nested classes/interfaces inherited from class java.awt.Container |
---|
java.awt.Container.AccessibleAWTContainer |
Nested classes/interfaces inherited from class java.awt.Component |
---|
java.awt.Component.AccessibleAWTComponent, java.awt.Component.BltBufferStrategy, java.awt.Component.FlipBufferStrategy |
Field Summary |
---|
Fields inherited from class javax.swing.JComponent |
---|
accessibleContext, listenerList, TOOL_TIP_TEXT_KEY, ui, UNDEFINED_CONDITION, WHEN_ANCESTOR_OF_FOCUSED_COMPONENT, WHEN_FOCUSED, WHEN_IN_FOCUSED_WINDOW |
Fields inherited from class java.awt.Component |
---|
BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT |
Fields inherited from interface java.awt.image.ImageObserver |
---|
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH |
Constructor Summary | |
---|---|
EnhancedSlider()
|
|
EnhancedSlider(int orientation,
int min,
int max,
int value)
|
Method Summary | |
---|---|
void |
addChangeListener(javax.swing.event.ChangeListener l)
|
void |
adjustValueLabelLocation()
|
java.util.Hashtable |
createStandardLabels(int increment)
|
java.util.Hashtable |
createStandardLabels(int increment,
int start)
|
protected void |
fireStateChanged()
|
void |
focusGained(java.awt.event.FocusEvent e)
|
void |
focusLost(java.awt.event.FocusEvent e)
|
javax.accessibility.AccessibleContext |
getAccessibleContext()
|
boolean |
getClickScrollByBlock()
|
int |
getExtent()
|
boolean |
getInverted()
|
java.util.Dictionary |
getLabelTable()
|
java.awt.LayoutManager |
getLayout()
|
int |
getMajorTickSpacing()
|
int |
getMaximum()
|
int |
getMinimum()
|
int |
getMinorTickSpacing()
|
javax.swing.BoundedRangeModel |
getModel()
|
int |
getOrientation()
|
boolean |
getPaintLabels()
|
boolean |
getPaintMinorTicks()
|
boolean |
getPaintTicks()
|
boolean |
getPaintTrack()
|
java.awt.Dimension |
getPreferredSize()
|
javax.swing.plaf.SliderUI |
getSliderUI()
|
boolean |
getSnapToTicks()
|
int |
getSnapWhileDragging()
Returns the sliders step size while dragging. |
int |
getValue()
|
boolean |
getValueIsAdjusting()
|
javax.swing.JLabel |
getValueLabel()
|
boolean |
isEnabled()
|
void |
removeChangeListener(javax.swing.event.ChangeListener l)
|
void |
setClickScrollByBlock(boolean b)
|
void |
setEnabled(boolean enabled)
|
void |
setExtent(int extent)
|
void |
setInverted(boolean b)
|
void |
setLabelTable(java.util.Dictionary labels)
|
void |
setLayout(java.awt.LayoutManager mgr)
|
void |
setMajorTickSpacing(int n)
|
void |
setMaximum(int maximum)
|
void |
setMinimum(int minimum)
|
void |
setMinorTickSpacing(int n)
|
void |
setModel(javax.swing.BoundedRangeModel newModel)
|
void |
setOrientation(int orientation)
|
void |
setPaintLabels(boolean b)
|
void |
setPaintMinorTicks(boolean b)
|
void |
setPaintTicks(boolean b)
|
void |
setPaintTrack(boolean b)
|
void |
setSizeFactor(double sizeFactor)
|
void |
setSnapToTicks(boolean b)
|
void |
setSnapWhileDragging(int n)
Sets the sliders step size while dragging. |
void |
setValue(int n)
|
void |
setValueIsAdjusting(boolean b)
|
javax.swing.JSlider |
slider()
|
Methods inherited from class javax.swing.JPanel |
---|
getUI, getUIClassID, paramString, setUI, updateUI |
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, 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, isDoubleBuffered, isLightweightComponent, isManagingFocus, isOpaque, isOptimizedDrawingEnabled, isPaintingTile, isRequestFocusEnabled, isValidateRoot, paint, paintBorder, paintChildren, paintComponent, paintImmediately, paintImmediately, print, printAll, printBorder, printChildren, printComponent, processComponentKeyEvent, processKeyBinding, processKeyEvent, processMouseEvent, processMouseMotionEvent, 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, 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, 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, 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, transferFocusUpCycle |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public EnhancedSlider()
public EnhancedSlider(int orientation, int min, int max, int value)
Method Detail |
---|
public javax.swing.JLabel getValueLabel()
public void setSnapWhileDragging(int n)
n
- The step size for this sliderpublic int getSnapWhileDragging()
setSnapWhileDragging(int)
public void setPaintMinorTicks(boolean b)
public boolean getPaintMinorTicks()
public void adjustValueLabelLocation()
public void setOrientation(int orientation)
public void setClickScrollByBlock(boolean b)
public boolean getClickScrollByBlock()
public void setSizeFactor(double sizeFactor)
public java.awt.Dimension getPreferredSize()
getPreferredSize
in class javax.swing.JComponent
public javax.swing.JSlider slider()
public void setEnabled(boolean enabled)
setEnabled
in class javax.swing.JComponent
public boolean isEnabled()
isEnabled
in class java.awt.Component
public javax.swing.plaf.SliderUI getSliderUI()
public javax.swing.BoundedRangeModel getModel()
public void setModel(javax.swing.BoundedRangeModel newModel)
public int getValue()
public void setValue(int n)
public int getMinimum()
public void setMinimum(int minimum)
public int getMaximum()
public void setMaximum(int maximum)
public boolean getValueIsAdjusting()
public void setValueIsAdjusting(boolean b)
public int getExtent()
public void setExtent(int extent)
public int getOrientation()
public java.util.Dictionary getLabelTable()
public void setLabelTable(java.util.Dictionary labels)
public java.util.Hashtable createStandardLabels(int increment)
public java.util.Hashtable createStandardLabels(int increment, int start)
public boolean getInverted()
public void setInverted(boolean b)
public int getMajorTickSpacing()
public void setMajorTickSpacing(int n)
public int getMinorTickSpacing()
public void setMinorTickSpacing(int n)
public boolean getSnapToTicks()
public void setSnapToTicks(boolean b)
public boolean getPaintTicks()
public void setPaintTicks(boolean b)
public boolean getPaintTrack()
public void setPaintTrack(boolean b)
public boolean getPaintLabels()
public void setPaintLabels(boolean b)
public javax.accessibility.AccessibleContext getAccessibleContext()
getAccessibleContext
in interface javax.accessibility.Accessible
getAccessibleContext
in class javax.swing.JPanel
public final java.awt.LayoutManager getLayout()
getLayout
in class java.awt.Container
public final void setLayout(java.awt.LayoutManager mgr)
setLayout
in class java.awt.Container
public void focusGained(java.awt.event.FocusEvent e)
focusGained
in interface java.awt.event.FocusListener
public void focusLost(java.awt.event.FocusEvent e)
focusLost
in interface java.awt.event.FocusListener
public void removeChangeListener(javax.swing.event.ChangeListener l)
public void addChangeListener(javax.swing.event.ChangeListener l)
protected void fireStateChanged()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |