com.sage.swt.client.widget.contextmenu
Class ExtendedContextMenuItem

java.lang.Object
  extended by com.google.gwt.user.client.ui.UIObject
      extended by com.google.gwt.user.client.ui.MenuItem
          extended by com.sage.swt.client.widget.contextmenu.ExtendedContextMenuItem
All Implemented Interfaces:
com.google.gwt.safehtml.client.HasSafeHtml, com.google.gwt.user.client.ui.HasEnabled, com.google.gwt.user.client.ui.HasHTML, com.google.gwt.user.client.ui.HasText

public class ExtendedContextMenuItem
extends com.google.gwt.user.client.ui.MenuItem

ExtendedFinderMenuItem Class which extends com.google.gwt.user.client.ui.MenuItem is the visual component which will be displayed in the SwtContextMenu widget popup panel. ExtendedContextMenuItem holds the ContextMenuItem which performs the event handling


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
 
Field Summary
 
Fields inherited from class com.google.gwt.user.client.ui.UIObject
DEBUG_ID_PREFIX
 
Constructor Summary
ExtendedContextMenuItem(java.lang.String text, boolean asHTML, ContextMenuItem menuItem)
          Constructor.
 
Method Summary
 
Methods inherited from class com.google.gwt.user.client.ui.MenuItem
getCommand, getHTML, getParentMenu, getSubMenu, getText, isEnabled, onEnsureDebugId, setCommand, setEnabled, setHTML, setHTML, setSelectionStyle, setSubMenu, setText
 
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, setStyleDependentName, setStyleName, setStyleName, setStyleName, setStyleName, setStylePrimaryName, setStylePrimaryName, setTitle, setVisible, setVisible, setWidth, sinkBitlessEvent, sinkEvents, toString, unsinkEvents
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ExtendedContextMenuItem

public ExtendedContextMenuItem(java.lang.String text,
                               boolean asHTML,
                               ContextMenuItem menuItem)
Constructor.

Parameters:
text - The Content which will be displayed inside the menuItem
asHTML - The content to be made as HTML or not
menuItem - The non visual component ContextMenuItem which will be holded by ExtendedContextMenuItem


Copyright © 2011 Sage Software, Inc. All rights reserved.