public class NoTransitionContainer extends TransitionContainer
Only useful to easily and dynamically replace another transition container.
DURATION
EMPTY_ELEMENT_ARRAY
Constructor and Description |
---|
NoTransitionContainer()
Creates a no transition container.
|
Modifier and Type | Method and Description |
---|---|
void |
show(ej.mwt.Widget widget,
boolean forward)
Shows a new widget.
|
protected void |
updateStep(int step)
Updates the current step.
|
addAnimationStepListener, cancelAnimation, createMotion, getDuration, getMotionFactory, hideNotify, notifyAnimationStepListeners, notifyAnimationStepListeners, removeAnimationStepListener, resetContext, setBoundsContent, setChildBounds, setDuration, setMotionFactory, startAnimation, stopAnimation, tick, validateContent
add, addClassSelector, contains, gainFocus, getAttribute, getChild, getChildrenCount, getChildrenElements, getParentElement, getStyle, hasClassSelector, isInState, isTransparent, lostFocus, mergeStyle, removeAllClassSelectors, removeClassSelector, removeInstanceStyle, render, renderContent, setBounds, setClassSelectors, setEnabled, updateStyle, updateStyleOnly, validate
getFocus, getFocusIndex, getNext, getWidget, getWidgetAt, getWidgets, getWidgetsCount, handleEvent, iterator, remove, removeAllWidgets, requestFocus, requestFocus, requestFocusFrom, showNotify
getAbsoluteX, getAbsoluteX, getAbsoluteY, getAbsoluteY, getEventHandler, getHeight, getPanel, getParent, getPreferredHeight, getPreferredWidth, getRelativeX, getRelativeY, getWidth, getX, getY, hasFocus, invalidate, isEnabled, isShown, isValid, isVisible, repaint, repaint, revalidate, revalidateSubTree, setEventHandler, setLocation, setPreferredSize, setSize, setVisible
public NoTransitionContainer()
public void show(ej.mwt.Widget widget, boolean forward)
TransitionContainer
show
in class TransitionContainer
widget
- the new widget to show.forward
- true
if going forward, false
otherwise.protected void updateStep(int step)
TransitionContainer
Called during the animation using the current value of the motion.
updateStep
in class TransitionContainer
step
- the current step.