|
||||||||||
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.Panel
com.google.gwt.user.client.ui.SimplePanel
com.google.gwt.user.client.ui.PopupPanel
com.vaadin.terminal.gwt.client.ui.VOverlay
com.vaadin.terminal.gwt.client.ui.VContextMenu
public class VContextMenu
Nested Class Summary |
---|
Nested classes/interfaces inherited from class com.vaadin.terminal.gwt.client.ui.VOverlay |
---|
VOverlay.ShadowAnimation |
Nested classes/interfaces inherited from class com.google.gwt.user.client.ui.PopupPanel |
---|
com.google.gwt.user.client.ui.PopupPanel.PositionCallback |
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.vaadin.terminal.gwt.client.ui.VOverlay |
---|
CLASSNAME_SHADOW, Z_INDEX |
Fields inherited from class com.google.gwt.user.client.ui.UIObject |
---|
DEBUG_ID_PREFIX |
Constructor Summary | |
---|---|
VContextMenu()
This method should be used only by Client object as only one per client should exists. |
Method Summary | |
---|---|
void |
ensureHidden(ActionOwner actionOwner)
Hides context menu if it is currently shown by given action owner. |
com.google.gwt.user.client.Element |
getSubPartElement(String subPart)
|
String |
getSubPartName(com.google.gwt.user.client.Element subElement)
|
void |
setActionOwner(ActionOwner ao)
Sets the element from which to build menu |
void |
showAt(ActionOwner ao,
int left,
int top)
|
void |
showAt(int left,
int top)
Shows context menu at given location. |
Methods inherited from class com.vaadin.terminal.gwt.client.ui.VOverlay |
---|
hide, setHeight, setPopupPosition, setShadowStyle, setVisible, setWidth, setZIndex, show, updateShadowSizeAndPosition |
Methods inherited from class com.google.gwt.user.client.ui.PopupPanel |
---|
addAutoHidePartner, addCloseHandler, addPopupListener, center, getContainerElement, getGlassElement, getGlassStyleName, getOffsetHeight, getOffsetWidth, getPopupLeft, getPopupTop, getStyleElement, getTitle, hide, isAnimationEnabled, isAutoHideEnabled, isAutoHideOnHistoryEventsEnabled, isGlassEnabled, isModal, isPreviewingAllNativeEvents, isShowing, isVisible, onEventPreview, onKeyDownPreview, onKeyPressPreview, onKeyUpPreview, onPreviewNativeEvent, onUnload, removeAutoHidePartner, removePopupListener, setAnimationEnabled, setAutoHideEnabled, setAutoHideOnHistoryEventsEnabled, setGlassEnabled, setGlassStyleName, setModal, setPopupPositionAndShow, setPreviewingAllNativeEvents, setTitle, setWidget, showRelativeTo |
Methods inherited from class com.google.gwt.user.client.ui.SimplePanel |
---|
add, getWidget, iterator, remove |
Methods inherited from class com.google.gwt.user.client.ui.Panel |
---|
adopt, adopt, clear, disown, doAttachChildren, doDetachChildren, onLoad, orphan |
Methods inherited from class com.google.gwt.user.client.ui.Widget |
---|
addDomHandler, addHandler, delegateEvent, fireEvent, getHandlerCount, getLayoutData, getParent, isAttached, isOrWasAttached, onAttach, onBrowserEvent, onDetach, removeFromParent, setLayoutData, sinkEvents |
Methods inherited from class com.google.gwt.user.client.ui.UIObject |
---|
addStyleDependentName, addStyleName, ensureDebugId, ensureDebugId, ensureDebugId, getAbsoluteLeft, getAbsoluteTop, getElement, getStyleName, getStyleName, getStylePrimaryName, getStylePrimaryName, isVisible, onEnsureDebugId, removeStyleDependentName, removeStyleName, setElement, setElement, setPixelSize, setSize, setStyleName, setStyleName, setStyleName, setStylePrimaryName, setStylePrimaryName, setVisible, 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 VContextMenu()
cli
- to be set as an owner of menuMethod Detail |
---|
public void setActionOwner(ActionOwner ao)
ao
- public void showAt(int left, int top)
left
- top
- public void showAt(ActionOwner ao, int left, int top)
public com.google.gwt.user.client.Element getSubPartElement(String subPart)
getSubPartElement
in interface SubPartAware
public String getSubPartName(com.google.gwt.user.client.Element subElement)
getSubPartName
in interface SubPartAware
public void ensureHidden(ActionOwner actionOwner)
actionOwner
-
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |