|
||||||||||
| 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.Composite
org.cruxframework.crux.widgets.client.swappanel.HorizontalSwapPanel
public class HorizontalSwapPanel
A panel that swaps its contents using slide animations.
| Nested Class Summary | |
|---|---|
static class |
HorizontalSwapPanel.Direction
|
| 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 | |
|---|---|
HorizontalSwapPanel()
Constructor |
|
| Method Summary | |
|---|---|
com.google.gwt.event.shared.HandlerRegistration |
addSwapHandler(SwapHandler handler)
|
void |
clear()
|
com.google.gwt.user.client.ui.Widget |
getCurrentWidget()
|
int |
getTransitionDuration()
|
boolean |
isUseFadeTransitions()
Get the useFadeTransitions property. |
void |
setCurrentWidget(com.google.gwt.user.client.ui.Widget widget)
Sets the widget that will be initially visible on this panel. |
void |
setHeight(String height)
|
void |
setTransitionDuration(int transitionDuration)
Sets the duration of the animations in milliseconds. |
void |
setUseFadeTransitions(boolean useFadeTransitions)
Set the useFadeTransitions property. |
void |
transitTo(com.google.gwt.user.client.ui.Widget w,
HorizontalSwapPanel.Direction direction)
Changes the widget being shown on this widget. |
void |
transitTo(com.google.gwt.user.client.ui.Widget w,
HorizontalSwapPanel.Direction direction,
org.cruxframework.crux.core.client.css.transition.Transition.Callback completeCallback)
Changes the widget being shown on this widget. |
| Methods inherited from class com.google.gwt.user.client.ui.Composite |
|---|
claimElement, getWidget, initializeClaimedElement, initWidget, isAttached, onAttach, onBrowserEvent, onDetach, render, render, resolvePotentialElement, setWidget |
| 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, isOrWasAttached, onLoad, onUnload, removeFromParent, setLayoutData, sinkEvents, unsinkEvents |
| 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, setPixelSize, setSize, setStyleDependentName, setStyleName, setStyleName, setStyleName, setStyleName, setStylePrimaryName, setStylePrimaryName, setTitle, setVisible, setVisible, setWidth, sinkBitlessEvent, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface com.google.gwt.event.shared.HasHandlers |
|---|
fireEvent |
| Constructor Detail |
|---|
public HorizontalSwapPanel()
| Method Detail |
|---|
public void setHeight(String height)
setHeight in class com.google.gwt.user.client.ui.UIObjectpublic com.google.gwt.event.shared.HandlerRegistration addSwapHandler(SwapHandler handler)
addSwapHandler in interface HasSwapHandlerspublic void setCurrentWidget(com.google.gwt.user.client.ui.Widget widget)
widget - public boolean isUseFadeTransitions()
public void setUseFadeTransitions(boolean useFadeTransitions)
useFadeTransitions - public com.google.gwt.user.client.ui.Widget getCurrentWidget()
public void transitTo(com.google.gwt.user.client.ui.Widget w,
HorizontalSwapPanel.Direction direction)
w - direction - the direction of the animation
public void transitTo(com.google.gwt.user.client.ui.Widget w,
HorizontalSwapPanel.Direction direction,
org.cruxframework.crux.core.client.css.transition.Transition.Callback completeCallback)
w - direction - the direction of the animationcompleteCallback - public void setTransitionDuration(int transitionDuration)
transitionDuration - public int getTransitionDuration()
public void clear()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||