|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.kalmeo.kuix.widget.Widget
org.kalmeo.kuix.widget.ScrollBar
public class ScrollBar
This class represents a scroll bar.
For further informations, visit the Kuix widgets reference page.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class org.kalmeo.kuix.widget.Widget |
|---|
Widget.BindInstruction |
| Field Summary |
|---|
| Fields inherited from class org.kalmeo.kuix.widget.Widget |
|---|
bindInstructions, DEFAULT_ALIGN, DEFAULT_BACKGROUND_ALIGN, DEFAULT_BACKGROUND_REPEAT, DEFAULT_BORDER, DEFAULT_GAP, DEFAULT_MARGIN, DEFAULT_MIN_SIZE, DEFAULT_PADDING, DEFAULT_SPAN, DEFAULT_WEIGHT, next, parent, previous |
| Constructor Summary | |
|---|---|
ScrollBar()
Construct a ScrollBar |
|
ScrollBar(java.lang.String tag)
Construct a ScrollBar |
|
| Method Summary | |
|---|---|
Widget |
getBar()
|
Widget |
getInternalChildInstance(java.lang.String tag)
Returns the first internal child instance corresponding to the given tag. |
Layout |
getLayout()
|
int |
getSelection()
Return a fixed-point integer representing the selection |
int |
getValue()
Return a fixed-point integer representing the value |
boolean |
isHorizontal()
|
protected void |
paintChildrenImpl(Graphics g)
Invoke the paintImpl method on widget's children. |
protected void |
processChangeEvent()
Process a value change event produce by a UI action. |
boolean |
processPointerEvent(byte type,
int x,
int y)
Process a pointer event |
boolean |
setAttribute(java.lang.String name,
java.lang.String value)
Set the value to the specified attribute representing by
the name |
void |
setHorizontal(boolean horizontal)
|
void |
setSelection(int selection)
Define the ScrollBar selection. |
void |
setValue(int value)
Define the ScrollBar value |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ScrollBar()
ScrollBar
public ScrollBar(java.lang.String tag)
ScrollBar
| Method Detail |
|---|
public boolean setAttribute(java.lang.String name,
java.lang.String value)
Widgetvalue to the specified attribute representing by
the name
setAttribute in class Widgettrue if the attribute existspublic Widget getInternalChildInstance(java.lang.String tag)
Widgettag.
getInternalChildInstance in class Widgetpublic Widget getBar()
public int getSelection()
public void setSelection(int selection)
selection - a fixed-point integer representing the selectionpublic int getValue()
public void setValue(int value)
value - a fixed-point integer representing the valuepublic boolean isHorizontal()
public void setHorizontal(boolean horizontal)
horizontal - the horizontal to setpublic Layout getLayout()
getLayout in class Widgetprotected void paintChildrenImpl(Graphics g)
WidgetpaintImpl method on widget's children.
paintChildrenImpl in class Widgetprotected void processChangeEvent()
public boolean processPointerEvent(byte type,
int x,
int y)
Widget
processPointerEvent in class Widgettrue if the event is treated by the widget
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||