|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object
|
+--com.yospace.yae.yogi.YogiComponent
|
+--com.yospace.yae.yogi.YogiRange
|
+--com.yospace.yae.yogi.YogiSlider
YogiSlider class. Extends YogiRange which provides
the numerical range within the YogiSlider can be adjusted. This class and its corresponding UI allow user
alteration of the the current value in a YogiRange to give a slider type object.
| Field Summary | |
static int |
ORIENTATION_HORIZONTAL
Constant for horizontal orientation |
static int |
ORIENTATION_VERTICAL
Constant for vertical orientation |
static int |
PROPERTY_ORIENTATION
Constant for the orientation property |
static int |
PROPERTY_VIEW_SIZE
Constant for the viewSize property |
| Fields inherited from class com.yospace.yae.yogi.YogiRange |
maxValue, minValue, PROPERTY_BLOCK_INCREMENT, PROPERTY_MAX_VALUE, PROPERTY_MIN_VALUE, PROPERTY_UNIT_INCREMENT, PROPERTY_VALUE, value |
| Constructor Summary | |
YogiSlider()
Default constructor. |
|
YogiSlider(int orientation)
Constructor taking the orientation of the slider. |
|
| Method Summary | |
int |
getOrientation()
Gets the orientation of the slider. |
int |
getViewSize()
Gets the length in pixels of the slider. |
void |
setOrientation(int orientation)
Sets the orientation of a slider. |
void |
setViewSize(int viewSize)
Sets the length in pixels of the slider. |
| Methods inherited from class com.yospace.yae.yogi.YogiRange |
getBlockIncrement, getMaxValue, getMinValue, getRange, getUnitIncrement, getValue, setBlockIncrement, setMaxValue, setMinValue, setUnitIncrement, setValue |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
public static final int ORIENTATION_HORIZONTAL
public static final int ORIENTATION_VERTICAL
public static final int PROPERTY_ORIENTATION
public static final int PROPERTY_VIEW_SIZE
| Constructor Detail |
public YogiSlider()
ORIENTATION_HORIZONTAL.public YogiSlider(int orientation)
ORIENTATION_HORIZONTAL,
ORIENTATION_VERTICAL.orientation - the slider orientation.| Method Detail |
public void setOrientation(int orientation)
ORIENTATION_HORIZONTAL,
ORIENTATION_VERTICAL.orientation - the slider orientation.public void setViewSize(int viewSize)
viewSize - the width in pixels of the slider.public int getViewSize()
public int getOrientation()
ORIENTATION_HORIZONTAL,
ORIENTATION_VERTICAL.
|
Copyright 2002 Yospace Holdings Ltd. All Rights Reserved. | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||