|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.ObjectWidget
com.vaadin.client.ui.VColorPickerArea
public class VColorPickerArea
Client side implementation for ColorPickerArea.
| Field Summary | |
|---|---|
static java.lang.String |
CLASSNAME
|
| Constructor Summary | |
|---|---|
VColorPickerArea()
Initializes an area-style color picker widget. |
|
| Method Summary | |
|---|---|
com.google.gwt.event.shared.HandlerRegistration |
addClickHandler(ClickHandler handler)
Adds a click handler to the widget and sinks the click event. |
java.lang.String |
getHTML()
Gets the caption's contents as HTML. |
java.lang.String |
getText()
Gets the caption's contents as text. |
boolean |
isOpen()
Check the popup's marked state. |
void |
onBrowserEvent(Event event)
|
void |
onClick(ClickEvent event)
|
void |
refreshColor()
Update the color area with the currently set color. |
void |
setColor(java.lang.String color)
Sets the color for the area. |
void |
setHeight(java.lang.String height)
Sets the color area's height. |
void |
setHTML(java.lang.String html)
Sets the caption's content to the given HTML. |
void |
setOpen(boolean open)
Mark the popup opened/closed. |
void |
setStylePrimaryName(java.lang.String style)
|
void |
setText(java.lang.String text)
Sets the caption's content to the given text. |
void |
setWidth(java.lang.String width)
Sets the color area's width. |
| 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
| Constructor Detail |
|---|
public VColorPickerArea()
| Method Detail |
|---|
public com.google.gwt.event.shared.HandlerRegistration addClickHandler(ClickHandler handler)
handler -
public void onClick(ClickEvent event)
public void onBrowserEvent(Event event)
public void setOpen(boolean open)
open - public boolean isOpen()
public void setText(java.lang.String text)
text - Label#setText(String)public java.lang.String getText()
public void setHTML(java.lang.String html)
html - public java.lang.String getHTML()
public void setColor(java.lang.String color)
color - public void refreshColor()
public void setStylePrimaryName(java.lang.String style)
public void setHeight(java.lang.String height)
public void setWidth(java.lang.String width)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||