Extras
TransitionPane
Class Hierarchy:

TransitionPane component: a container pane which displays a single child pane or component, rendering an animated transition effect when its content is changed (when the child is removed and a new one is added). May contain zero or one child components. May contain pane components as children.

Class Field Summary
Public DEFAULT_DURATION
Default duration time (350ms).
Public DEFAULT_TYPE
Default transition type (immediate replace).
Public TYPE_IMMEDIATE_REPLACE
Transition setting indicating new content should immediately final int replace old content with no visual effect.
Public TYPE_CAMERA_PAN_LEFT
Transition setting describing a visual effect where the viewing area pans to the left to realize the new content.
Public TYPE_CAMERA_PAN_RIGHT
Transition setting describing a visual effect where the viewing area pans to the right to realize the new content.
Public TYPE_CAMERA_PAN_UP
Transition setting describing a visual effect where the viewing area pans up to realize the new content.
Public TYPE_CAMERA_PAN_DOWN
Transition setting describing a visual effect where the viewing area pans to up to realize the new content.
Public TYPE_BLIND_BLACK_IN
Transition setting for a horizontal blind effect with a black background.
Public TYPE_BLIND_BLACK_OUT
Transition setting for a horizontal blind effect with a black background.
Public TYPE_FADE_TO_BLACK
Transition setting to fade to black, fade in new content.
Public TYPE_FADE_TO_WHITE
Transition setting to fade to white, fade in new content.
Public TYPE_FADE
Fades to new content over old content.

Methods inherited from class Echo.Component
getFocusComponent, add, addListener, fireEvent, get, getComponent, getComponentCount, getIndex, getLayoutDirection, getLocale, getLocalStyleData, getRenderLayoutDirection, getRenderLocale, getStyle, getStyleName, indexOf, isActive, isAncestorOf, isEnabled, isRenderEnabled, register, render, renderIndex, remove, removeAll, removeListener, set, setEnabled, setIndex, setLayoutDirection, setLocale, setStyle, setStyleName, toString

Style Properties
type the transition type, one of the following values:
  • TYPE_IMMEDIATE_REPLACE
  • TYPE_CAMERA_PAN_LEFT
  • TYPE_CAMERA_PAN_RIGHT
  • TYPE_CAMERA_PAN_UP
  • TYPE_CAMERA_PAN_DOWN
  • TYPE_BLIND_BLACK_IN
  • TYPE_BLIND_BLACK_OUT
  • TYPE_FADE_TO_BLACK
  • TYPE_FADE_TO_WHITE
  • TYPE_FADE
duration Number the transition duration, in milliseconds