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(GraphicsContext g)
Renders the renderable on the given graphics context.
|
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
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getEventHandler, getHeight, getWidth, getX, getY, handleEvent, isShown, repaint, repaint, setEventHandler, showNotify
public void render(GraphicsContext g)
Renderable
render
in interface Renderable
render
in class StyledComposite
g
- the graphics context to be used to draw the renderable.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