Package totalcross.ui.effect
Class MaterialEffect
- java.lang.Object
-
- totalcross.ui.effect.UIEffects
-
- totalcross.ui.effect.MaterialEffect
-
- All Implemented Interfaces:
PenListener,TimerListener
public class MaterialEffect extends UIEffects implements PenListener, TimerListener
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceMaterialEffect.SideEffect-
Nested classes/interfaces inherited from class totalcross.ui.effect.UIEffects
UIEffects.Effects
-
-
Field Summary
Fields Modifier and Type Field Description MaterialEffect.SideEffectsideEffect-
Fields inherited from class totalcross.ui.effect.UIEffects
alphaValue, color, darkSideOnPress, defaultEffect, duration, enabled, X_UNKNOWN
-
-
Constructor Summary
Constructors Constructor Description MaterialEffect(Control target)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidfinalize()booleanisRunning()voidpaintEffect(Graphics g)voidpenDown(PenEvent e)A PEN_DOWN event was dispatched.voidpenDrag(DragEvent e)A PEN_DRAG event was dispatched.voidpenDragEnd(DragEvent e)A PEN_DRAG_END event was dispatched.voidpenDragStart(DragEvent e)A PEN_DRAG_START event was dispatched.voidpenUp(PenEvent e)A PEN_UP event was dispatched.voidstartEffect()voidtimerTriggered(TimerEvent e)A TRIGGERED event was dispatched.
-
-
-
Field Detail
-
sideEffect
public MaterialEffect.SideEffect sideEffect
-
-
Constructor Detail
-
MaterialEffect
public MaterialEffect(Control target)
-
-
Method Detail
-
finalize
protected void finalize()
- Overrides:
finalizein classjava.lang.Object
-
paintEffect
public void paintEffect(Graphics g)
- Specified by:
paintEffectin classUIEffects
-
penDown
public void penDown(PenEvent e)
Description copied from interface:PenListenerA PEN_DOWN event was dispatched.- Specified by:
penDownin interfacePenListener- See Also:
PenEvent
-
penUp
public void penUp(PenEvent e)
Description copied from interface:PenListenerA PEN_UP event was dispatched.- Specified by:
penUpin interfacePenListener- See Also:
PenEvent
-
timerTriggered
public void timerTriggered(TimerEvent e)
Description copied from interface:TimerListenerA TRIGGERED event was dispatched.- Specified by:
timerTriggeredin interfaceTimerListener- See Also:
TimerEvent
-
startEffect
public void startEffect()
- Specified by:
startEffectin classUIEffects
-
penDrag
public void penDrag(DragEvent e)
Description copied from interface:PenListenerA PEN_DRAG event was dispatched.- Specified by:
penDragin interfacePenListener- See Also:
PenEvent
-
penDragStart
public void penDragStart(DragEvent e)
Description copied from interface:PenListenerA PEN_DRAG_START event was dispatched.- Specified by:
penDragStartin interfacePenListener- See Also:
PenEvent
-
penDragEnd
public void penDragEnd(DragEvent e)
Description copied from interface:PenListenerA PEN_DRAG_END event was dispatched.- Specified by:
penDragEndin interfacePenListener- See Also:
PenEvent
-
-