|
||||||||||
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.google.gwt.user.client.ui.Composite
org.drools.guvnor.client.util.DecoratedDisclosurePanel
public class DecoratedDisclosurePanel
Disclosure panel with rounded corners in header. Using this class we don't need to set the header and event handlers for the header everywhere we use DisclosurePanels.
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 |
Nested classes/interfaces inherited from interface com.google.gwt.user.client.ui.HasWidgets |
---|
com.google.gwt.user.client.ui.HasWidgets.ForIsWidget |
Field Summary |
---|
Fields inherited from class com.google.gwt.user.client.ui.UIObject |
---|
DEBUG_ID_PREFIX |
Constructor Summary | |
---|---|
DecoratedDisclosurePanel(String headerText)
|
Method Summary | |
---|---|
void |
add(com.google.gwt.user.client.ui.Widget w)
|
com.google.gwt.event.shared.HandlerRegistration |
addCloseHandler(com.google.gwt.event.logical.shared.CloseHandler<com.google.gwt.user.client.ui.DisclosurePanel> handler)
|
com.google.gwt.event.shared.HandlerRegistration |
addOpenHandler(com.google.gwt.event.logical.shared.OpenHandler<com.google.gwt.user.client.ui.DisclosurePanel> openHandler)
|
void |
clear()
|
boolean |
isOpen()
|
Iterator<com.google.gwt.user.client.ui.Widget> |
iterator()
|
boolean |
remove(com.google.gwt.user.client.ui.Widget w)
|
void |
setContent(com.google.gwt.user.client.ui.Widget content)
|
void |
setOpen(boolean b)
|
Methods inherited from class com.google.gwt.user.client.ui.Composite |
---|
getWidget, initWidget, isAttached, onAttach, onBrowserEvent, onDetach, setWidget |
Methods inherited from class com.google.gwt.user.client.ui.Widget |
---|
addAttachHandler, addDomHandler, addHandler, asWidget, asWidgetOrNull, createHandlerManager, delegateEvent, doAttachChildren, doDetachChildren, fireEvent, getHandlerCount, getLayoutData, getParent, isOrWasAttached, onLoad, onUnload, removeFromParent, setLayoutData, sinkEvents |
Methods inherited from class com.google.gwt.user.client.ui.UIObject |
---|
addStyleDependentName, addStyleName, ensureDebugId, ensureDebugId, ensureDebugId, getAbsoluteLeft, getAbsoluteTop, getElement, getOffsetHeight, getOffsetWidth, getStyleElement, getStyleName, getStyleName, getStylePrimaryName, getStylePrimaryName, getTitle, isVisible, isVisible, onEnsureDebugId, removeStyleDependentName, removeStyleName, setElement, setElement, setHeight, setPixelSize, setSize, setStyleDependentName, setStyleName, setStyleName, setStyleName, setStyleName, setStylePrimaryName, setStylePrimaryName, setTitle, setVisible, setVisible, setWidth, toString, unsinkEvents |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface com.google.gwt.event.shared.HasHandlers |
---|
fireEvent |
Constructor Detail |
---|
public DecoratedDisclosurePanel(String headerText)
Method Detail |
---|
public void add(com.google.gwt.user.client.ui.Widget w)
add
in interface com.google.gwt.user.client.ui.HasWidgets
public void setContent(com.google.gwt.user.client.ui.Widget content)
public com.google.gwt.event.shared.HandlerRegistration addOpenHandler(com.google.gwt.event.logical.shared.OpenHandler<com.google.gwt.user.client.ui.DisclosurePanel> openHandler)
addOpenHandler
in interface com.google.gwt.event.logical.shared.HasOpenHandlers<com.google.gwt.user.client.ui.DisclosurePanel>
public com.google.gwt.event.shared.HandlerRegistration addCloseHandler(com.google.gwt.event.logical.shared.CloseHandler<com.google.gwt.user.client.ui.DisclosurePanel> handler)
addCloseHandler
in interface com.google.gwt.event.logical.shared.HasCloseHandlers<com.google.gwt.user.client.ui.DisclosurePanel>
public void clear()
clear
in interface com.google.gwt.user.client.ui.HasWidgets
public Iterator<com.google.gwt.user.client.ui.Widget> iterator()
iterator
in interface com.google.gwt.user.client.ui.HasWidgets
iterator
in interface Iterable<com.google.gwt.user.client.ui.Widget>
public boolean remove(com.google.gwt.user.client.ui.Widget w)
remove
in interface com.google.gwt.user.client.ui.HasWidgets
public void setOpen(boolean b)
public boolean isOpen()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |