|
||||||||||
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.itmill.toolkit.terminal.gwt.client.ui.IToolkitOverlay
public class IToolkitOverlay
In Toolkit UI this Overlay should always be used for all elements that temporary float over other components like context menus etc. This is to deal stacking order correctly with IWindow objects.
Nested Class Summary | |
---|---|
protected class |
IToolkitOverlay.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 | |
---|---|
static String |
CLASSNAME_SHADOW
|
protected static int |
Z_INDEX
|
Fields inherited from class com.google.gwt.user.client.ui.UIObject |
---|
DEBUG_ID_PREFIX |
Constructor Summary | |
---|---|
IToolkitOverlay()
|
|
IToolkitOverlay(boolean autoHide)
|
|
IToolkitOverlay(boolean autoHide,
boolean modal)
|
|
IToolkitOverlay(boolean autoHide,
boolean modal,
boolean showShadow)
|
Method Summary | |
---|---|
void |
setHeight(String height)
|
void |
setPopupPosition(int left,
int top)
|
protected void |
setShadowStyle(String style)
Sets the shadow style for this overlay. |
void |
setWidth(String width)
|
protected void |
setZIndex(int zIndex)
Set the z-index (visual stack position) for this overlay. |
void |
show()
|
protected void |
updateShadowSizeAndPosition()
|
Methods inherited from class com.google.gwt.user.client.ui.PopupPanel |
---|
addPopupListener, center, getContainerElement, getOffsetHeight, getOffsetWidth, getPopupLeft, getPopupTop, getTitle, hide, hide, isAnimationEnabled, onDetach, onEventPreview, onKeyDownPreview, onKeyPressPreview, onKeyUpPreview, removePopupListener, setAnimationEnabled, setPopupPositionAndShow, setTitle, setWidget, setVisible |
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, onUnload, orphan |
Methods inherited from class com.google.gwt.user.client.ui.Widget |
---|
getParent, isAttached, onAttach, onBrowserEvent, removeFromParent |
Methods inherited from class com.google.gwt.user.client.ui.UIObject |
---|
addStyleDependentName, addStyleName, ensureDebugId, ensureDebugId, ensureDebugId, getAbsoluteLeft, getAbsoluteTop, getElement, getStyleElement, getStyleName, getStyleName, getStylePrimaryName, getStylePrimaryName, isVisible, isVisible, onEnsureDebugId, removeStyleDependentName, removeStyleName, setElement, setElement, setPixelSize, setSize, setStyleName, setStyleName, setStyleName, setStylePrimaryName, setStylePrimaryName, setVisible, sinkEvents, toString, unsinkEvents |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
protected static int Z_INDEX
public static final String CLASSNAME_SHADOW
Constructor Detail |
---|
public IToolkitOverlay()
public IToolkitOverlay(boolean autoHide)
public IToolkitOverlay(boolean autoHide, boolean modal)
public IToolkitOverlay(boolean autoHide, boolean modal, boolean showShadow)
Method Detail |
---|
protected void setZIndex(int zIndex)
zIndex
- The new z-indexpublic void setPopupPosition(int left, int top)
setPopupPosition
in class com.google.gwt.user.client.ui.PopupPanel
public void show()
show
in class com.google.gwt.user.client.ui.PopupPanel
public void setWidth(String width)
setWidth
in class com.google.gwt.user.client.ui.PopupPanel
public void setHeight(String height)
setHeight
in class com.google.gwt.user.client.ui.PopupPanel
protected void setShadowStyle(String style)
style
- The new style name for the shadow element. Will be prefixed by
CLASSNAME_SHADOW, e.g. style=='foobar' -> actual style
name=='i-shadow-foobar'.protected void updateShadowSizeAndPosition()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |