public class Facet
extends com.google.gwt.user.client.ui.Composite
implements com.google.gwt.event.dom.client.HasClickHandlers
Constructor and Description |
---|
Facet(String cssClass,
com.google.gwt.event.shared.GwtEvent<?> eventToFireOnState1) |
Facet(String cssClassForState1,
com.google.gwt.event.shared.GwtEvent<?> eventToFireOnState1,
String cssClassForState2,
com.google.gwt.event.shared.GwtEvent<?> eventToFireOnState2) |
Modifier and Type | Method and Description |
---|---|
com.google.gwt.event.shared.HandlerRegistration |
addClickHandler(com.google.gwt.event.dom.client.ClickHandler handler) |
com.google.gwt.user.client.ui.Widget |
asWidget() |
void |
changeState() |
void |
disable() |
void |
enable() |
com.google.gwt.event.shared.GwtEvent<?> |
getEventToFire() |
boolean |
isInFirstState() |
isAttached, onBrowserEvent, performDetachedInitialization, render, render, wrapElement
addAttachHandler, addBitlessDomHandler, addDomHandler, addHandler, 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 Facet(String cssClass, com.google.gwt.event.shared.GwtEvent<?> eventToFireOnState1)
public void changeState()
public void enable()
public void disable()
public com.google.gwt.user.client.ui.Widget asWidget()
asWidget
in interface com.google.gwt.user.client.ui.IsWidget
asWidget
in class com.google.gwt.user.client.ui.Widget
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 com.google.gwt.event.shared.GwtEvent<?> getEventToFire()
public boolean isInFirstState()
Copyright © 2011 Nuxeo SA. All Rights Reserved.