ucar.unidata.idv.control
Class ValueSliderWidget
java.lang.Object
ucar.unidata.idv.ui.ValueSliderComponent
ucar.unidata.idv.control.ValueSliderWidget
- All Implemented Interfaces:
- Removable
public class ValueSliderWidget
- extends ValueSliderComponent
A class for holding a text field and a slider for setting the
some integer value
- Version:
- $Revision: 1.8 $
- Author:
- IDV Development Team
|
Constructor Summary |
ValueSliderWidget(DisplayControlImpl dc,
int min,
int max,
String property,
String label)
Create a ValueSliderWidget |
ValueSliderWidget(DisplayControlImpl dc,
int min,
int max,
String property,
String label,
float scale)
Create a ValueSliderWidget |
ValueSliderWidget(DisplayControlImpl dc,
int min,
int max,
String property,
String label,
float scale,
boolean andSet,
String tip)
Create a ValueSliderWidget |
|
Method Summary |
boolean |
getObjectHasInitialized()
Has the calling object been initialized? Subclasses should
override if necessary. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ValueSliderWidget
public ValueSliderWidget(DisplayControlImpl dc,
int min,
int max,
String property,
String label)
- Create a ValueSliderWidget
- Parameters:
dc - the display control to usemin - minimum slider valuemax - maximum slider valueproperty - DisplayControl property to setlabel - label for the widget
ValueSliderWidget
public ValueSliderWidget(DisplayControlImpl dc,
int min,
int max,
String property,
String label,
float scale)
- Create a ValueSliderWidget
- Parameters:
dc - the display control to usemin - minimum slider valuemax - maximum slider valueproperty - DisplayControl property to setlabel - label for the widgetscale - scale factor for the values
ValueSliderWidget
public ValueSliderWidget(DisplayControlImpl dc,
int min,
int max,
String property,
String label,
float scale,
boolean andSet,
String tip)
- Create a ValueSliderWidget
- Parameters:
dc - the display controlmin - minimum slider valuemax - maximum slider valueproperty - DisplayControl property to setlabel - label for the widgetscale - scale factor for the valuesandSet - set the property on the calling object if truetip - tool tip text for the widget
getObjectHasInitialized
public boolean getObjectHasInitialized()
- Has the calling object been initialized? Subclasses should
override if necessary.
- Overrides:
getObjectHasInitialized in class ValueSliderComponent
- Returns:
- true