|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.ObjectSimplePanel
com.vaadin.client.ui.SimpleFocusablePanel
com.vaadin.client.ui.VSlider
public class VSlider
| Field Summary | |
|---|---|
static java.lang.String |
CLASSNAME
|
protected ApplicationConnection |
client
|
protected boolean |
disabled
|
protected java.lang.String |
id
|
protected boolean |
immediate
|
protected double |
max
|
protected double |
min
|
protected com.vaadin.shared.ui.slider.SliderOrientation |
orientation
|
protected boolean |
readonly
|
protected int |
resolution
|
protected java.lang.Double |
value
|
| Constructor Summary | |
|---|---|
VSlider()
|
|
| Method Summary | |
|---|---|
com.google.gwt.event.shared.HandlerRegistration |
addValueChangeHandler(com.google.gwt.event.logical.shared.ValueChangeHandler<java.lang.Double> handler)
|
void |
buildBase()
For internal use only. |
protected int |
getEventPosition(Event event)
TODO consider extracting touches support to an impl class specific for webkit (only browser that really supports touches). |
protected int |
getNavigationDownKey()
Get the key that decreases the vertical slider. |
protected int |
getNavigationLeftKey()
Get the key that decreases the horizontal slider. |
protected int |
getNavigationRightKey()
Get the key that increases the horizontal slider. |
protected int |
getNavigationUpKey()
Get the key that increases the vertical slider. |
com.google.gwt.user.client.Element |
getSubPartElement(java.lang.String subPart)
Returns the feedback popup if subPart is "popup" and null otherwise. |
java.lang.String |
getSubPartName(com.google.gwt.user.client.Element subElement)
Returns "popup" if any element is or has a child that corresponds to subElement. |
java.lang.Double |
getValue()
|
boolean |
handleNavigation(int keycode,
boolean ctrl,
boolean shift)
Handles the keyboard events handled by the Slider |
void |
iLayout()
|
void |
onBrowserEvent(Event event)
|
void |
setConnection(ApplicationConnection client)
|
void |
setDisabled(boolean disabled)
|
void |
setFeedbackValue(double value)
|
void |
setId(java.lang.String id)
|
void |
setImmediate(boolean immediate)
|
void |
setMaxValue(double value)
|
void |
setMinValue(double value)
|
void |
setOrientation(com.vaadin.shared.ui.slider.SliderOrientation orientation)
|
void |
setReadOnly(boolean readonly)
|
void |
setResolution(int resolution)
|
void |
setStyleName(java.lang.String style)
|
void |
setStylePrimaryName(java.lang.String style)
|
void |
setValue(java.lang.Double value)
|
void |
setValue(java.lang.Double value,
boolean fireEvents)
|
protected void |
updateStyleNames(java.lang.String styleName,
boolean isPrimaryStyleName)
|
| Methods inherited from class com.vaadin.client.ui.SimpleFocusablePanel |
|---|
addBlurHandler, addFocusHandler, addKeyDownHandler, addKeyPressHandler, addKeyUpHandler, focus, setFocus, setTabIndex |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final java.lang.String CLASSNAME
protected ApplicationConnection client
protected java.lang.String id
protected boolean immediate
protected boolean disabled
protected boolean readonly
protected double min
protected double max
protected int resolution
protected java.lang.Double value
protected com.vaadin.shared.ui.slider.SliderOrientation orientation
| Constructor Detail |
|---|
public VSlider()
| Method Detail |
|---|
public void setStyleName(java.lang.String style)
public void setStylePrimaryName(java.lang.String style)
protected void updateStyleNames(java.lang.String styleName,
boolean isPrimaryStyleName)
public void setFeedbackValue(double value)
public void buildBase()
public void onBrowserEvent(Event event)
protected int getEventPosition(Event event)
event -
public void iLayout()
public boolean handleNavigation(int keycode,
boolean ctrl,
boolean shift)
event - The keyboard event received
protected int getNavigationUpKey()
protected int getNavigationDownKey()
protected int getNavigationLeftKey()
protected int getNavigationRightKey()
public void setConnection(ApplicationConnection client)
public void setId(java.lang.String id)
public void setImmediate(boolean immediate)
public void setDisabled(boolean disabled)
public void setReadOnly(boolean readonly)
public void setOrientation(com.vaadin.shared.ui.slider.SliderOrientation orientation)
public void setMinValue(double value)
public void setMaxValue(double value)
public void setResolution(int resolution)
public com.google.gwt.event.shared.HandlerRegistration addValueChangeHandler(com.google.gwt.event.logical.shared.ValueChangeHandler<java.lang.Double> handler)
public java.lang.Double getValue()
public void setValue(java.lang.Double value)
public void setValue(java.lang.Double value,
boolean fireEvents)
public com.google.gwt.user.client.Element getSubPartElement(java.lang.String subPart)
getSubPartElement in interface SubPartAwaresubPart - The identifier for the element inside the component
public java.lang.String getSubPartName(com.google.gwt.user.client.Element subElement)
getSubPartName in interface SubPartAwaresubElement - The element the identifier string should uniquely identify
subElement or null
if no identifier could be provided.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||