|
||||||||||
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.FocusPanel
com.google.gwt.widgetideas.client.GlassPanel
public class GlassPanel
Semi-transparent panel which can be attached to any AbsolutePanel, although
typically a RootPanel via
parent.add(glassPanel, 0, 0)
.
Note that GWT
issue 1813 needs to be considered in order to properly use
RootPanel.get(id)
as the parent panel in the general case.
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 | |
---|---|
GlassPanel(boolean autoHide)
Create a glass panel widget that can be attached to an AbsolutePanel via absolutePanel.add(glassPanel, 0, 0) . |
Method Summary | |
---|---|
protected void |
onAttach()
|
protected void |
onDetach()
|
boolean |
onEventPreview(com.google.gwt.user.client.Event event)
|
Methods inherited from class com.google.gwt.user.client.ui.FocusPanel |
---|
addClickListener, addFocusListener, addKeyboardListener, addMouseListener, addMouseWheelListener, getTabIndex, onBrowserEvent, removeClickListener, removeFocusListener, removeKeyboardListener, removeMouseListener, removeMouseWheelListener, setAccessKey, setFocus, setTabIndex |
Methods inherited from class com.google.gwt.user.client.ui.SimplePanel |
---|
add, getContainerElement, getWidget, iterator, remove, setWidget |
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, removeFromParent, setElement |
Methods inherited from class com.google.gwt.user.client.ui.UIObject |
---|
addStyleDependentName, addStyleName, ensureDebugId, ensureDebugId, getAbsoluteLeft, getAbsoluteTop, getElement, getOffsetHeight, getOffsetWidth, getStyleElement, getStyleName, getStyleName, getStylePrimaryName, getStylePrimaryName, getTitle, isVisible, isVisible, onEnsureDebugId, removeStyleDependentName, removeStyleName, setHeight, setPixelSize, setSize, setStyleName, setStyleName, setStyleName, setStylePrimaryName, setStylePrimaryName, setTitle, setVisible, setVisible, setWidth, sinkEvents, toString, unsinkEvents |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public GlassPanel(boolean autoHide)
absolutePanel.add(glassPanel, 0, 0)
.
autoHide
- true
if the glass panel should be
automatically hidden when the user clicks on it or presses
ESC
.Method Detail |
---|
public boolean onEventPreview(com.google.gwt.user.client.Event event)
onEventPreview
in interface com.google.gwt.user.client.EventPreview
protected void onAttach()
onAttach
in class com.google.gwt.user.client.ui.Widget
protected void onDetach()
onDetach
in class com.google.gwt.user.client.ui.Widget
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |