com.maryanovsky.gwtutils.client
Class PilePanel
java.lang.Object
com.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.ComplexPanel
com.maryanovsky.gwtutils.client.PilePanel
- All Implemented Interfaces:
- EventListener, HasWidgets, IndexedPanel, Iterable<Widget>
public class PilePanel
- extends ComplexPanel
A panel which piles its children on top of each other, each placed at
0,0 and fills the 100% of the width and height of the panel.
- Author:
- Maryanovsky Alexander
|
Constructor Summary |
PilePanel()
Creates a new PilePanel. |
|
Method Summary |
void |
add(Widget widget)
Adds the specified widget to this panel at z-index 0. |
void |
add(Widget widget,
int zIndex)
Adds the specified widget at the specified z-index. |
| Methods inherited from class com.google.gwt.user.client.ui.ComplexPanel |
add, adjustIndex, checkIndexBoundsForAccess, checkIndexBoundsForInsertion, getChildren, getWidget, getWidgetCount, getWidgetIndex, insert, insert, iterator, remove, remove |
| 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, setElement, setElement, setHeight, setPixelSize, setSize, setStyleName, setStyleName, setStyleName, setStylePrimaryName, setStylePrimaryName, setTitle, setVisible, setVisible, setWidth, sinkEvents, toString, unsinkEvents |
PilePanel
public PilePanel()
- Creates a new
PilePanel.
add
public void add(Widget widget)
- Adds the specified widget to this panel at z-index 0. Widgets with same
z-index value appear in the order they were added (later ones on top).
- Specified by:
add in interface HasWidgets- Overrides:
add in class Panel
add
public void add(Widget widget,
int zIndex)
- Adds the specified widget at the specified z-index. Widgets with higher
z-index values appear on top of widgets with lower z-index values.