com.maryanovsky.gwtutils.client.ui
Class GlassPane
java.lang.Object
com.google.gwt.user.client.ui.UIObject
com.google.gwt.user.client.ui.Widget
com.maryanovsky.gwtutils.client.ui.GlassPane
- All Implemented Interfaces:
- HasAttachHandlers, HasHandlers, EventListener, HasVisibility, IsWidget
public class GlassPane
- extends Widget
A panel which can be used to cover a panel and prevent mouse events from
reaching it. By default, the glasspane's top and left are set to 0, its
width and height to 100% and its z-index to Integer.MAX_VALUE
.
- Author:
- Maryanovsky Alexander
Constructor Summary |
GlassPane()
Creates a new GlassPane . |
Method Summary |
void |
setColor(String color)
Sets the color of the glass pane. |
void |
setOpacity(double opacity)
Sets the opacity of the glass pane. |
Methods inherited from class com.google.gwt.user.client.ui.Widget |
addAttachHandler, addBitlessDomHandler, addDomHandler, addHandler, asWidget, asWidgetOrNull, createHandlerManager, delegateEvent, doAttachChildren, doDetachChildren, fireEvent, getHandlerCount, getLayoutData, getParent, isAttached, isOrWasAttached, onAttach, onBrowserEvent, onDetach, 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, onEnsureDebugId, removeStyleDependentName, removeStyleName, resolvePotentialElement, setElement, setElement, setHeight, setPixelSize, setSize, setStyleDependentName, setStyleName, setStyleName, setStyleName, setStyleName, setStylePrimaryName, setStylePrimaryName, setTitle, setVisible, setVisible, setWidth, sinkBitlessEvent, toString, unsinkEvents |
GlassPane
public GlassPane()
- Creates a new
GlassPane
.
setColor
public void setColor(String color)
- Sets the color of the glass pane.
setOpacity
public void setOpacity(double opacity)
- Sets the opacity of the glass pane.