public class FadeScreenshotTransitionContainer extends ScreenshotTransitionContainer
forward, newScreenshot, newWidget, step, stop
DURATION
EMPTY_ELEMENT_ARRAY
Constructor and Description |
---|
FadeScreenshotTransitionContainer() |
Modifier and Type | Method and Description |
---|---|
protected int |
getStop(int contentWidth,
int contentHeight)
Gets the stop value of the motion.
|
void |
render(ej.microui.display.GraphicsContext g) |
protected void |
resetContext()
Actually shows the new widget (add it as a child) and cleans the fields.
|
isAnimating, isTransparent, show, takeScreenshot, updateStep
addAnimationStepListener, cancelAnimation, createMotion, getDuration, getMotionFactory, hideNotify, notifyAnimationStepListeners, notifyAnimationStepListeners, removeAnimationStepListener, setBoundsContent, setChildBounds, setDuration, setMotionFactory, startAnimation, stopAnimation, tick, validateContent
add, addClassSelector, contains, gainFocus, getAttribute, getChild, getChildrenCount, getChildrenElements, getParentElement, getStyle, hasClassSelector, isInState, lostFocus, mergeStyle, removeAllClassSelectors, removeClassSelector, removeInstanceStyle, 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 void render(ej.microui.display.GraphicsContext g)
render
in interface ej.mwt.Renderable
render
in class StyledComposite
protected int getStop(int contentWidth, int contentHeight)
ScreenshotTransitionContainer
0
.getStop
in class ScreenshotTransitionContainer
contentWidth
- the content width.contentHeight
- the content height.protected void resetContext()
ScreenshotTransitionContainer
resetContext
in class ScreenshotTransitionContainer