|
||||||||||
| 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.sencha.gxt.widget.core.client.Component
com.sencha.gxt.widget.core.client.CollapsePanel
public class CollapsePanel
Acts as a stand-in for a collapsed ContentPanel. Used by
BorderLayoutContainer.
| Nested Class Summary | |
|---|---|
static interface |
CollapsePanel.CollapsePanelAppearance
Provides the appearance of a CollapsePanel. |
| Nested classes/interfaces inherited from class com.google.gwt.user.client.ui.UIObject |
|---|
UIObject.DebugIdImpl, UIObject.DebugIdImplEnabled |
| Field Summary |
|---|
| Fields inherited from class com.google.gwt.user.client.ui.UIObject |
|---|
DEBUG_ID_PREFIX |
| Constructor Summary | |
|---|---|
CollapsePanel(ContentPanel panel,
BorderLayoutContainer.BorderLayoutData data,
Style.LayoutRegion region)
Creates a CollapsePanel that acts as a stand-in for the given panel
when it is collapsed. |
|
| Method Summary | |
|---|---|
HandlerRegistration |
addExpandHandler(ExpandEvent.ExpandHandler handler)
Adds a ExpandEvent.ExpandHandler handler for ExpandEvent events. |
void |
collapse()
Collapses an expanded CollapsePanel, optionally animating it so
that it appears to collapse toward the direction of its associated region. |
void |
collapseHidden()
Collapses a CollapsePanel so that it is hidden. |
void |
expand()
Expands a collapsed CollapsePanel, optionally animating it so that
it appears to expand from the direction of its associated region. |
ContentPanel |
getContentPanel()
Returns the ContentPanel associated with this CollapsePanel
. |
Style.LayoutRegion |
getRegion()
Returns the Style.LayoutRegion associated with this CollapsePanel
. |
SplitBar |
getSplitBar()
Returns the split bar, creating it if necessary. |
void |
onBrowserEvent(Event event)
|
| Methods inherited from class com.google.gwt.user.client.ui.Widget |
|---|
addAttachHandler, addBitlessDomHandler, addDomHandler, addHandler, asWidget, asWidgetOrNull, getLayoutData, getParent, isAttached, removeFromParent, setLayoutData, sinkEvents |
| Methods inherited from class com.google.gwt.user.client.ui.UIObject |
|---|
addStyleDependentName, addStyleName, ensureDebugId, ensureDebugId, getAbsoluteLeft, getAbsoluteTop, getOffsetHeight, getOffsetWidth, getStyleName, getStylePrimaryName, getTitle, isVisible, removeStyleDependentName, removeStyleName, setStyleDependentName, setStyleName, setStyleName, setStylePrimaryName, setTitle, setVisible, sinkBitlessEvent, toString, unsinkEvents |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public CollapsePanel(ContentPanel panel,
BorderLayoutContainer.BorderLayoutData data,
Style.LayoutRegion region)
CollapsePanel that acts as a stand-in for the given panel
when it is collapsed.
panel - the content paneldata - layout data describing a region in a border panelregion - the region this panel occupies in the border panel| Method Detail |
|---|
public HandlerRegistration addExpandHandler(ExpandEvent.ExpandHandler handler)
ExpandEvent.HasExpandHandlersExpandEvent.ExpandHandler handler for ExpandEvent events.
addExpandHandler in interface ExpandEvent.HasExpandHandlershandler - the handler
public void collapse()
CollapsePanel, optionally animating it so
that it appears to collapse toward the direction of its associated region.
Has no effect if the panel is not expanded.
public SplitBar getSplitBar()
BorderLayoutContainer.BorderLayoutData.isCollapseMini() true.
public void collapseHidden()
CollapsePanel so that it is hidden.
public void expand()
CollapsePanel, optionally animating it so that
it appears to expand from the direction of its associated region. Has no
effect if the panel is not collapsed.
public ContentPanel getContentPanel()
ContentPanel associated with this CollapsePanel
.
public Style.LayoutRegion getRegion()
Style.LayoutRegion associated with this CollapsePanel
.
public void onBrowserEvent(Event event)
onBrowserEvent in interface EventListeneronBrowserEvent in class Component
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||