|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.google.gwt.user.client.ui.UIObject
com.google.gwt.user.client.ui.Widget
com.extjs.gxt.ui.client.widget.Component
com.extjs.gxt.ui.client.widget.BoxComponent
com.extjs.gxt.ui.client.widget.Slider
public class Slider
Slider component.
BaseEvent.setCancelled(boolean).
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class com.google.gwt.user.client.ui.UIObject |
|---|
com.google.gwt.user.client.ui.UIObject.DebugIdImpl, com.google.gwt.user.client.ui.UIObject.DebugIdImplEnabled |
| Field Summary |
|---|
| Fields inherited from class com.google.gwt.user.client.ui.UIObject |
|---|
DEBUG_ID_PREFIX |
| Constructor Summary | |
|---|---|
Slider()
Creates a new slider. |
|
| Method Summary | |
|---|---|
El |
getFocusEl()
|
int |
getIncrement()
Returns the increment. |
int |
getMaxValue()
Returns the max value (defaults to 100). |
java.lang.String |
getMessage()
Returns the tool tip message. |
int |
getMinValue()
Returns the minimum value (defaults to 0). |
int |
getValue()
Returns the current value. |
boolean |
isClickToChange()
Returns whether whether or not clicking on the Slider axis will change the slider. |
boolean |
isDraggable()
Returns true if the slider is draggable. |
boolean |
isUseTip()
Returns true if tips are enabled. |
boolean |
isVertical()
|
void |
onComponentEvent(ComponentEvent ce)
Any events a component receives will be forwarded to this method. |
void |
setClickToChange(boolean clickToChange)
Determines whether or not clicking on the slider axis will change the slider (defaults to true). |
void |
setDraggable(boolean draggable)
True to allow the slider to be dragged (default to true). |
void |
setIncrement(int increment)
How many units to change the slider when adjusting by drag and drop. |
void |
setMaxValue(int maxValue)
Sets the max value (default to 100). |
void |
setMessage(java.lang.String message)
Sets the tool tip message (defaults to '{0}'). |
void |
setMinValue(int minValue)
Sets the minimum value (defaults to 0). |
void |
setUseTip(boolean useTip)
True to enable tool tips (default to true). |
void |
setValue(int value)
Sets the current value. |
void |
setValue(int value,
boolean supressEvent)
Sets the current value. |
void |
setVertical(boolean vertical)
True to orient the slider vertically (defaults to false). |
| Methods inherited from class com.extjs.gxt.ui.client.widget.BoxComponent |
|---|
getBounds, getHeight, getHeight, getPosition, getShadow, getShadowOffset, getShadowPosition, getSize, getWidth, getWidth, isAutoHeight, isAutoWidth, isDeferHeight, isShim, setAutoHeight, setAutoWidth, setBounds, setBounds, setDeferHeight, setHeight, setHeight, setPagePosition, setPagePosition, setPixelSize, setPosition, setShadow, setShadowOffset, setShadowPosition, setShim, setSize, setSize, setWidth, setWidth, sync, syncSize |
| Methods inherited from class com.google.gwt.user.client.ui.Widget |
|---|
fireEvent, getParent, isAttached |
| Methods inherited from class com.google.gwt.user.client.ui.UIObject |
|---|
addStyleDependentName, ensureDebugId, ensureDebugId, getAbsoluteLeft, getAbsoluteTop, getOffsetHeight, getOffsetWidth, getStyleName, getStylePrimaryName, getTitle, isVisible, removeStyleDependentName, setStylePrimaryName, setVisible, unsinkEvents |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public Slider()
| Method Detail |
|---|
public El getFocusEl()
public int getIncrement()
public int getMaxValue()
public java.lang.String getMessage()
public int getMinValue()
public int getValue()
public boolean isClickToChange()
public boolean isDraggable()
public boolean isUseTip()
public boolean isVertical()
public void onComponentEvent(ComponentEvent ce)
ComponentComponent.onBrowserEvent(com.google.gwt.user.client.Event) method
should not be overridden or modified.
onComponentEvent in class Componentce - the base eventpublic void setClickToChange(boolean clickToChange)
clickToChange - true to allow the slider axis to be clickedpublic void setDraggable(boolean draggable)
draggable - true to enable draggingpublic void setIncrement(int increment)
increment - the incrementpublic void setMaxValue(int maxValue)
maxValue - the max valuepublic void setMessage(java.lang.String message)
message - the tool tip messagepublic void setMinValue(int minValue)
minValue - the minimum valuepublic void setUseTip(boolean useTip)
useTip - true to enable tool tipspublic void setValue(int value)
value - the value
public void setValue(int value,
boolean supressEvent)
value - the valuesupressEvent - true to suppress the change eventpublic void setVertical(boolean vertical)
vertical - true for vertical
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||