info.magnolia.ui.vaadin.gwt.client.dialog.widget
Class DialogHeaderWidget

java.lang.Object
  extended by com.google.gwt.user.client.ui.UIObject
      extended by com.google.gwt.user.client.ui.Widget
          extended by com.google.gwt.user.client.ui.Panel
              extended by com.google.gwt.user.client.ui.ComplexPanel
                  extended by com.google.gwt.user.client.ui.FlowPanel
                      extended by info.magnolia.ui.vaadin.gwt.client.dialog.widget.DialogHeaderWidget
All Implemented Interfaces:
com.google.gwt.event.logical.shared.HasAttachHandlers, com.google.gwt.event.shared.HasHandlers, com.google.gwt.user.client.EventListener, com.google.gwt.user.client.ui.HasVisibility, com.google.gwt.user.client.ui.HasWidgets, com.google.gwt.user.client.ui.HasWidgets.ForIsWidget, com.google.gwt.user.client.ui.IndexedPanel, com.google.gwt.user.client.ui.IndexedPanel.ForIsWidget, com.google.gwt.user.client.ui.InsertPanel, com.google.gwt.user.client.ui.InsertPanel.ForIsWidget, com.google.gwt.user.client.ui.IsWidget, Iterable<com.google.gwt.user.client.ui.Widget>

public class DialogHeaderWidget
extends com.google.gwt.user.client.ui.FlowPanel

DialogHeaderWidget.


Nested Class Summary
static interface DialogHeaderWidget.DialogHeaderCallback
          Callback interface for the EditorLike header.
 
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.InsertPanel
com.google.gwt.user.client.ui.InsertPanel.ForIsWidget
 
Nested classes/interfaces inherited from interface com.google.gwt.user.client.ui.HasWidgets
com.google.gwt.user.client.ui.HasWidgets.ForIsWidget
 
Field Summary
protected  DialogHeaderWidget.DialogHeaderCallback callback
           
protected  com.google.gwt.user.client.Element caption
           
protected  CloseButton closeButton
           
protected  com.google.gwt.user.client.ui.FlowPanel descriptionPanel
           
protected  boolean hasDescription
           
protected  com.google.gwt.user.client.Element headerPanel
           
protected  com.google.gwt.user.client.ui.Button helpButton
           
protected  boolean isDescriptionVisible
           
protected  com.google.gwt.user.client.ui.Widget toolbar
           
protected  com.google.gwt.user.client.Element toolbarEl
           
 
Fields inherited from class com.google.gwt.user.client.ui.UIObject
DEBUG_ID_PREFIX
 
Constructor Summary
DialogHeaderWidget(DialogHeaderWidget.DialogHeaderCallback callback)
           
 
Method Summary
 void construct()
           
 void setCaption(String caption)
           
 void setDescription(String description)
           
 void setToolbar(com.google.gwt.user.client.ui.Widget toolbarWidget)
           
 void showCloseButton()
           
 
Methods inherited from class com.google.gwt.user.client.ui.FlowPanel
add, clear, insert, insert
 
Methods inherited from class com.google.gwt.user.client.ui.ComplexPanel
add, adjustIndex, checkIndexBoundsForAccess, checkIndexBoundsForInsertion, getChildren, getWidget, getWidgetCount, getWidgetIndex, getWidgetIndex, insert, insert, iterator, remove, remove
 
Methods inherited from class com.google.gwt.user.client.ui.Panel
add, adopt, adopt, disown, doAttachChildren, doDetachChildren, orphan, remove
 
Methods inherited from class com.google.gwt.user.client.ui.Widget
addAttachHandler, addBitlessDomHandler, addDomHandler, addHandler, asWidget, asWidgetOrNull, createHandlerManager, delegateEvent, fireEvent, getHandlerCount, getLayoutData, getParent, isAttached, isOrWasAttached, onAttach, onBrowserEvent, onDetach, onLoad, onUnload, removeFromParent, setLayoutData, sinkEvents, unsinkEvents
 
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, resolvePotentialElement, setElement, setElement, setHeight, setPixelSize, setSize, setStyleDependentName, setStyleName, setStyleName, setStyleName, setStyleName, setStylePrimaryName, setStylePrimaryName, setTitle, setVisible, setVisible, setWidth, sinkBitlessEvent, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface com.google.gwt.user.client.ui.InsertPanel.ForIsWidget
add
 
Methods inherited from interface com.google.gwt.user.client.ui.IndexedPanel.ForIsWidget
getWidgetIndex
 
Methods inherited from interface com.google.gwt.user.client.ui.IndexedPanel
getWidget, getWidgetCount, getWidgetIndex, remove
 

Field Detail

closeButton

protected CloseButton closeButton

callback

protected DialogHeaderWidget.DialogHeaderCallback callback

descriptionPanel

protected final com.google.gwt.user.client.ui.FlowPanel descriptionPanel

headerPanel

protected final com.google.gwt.user.client.Element headerPanel

caption

protected final com.google.gwt.user.client.Element caption

toolbarEl

protected final com.google.gwt.user.client.Element toolbarEl

toolbar

protected com.google.gwt.user.client.ui.Widget toolbar

isDescriptionVisible

protected boolean isDescriptionVisible

hasDescription

protected boolean hasDescription

helpButton

protected final com.google.gwt.user.client.ui.Button helpButton
Constructor Detail

DialogHeaderWidget

public DialogHeaderWidget(DialogHeaderWidget.DialogHeaderCallback callback)
Method Detail

construct

public void construct()

setDescription

public void setDescription(String description)

setCaption

public void setCaption(String caption)

setToolbar

public void setToolbar(com.google.gwt.user.client.ui.Widget toolbarWidget)

showCloseButton

public void showCloseButton()


Copyright © 2013 Magnolia International Ltd.. All Rights Reserved.