|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object java.awt.Component visad.browser.RangeSlider visad.util.RangeSlider visad.util.SelectRangeWidget
public class SelectRangeWidget
A slider widget that allows users to select a lower and upper bound.
Nested Class Summary |
---|
Nested classes/interfaces inherited from class java.awt.Component |
---|
Component.AccessibleAWTComponent, Component.BaselineResizeBehavior, Component.BltBufferStrategy, Component.FlipBufferStrategy |
Field Summary |
---|
Fields inherited from class visad.browser.RangeSlider |
---|
DEFAULT_NAME, FONT_BOTTOM_Y, FONT_HEIGHT, FONT_TOP_Y, GRIP_BOTTOM_Y, GRIP_HEIGHT, GRIP_MIDDLE_Y, GRIP_TOP_Y, GRIP_WIDTH, lSlideMoved, maxGrip, maxLimit, maxSize, maxValue, minGrip, minLimit, minSize, minValue, prefSize, rSlideMoved, SLIDER_LINE_HEIGHT, SLIDER_LINE_WIDTH, SLIDER_PREF_HEIGHT, SLIDER_PREF_WIDTH, textChanged |
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 | |
---|---|
SelectRangeWidget(ScalarMap smap)
this will be labeled with the name of smap's RealType, and the range of RealType values defining the bounds of the selectable range is taken from smap.getRange(). |
|
SelectRangeWidget(ScalarMap smap,
boolean update)
this will be labeled with the name of smap's RealType, and the range of RealType values defining the bounds of the selectable range is taken from smap.getRange(). |
|
SelectRangeWidget(ScalarMap smap,
float min,
float max)
Deprecated. - set range in map instead |
|
SelectRangeWidget(ScalarMap smap,
float min,
float max,
boolean update)
Deprecated. - set range in map instead |
Method Summary | |
---|---|
void |
controlChanged(ControlEvent e)
ControlListener method for RangeControl |
void |
controlChanged(ScalarMapControlEvent evt)
ScalarMapListener method used to detect new control. |
void |
mapChanged(ScalarMapEvent e)
ScalarMapListener method used with delayed auto-scaling. |
void |
valuesUpdated()
tell parent when the value changes |
Methods inherited from class visad.browser.RangeSlider |
---|
getMaximumSize, getMinimumSize, getMinMaxValues, getPreferredSize, gripToValue, main, mouseClicked, mouseDragged, mouseEntered, mouseExited, mouseMoved, mousePressed, mouseReleased, paint, repaint, resetValues, setBounds, setBounds, setMaximumSize, setMinimumSize, setName, setPreferredSize, setValues, valueToGrip |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public SelectRangeWidget(ScalarMap smap) throws VisADException, RemoteException
VisADException
RemoteException
public SelectRangeWidget(ScalarMap smap, float min, float max) throws VisADException, RemoteException
VisADException
RemoteException
public SelectRangeWidget(ScalarMap smap, float min, float max, boolean update) throws VisADException, RemoteException
VisADException
RemoteException
public SelectRangeWidget(ScalarMap smap, boolean update) throws VisADException, RemoteException
VisADException
RemoteException
Method Detail |
---|
public void mapChanged(ScalarMapEvent e)
mapChanged
in interface ScalarMapListener
e
- the eventpublic void controlChanged(ScalarMapControlEvent evt) throws RemoteException, VisADException
controlChanged
in interface ScalarMapListener
evt
- the event
RemoteException
- If there was an RMI-related problem.
VisADException
- If there is a problem notifying this listener.public void valuesUpdated()
valuesUpdated
in class RangeSlider
public void controlChanged(ControlEvent e) throws VisADException, RemoteException
controlChanged
in interface ControlListener
VisADException
RemoteException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |