|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.awt.Component
java.awt.Scrollbar
gui.run.awt.RunSlider
public abstract class RunSlider
Nested Class Summary | |
---|---|
static class |
RunSlider.Angle180Slider
|
static class |
RunSlider.Angle360Slider
|
static class |
RunSlider.BiAngle360Slider
|
static class |
RunSlider.PercentageSlider
|
static class |
RunSlider.zeroTo255Slider
|
static class |
RunSlider.zeroTo90Slider
|
Field Summary |
---|
Fields inherited from class java.awt.Scrollbar |
---|
HORIZONTAL, VERTICAL |
Fields inherited from class java.awt.Component |
---|
BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT |
Fields inherited from interface java.awt.Adjustable |
---|
NO_ORIENTATION |
Fields inherited from interface java.awt.image.ImageObserver |
---|
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH |
Constructor Summary | |
---|---|
RunSlider()
Set all the labels to the same font. |
|
RunSlider(double min,
double max,
double defaultValue)
|
|
RunSlider(int orientation)
Creates a slider using the specified orientation with the range 0 to 100 and an initial value of 50. |
|
RunSlider(int orientation,
double defaultValue,
int min,
int max)
Creates a horizontal slider using the specified min, max and value. |
|
RunSlider(int min,
int max)
Creates a horizontal slider using the specified min and max with an initial value equal to the average of the min plus max. |
|
RunSlider(int min,
int max,
double defaultValue)
Creates a horizontal slider using the specified min, max and value. |
|
RunSlider(int orientation,
int min,
int max,
int defaultValue)
|
Method Summary | |
---|---|
void |
adjustmentValueChanged(java.awt.event.AdjustmentEvent ae)
|
static RunSlider |
getLabeledSlider(java.lang.String s,
RunSlider rs)
|
java.awt.Dimension |
getPreferredSize()
|
java.awt.Label |
getValueLabel()
|
static void |
main(java.lang.String[] args)
|
void |
setIdentifier(java.lang.String id)
|
void |
setValueLabel(java.awt.Label vl)
|
Methods inherited from class java.awt.Scrollbar |
---|
addAdjustmentListener, addNotify, getAccessibleContext, getAdjustmentListeners, getBlockIncrement, getLineIncrement, getListeners, getMaximum, getMinimum, getOrientation, getPageIncrement, getUnitIncrement, getValue, getValueIsAdjusting, getVisible, getVisibleAmount, removeAdjustmentListener, setBlockIncrement, setLineIncrement, setMaximum, setMinimum, setOrientation, setPageIncrement, setUnitIncrement, setValue, setValueIsAdjusting, setValues, setVisibleAmount |
Methods inherited from class java.awt.Component |
---|
action, add, addComponentListener, addFocusListener, addHierarchyBoundsListener, addHierarchyListener, addInputMethodListener, addKeyListener, addMouseListener, addMouseMotionListener, addMouseWheelListener, addPropertyChangeListener, addPropertyChangeListener, applyComponentOrientation, areFocusTraversalKeysSet, bounds, checkImage, checkImage, contains, contains, createImage, createImage, createVolatileImage, createVolatileImage, deliverEvent, disable, dispatchEvent, doLayout, enable, enable, enableInputMethods, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, getAlignmentX, getAlignmentY, getBackground, getBounds, getBounds, getColorModel, getComponentAt, getComponentAt, getComponentListeners, getComponentOrientation, getCursor, getDropTarget, getFocusCycleRootAncestor, getFocusListeners, getFocusTraversalKeys, getFocusTraversalKeysEnabled, getFont, getFontMetrics, getForeground, getGraphics, getGraphicsConfiguration, getHeight, getHierarchyBoundsListeners, getHierarchyListeners, getIgnoreRepaint, getInputContext, getInputMethodListeners, getInputMethodRequests, getKeyListeners, getLocale, getLocation, getLocation, getLocationOnScreen, getMaximumSize, getMinimumSize, getMouseListeners, getMouseMotionListeners, getMousePosition, getMouseWheelListeners, getName, getParent, getPeer, getPropertyChangeListeners, getPropertyChangeListeners, getSize, getSize, getToolkit, getTreeLock, getWidth, getX, getY, gotFocus, handleEvent, hasFocus, hide, imageUpdate, inside, invalidate, isBackgroundSet, isCursorSet, isDisplayable, isDoubleBuffered, isEnabled, isFocusable, isFocusCycleRoot, isFocusOwner, isFocusTraversable, isFontSet, isForegroundSet, isLightweight, isMaximumSizeSet, isMinimumSizeSet, isOpaque, isPreferredSizeSet, isShowing, isValid, isVisible, keyDown, keyUp, layout, list, list, list, list, list, locate, location, lostFocus, minimumSize, mouseDown, mouseDrag, mouseEnter, mouseExit, mouseMove, mouseUp, move, nextFocus, paint, paintAll, postEvent, preferredSize, prepareImage, prepareImage, print, printAll, remove, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removeMouseWheelListener, removeNotify, removePropertyChangeListener, removePropertyChangeListener, repaint, repaint, repaint, repaint, requestFocus, requestFocusInWindow, reshape, resize, resize, setBackground, setBounds, setBounds, setComponentOrientation, setCursor, setDropTarget, setEnabled, setFocusable, setFocusTraversalKeys, setFocusTraversalKeysEnabled, setFont, setForeground, setIgnoreRepaint, setLocale, setLocation, setLocation, setMaximumSize, setMinimumSize, setName, setPreferredSize, setSize, setSize, setVisible, show, show, size, toString, transferFocus, transferFocusBackward, transferFocusUpCycle, update, validate |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface java.lang.Runnable |
---|
run |
Constructor Detail |
---|
public RunSlider(int orientation, int min, int max, int defaultValue)
public RunSlider()
public RunSlider(int orientation)
public RunSlider(int min, int max)
public RunSlider(int min, int max, double defaultValue)
public RunSlider(int orientation, double defaultValue, int min, int max)
public RunSlider(double min, double max, double defaultValue)
Method Detail |
---|
public java.awt.Dimension getPreferredSize()
getPreferredSize
in class java.awt.Component
public void adjustmentValueChanged(java.awt.event.AdjustmentEvent ae)
adjustmentValueChanged
in interface java.awt.event.AdjustmentListener
public java.awt.Label getValueLabel()
public void setValueLabel(java.awt.Label vl)
public void setIdentifier(java.lang.String id)
public static RunSlider getLabeledSlider(java.lang.String s, RunSlider rs)
public static void main(java.lang.String[] args)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |