com.ebmwebsourcing.bpmndiagram.presentation.gwt.client.widget
Class ContextMenuBar

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.MenuBar
              extended by com.ebmwebsourcing.bpmndiagram.presentation.gwt.client.widget.ContextMenuBar
All Implemented Interfaces:
com.google.gwt.event.logical.shared.HasCloseHandlers<com.google.gwt.user.client.ui.PopupPanel>, com.google.gwt.event.shared.HasHandlers, com.google.gwt.user.client.EventListener, com.google.gwt.user.client.ui.HasAnimation, com.google.gwt.user.client.ui.PopupListener

public class ContextMenuBar
extends com.google.gwt.user.client.ui.MenuBar

This class is only useful to provide a larger scope to MenuBar.getItems() method... This is against the OOP laws and is a very well known anti-pattern.. see : anti-patterns (Abstraction inversion) see : Abstraction inversion...

Author:
enhan

Nested Class Summary
 
Nested classes/interfaces inherited from class com.google.gwt.user.client.ui.MenuBar
com.google.gwt.user.client.ui.MenuBar.MenuBarImages, com.google.gwt.user.client.ui.MenuBar.Resources
 
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
 
Field Summary
 
Fields inherited from class com.google.gwt.user.client.ui.UIObject
DEBUG_ID_PREFIX
 
Constructor Summary
ContextMenuBar()
           
ContextMenuBar(boolean vertical)
           
ContextMenuBar(boolean vertical, com.google.gwt.user.client.ui.MenuBar.Resources resources)
           
ContextMenuBar(com.google.gwt.user.client.ui.MenuBar.Resources resources)
           
 
Method Summary
 
Methods inherited from class com.google.gwt.user.client.ui.MenuBar
addCloseHandler, addItem, addItem, addItem, addItem, addItem, addSeparator, addSeparator, clearItems, focus, getAutoOpen, getItemIndex, getItems, getSelectedItem, getSeparatorIndex, insertItem, insertSeparator, insertSeparator, isAnimationEnabled, isFocusOnHoverEnabled, moveSelectionDown, moveSelectionUp, onBrowserEvent, onDetach, onEnsureDebugId, onPopupClosed, removeItem, removeSeparator, selectItem, setAnimationEnabled, setAutoOpen, setFocusOnHoverEnabled
 
Methods inherited from class com.google.gwt.user.client.ui.Widget
addDomHandler, addHandler, delegateEvent, doAttachChildren, doDetachChildren, fireEvent, getHandlerCount, getLayoutData, getParent, isAttached, isOrWasAttached, onAttach, 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, removeStyleDependentName, removeStyleName, setElement, setElement, setHeight, setPixelSize, setSize, 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

ContextMenuBar

public ContextMenuBar()

ContextMenuBar

public ContextMenuBar(boolean vertical,
                      com.google.gwt.user.client.ui.MenuBar.Resources resources)

ContextMenuBar

public ContextMenuBar(boolean vertical)

ContextMenuBar

public ContextMenuBar(com.google.gwt.user.client.ui.MenuBar.Resources resources)


Copyright © 2010 eBM WebSourcing. All Rights Reserved.