|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--java.awt.Component | +--java.awt.Container | +--java.awt.Window | +--java.awt.Dialog | +--jwo.utils.JWDialogue | +--jwo.landserf.gui3d.MovementBox
Creates a dialogue box allowing movement controls to be varied.
Nested Class Summary |
Nested classes inherited from class java.awt.Dialog |
Dialog.AccessibleAWTDialog |
Nested classes inherited from class java.awt.Window |
Window.AccessibleAWTWindow |
Nested classes inherited from class java.awt.Container |
Container.AccessibleAWTContainer |
Nested classes inherited from class java.awt.Component |
Component.AccessibleAWTComponent, Component.BltBufferStrategy, Component.FlipBufferStrategy |
Field Summary |
Fields inherited from class java.awt.Component |
BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT |
Fields inherited from interface java.awt.image.ImageObserver |
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH |
Constructor Summary | |
MovementBox(Frame parentFrame)
Creates the dialogue box for control entry. |
Method Summary | |
void |
adjustmentValueChanged(AdjustmentEvent event)
Responds to a change in a slider's value. |
void |
checkActions(ActionEvent event)
Checks for mouse events (excluding return button presses). |
void |
checkInput()
Checks input parameters are within bounds. |
int |
getAnimationDelay()
Reports the currently selected animation delay. |
int |
getMouseSensitivity()
Reports the currently selected mouse sensitivity. |
int |
getRotationStyle()
Reports the currently selected rotation style. |
void |
setAnimationDelay(int delay)
Sets the animation delay. |
void |
setMouseSensitivity(int sensitivity)
Sets the mouse sensitivity. |
void |
setRotationStyle(int newStyle)
Sets the rotation style. |
Methods inherited from class jwo.utils.JWDialogue |
actionPerformed, add, addDialogueListener, addReturnButtons, closeDialogue, getGBConstraints, getGBLayout, isChanged, removeDialogueListener, setCancelAsDefault, setChanged, setOKAsDefault, updateListener |
Methods inherited from class java.awt.Dialog |
addNotify, dispose, getAccessibleContext, getTitle, hide, isModal, isResizable, isUndecorated, paramString, setModal, setResizable, setTitle, setUndecorated, show |
Methods inherited from class java.lang.Object |
clone, equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public MovementBox(Frame parentFrame)
parentFrame
- Frame from which dialogue was called.Method Detail |
public int getMouseSensitivity()
public int getRotationStyle()
public int getAnimationDelay()
public void setMouseSensitivity(int sensitivity)
sensitivity
- New mouse sensitivity.public void setRotationStyle(int newStyle)
newStyle
- rotation style.public void setAnimationDelay(int delay)
delay
- New animation delay.public void adjustmentValueChanged(AdjustmentEvent event)
adjustmentValueChanged
in interface AdjustmentListener
event
- Scrollbar adjustment event.public void checkInput()
checkInput
in class JWDialogue
public void checkActions(ActionEvent event)
checkActions
in class JWDialogue
event
- Action event to be processed.JWMonologue
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |