public class ColorsPanelWidget extends com.google.gwt.user.client.ui.Composite implements com.google.gwt.event.dom.client.HasClickHandlers, com.google.gwt.user.client.ui.HasValue<String>, com.google.gwt.user.client.ui.HasName
Constructor and Description |
---|
ColorsPanelWidget() |
Modifier and Type | Method and Description |
---|---|
com.google.gwt.event.shared.HandlerRegistration |
addClickHandler(com.google.gwt.event.dom.client.ClickHandler handler) |
com.google.gwt.event.shared.HandlerRegistration |
addValueChangeHandler(com.google.gwt.event.logical.shared.ValueChangeHandler<String> handler) |
String |
getName() |
Color |
getSelectedColor() |
String |
getValue() |
void |
setName(String name) |
void |
setSelectedColor(String color) |
void |
setValue(String value) |
void |
setValue(String value,
boolean fireEvents) |
claimElement, initializeClaimedElement, isAttached, onBrowserEvent, render, render
addAttachHandler, addBitlessDomHandler, addDomHandler, addHandler, asWidget, asWidgetOrNull, fireEvent, getLayoutData, getParent, removeFromParent, setLayoutData, sinkEvents
addStyleDependentName, addStyleName, ensureDebugId, ensureDebugId, getAbsoluteLeft, getAbsoluteTop, getElement, getOffsetHeight, getOffsetWidth, getStyleName, getStylePrimaryName, getTitle, isVisible, isVisible, removeStyleDependentName, removeStyleName, setHeight, setPixelSize, setSize, setStyleDependentName, setStyleName, setStyleName, setStylePrimaryName, setTitle, setVisible, setVisible, setWidth, sinkBitlessEvent, toString, unsinkEvents
public Color getSelectedColor()
public void setSelectedColor(String color)
public com.google.gwt.event.shared.HandlerRegistration addClickHandler(com.google.gwt.event.dom.client.ClickHandler handler)
addClickHandler
in interface com.google.gwt.event.dom.client.HasClickHandlers
public String getValue()
public void setValue(String value)
public void setValue(String value, boolean fireEvents)
setValue
in interface com.google.gwt.user.client.ui.HasValue<String>
public com.google.gwt.event.shared.HandlerRegistration addValueChangeHandler(com.google.gwt.event.logical.shared.ValueChangeHandler<String> handler)
addValueChangeHandler
in interface com.google.gwt.event.logical.shared.HasValueChangeHandlers<String>
public String getName()
getName
in interface com.google.gwt.user.client.ui.HasName
public void setName(String name)
setName
in interface com.google.gwt.user.client.ui.HasName
Copyright © 2015 Nuxeo SA. All rights reserved.