|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.awt.Component
java.awt.Container
java.awt.Window
java.awt.Dialog
javax.swing.JDialog
ucar.visad.display.AnimationPropertiesDialog
public class AnimationPropertiesDialog
A widget to get properties for animation from the user. A popup widget to set animation forward looping time intervals (typically 0.5 sec), backward looping time intervals (typically 0.5 sec), looping direction (forward or backward), first dwell time (time viewing first frame, typically 0.5 second), last dwell time (time viewing last frame, typically 1.5 second). In future plan to provide a graphic list of frames to allow user to toggle some off or "out of loop".
Invoked by an AnimationWidget object.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class javax.swing.JDialog |
|---|
JDialog.AccessibleJDialog |
| Nested classes/interfaces inherited from class java.awt.Dialog |
|---|
Dialog.AccessibleAWTDialog |
| Nested classes/interfaces inherited from class java.awt.Window |
|---|
Window.AccessibleAWTWindow |
| Nested classes/interfaces inherited from class java.awt.Container |
|---|
Container.AccessibleAWTContainer |
| Nested classes/interfaces inherited from class java.awt.Component |
|---|
Component.AccessibleAWTComponent, Component.BltBufferStrategy, Component.FlipBufferStrategy |
| Field Summary |
|---|
| Fields inherited from class javax.swing.JDialog |
|---|
accessibleContext, rootPane, rootPaneCheckingEnabled |
| Fields inherited from class java.awt.Component |
|---|
BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT |
| Fields inherited from interface javax.swing.WindowConstants |
|---|
DISPOSE_ON_CLOSE, DO_NOTHING_ON_CLOSE, EXIT_ON_CLOSE, HIDE_ON_CLOSE |
| Fields inherited from interface java.awt.image.ImageObserver |
|---|
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH |
| Constructor Summary | |
|---|---|
AnimationPropertiesDialog(AnimationWidget animationWidget,
JFrame parent,
AnimationBoxPanel boxPanel)
Constuctor with input string naming for what data |
|
| Method Summary | |
|---|---|
void |
actionPerformed(ActionEvent evt)
Public due to implementing of ActionListener |
protected boolean |
applyAnimationSetProperties()
Apply the properties |
protected void |
checkEnabled()
Enable/disable the gui |
AnimationBoxPanel |
getBoxPanel()
Get the box panel |
void |
popupPredefinedMenu()
_more_ |
void |
predefinedDataRange()
_more_ |
void |
predefinedRealTime()
_more_ |
protected void |
setInfo(AnimationInfo transfer)
set the gui widgets value. |
void |
show()
|
void |
stateChanged(ChangeEvent e)
Something changed |
protected void |
updateAnimationSetProperties()
Update the gui |
| Methods inherited from class java.awt.Dialog |
|---|
addNotify, getTitle, hide, isModal, isResizable, isUndecorated, setModal, setResizable, setTitle, setUndecorated |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public AnimationPropertiesDialog(AnimationWidget animationWidget,
JFrame parent,
AnimationBoxPanel boxPanel)
animationWidget - the AnimationWidgetparent - the original parent JFrameboxPanel - The box panel| Method Detail |
|---|
public void popupPredefinedMenu()
public void predefinedDataRange()
public void predefinedRealTime()
protected boolean applyAnimationSetProperties()
public void show()
show in class Dialogprotected void checkEnabled()
protected void updateAnimationSetProperties()
public void stateChanged(ChangeEvent e)
stateChanged in interface ChangeListenere - eventpublic void actionPerformed(ActionEvent evt)
actionPerformed in interface ActionListenerevt - action eventprotected void setInfo(AnimationInfo transfer)
transfer - The info to usepublic AnimationBoxPanel getBoxPanel()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||