- All Implemented Interfaces:
Serializable
,Comparable<AnimatedPanelGraphics.Mode>
- Enclosing class:
- AnimatedPanelGraphics
The mode for an AnimatedPanelGraphics instance.
These constants are used by panels created by
AnimatedPanelGraphics(boolean)
or
AnimatedPanelGraphics(boolean,Mode)
and by frames created by
AnimatedPanelGraphics.newFramedInstance(ISWriterOps.AnimationParameters,String,boolean,boolean,Mode)
or
AnimatedPanelGraphics.newFramedInstance(int,int,double,String,boolean,boolean,Mode)
.-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionOnce the methodAnimatedPanelGraphics.close()
is called, the animation/video will run in the panel associated with anAnimatedPanelGraphics
instance and cannot be replayed but may be paused.Once the methodAnimatedPanelGraphics.close()
is called the animation/video will run in the panel associated with anAnimatedPanelGraphics
instance and cannot be replayed as there are no controls.Once the methodAnimatedPanelGraphics.close()
is called, the animation/video will run in the panel associated with anAnimatedPanelGraphics
instance and can be replayed once it has run to completion.Once the methodAnimatedPanelGraphics.close()
is called, the animation/video will be ready to run in the panel associated with anAnimatedPanelGraphics
instance and cannot be replayed, but can be paused at any point.Once the methodAnimatedPanelGraphics.close()
is called, the animation/video will be ready to run in the panel associated with anAnimatedPanelGraphics
instance and can be replayed after it runs to completion and paused at any point.Once the methodAnimatedPanelGraphics.close()
is called, the animation/video will be ready to run in the panel associated with anAnimatedPanelGraphics
instance and can be replayed after it runs to completion, paused at any point, and repositioned when paused. -
Method Summary
Modifier and TypeMethodDescriptionstatic AnimatedPanelGraphics.Mode
Returns the enum constant of this type with the specified name.static AnimatedPanelGraphics.Mode[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
AUTO_RUN_NO_CONTROLS
Once the methodAnimatedPanelGraphics.close()
is called the animation/video will run in the panel associated with anAnimatedPanelGraphics
instance and cannot be replayed as there are no controls. -
AUTO_RUN
Once the methodAnimatedPanelGraphics.close()
is called, the animation/video will run in the panel associated with anAnimatedPanelGraphics
instance and cannot be replayed but may be paused. The controls for a frame should contain a button that will play or pause the animation or video. -
AUTO_RUN_REPLAYABLE
Once the methodAnimatedPanelGraphics.close()
is called, the animation/video will run in the panel associated with anAnimatedPanelGraphics
instance and can be replayed once it has run to completion. The controls for a frame should contain a button that will play or pause the animation or video. -
START_PAUSED
Once the methodAnimatedPanelGraphics.close()
is called, the animation/video will be ready to run in the panel associated with anAnimatedPanelGraphics
instance and cannot be replayed, but can be paused at any point. The controls for a frame should contain a button that will play or pause the animation or video. This button will have to be pushed to start the video or animation. -
START_PAUSED_REPLAYABLE
Once the methodAnimatedPanelGraphics.close()
is called, the animation/video will be ready to run in the panel associated with anAnimatedPanelGraphics
instance and can be replayed after it runs to completion and paused at any point. The controls for a frame should contain a button that will play or pause the animation or video. -
START_PAUSED_SELECTABLE
Once the methodAnimatedPanelGraphics.close()
is called, the animation/video will be ready to run in the panel associated with anAnimatedPanelGraphics
instance and can be replayed after it runs to completion, paused at any point, and repositioned when paused. The controls for a frame should contain a button that will play or pause the animation or video. Additional controls should allow the animation/video to be repositioned in time and single stepped in either direction. Finally, there should be a control that provides a snapshot of a frame.
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-