net.aerith.misao.gui.dialog
Class AnimationDialog

java.lang.Object
  |
  +--net.aerith.misao.gui.dialog.Dialog
        |
        +--net.aerith.misao.gui.dialog.AnimationDialog

public class AnimationDialog
extends Dialog

The AnimationDialog represents a dialog to set the parameters for animation.


Field Summary
protected  javax.swing.JTextField text_interval
          The text field to input the animation interval.
 
Fields inherited from class net.aerith.misao.gui.dialog.Dialog
components, default_values, parent_pane
 
Constructor Summary
AnimationDialog()
          Constructs a AnimationDialog.
 
Method Summary
 int getInterval()
          Gets the interval in milliseconds.
protected  java.lang.String getTitle()
          Gets the title of the dialog.
protected  void saveDefaultValues()
          Saves the default values.
protected  void setDefaultValues()
          Sets the default values.
 void setInterval(int msec)
          Sets the interval in milliseconds.
 
Methods inherited from class net.aerith.misao.gui.dialog.Dialog
show
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, registerNatives, toString, wait, wait, wait
 

Field Detail

text_interval

protected javax.swing.JTextField text_interval
The text field to input the animation interval.
Constructor Detail

AnimationDialog

public AnimationDialog()
Constructs a AnimationDialog.
Method Detail

getTitle

protected java.lang.String getTitle()
Gets the title of the dialog.
Overrides:
getTitle in class Dialog
Returns:
the title of the dialog.

setDefaultValues

protected void setDefaultValues()
Sets the default values.

saveDefaultValues

protected void saveDefaultValues()
Saves the default values.
Overrides:
saveDefaultValues in class Dialog

getInterval

public int getInterval()
Gets the interval in milliseconds.
Returns:
the interval in milliseconds.

setInterval

public void setInterval(int msec)
Sets the interval in milliseconds.
Parameters:
msec - the interval in milliseconds.