|
||||||||||
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
jwo.utils.gui.JWDialogue
jwo.landserf.gui.TransRastBox
Creates a window allowing raster values to be transformed.
Nested Class Summary |
Nested classes inherited from class javax.swing.JDialog |
JDialog.AccessibleJDialog |
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 jwo.utils.gui.JWDialogue |
DIALOGUE, MONOLOGUE |
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 | |
TransRastBox(Frame parentFrame)
Creates the dialogue box allowing raster transformation options to be specified. |
Method Summary | |
boolean |
checkInput()
Checks that all values are numerical |
boolean |
doFlood()
Identifies whether user has selected flooding. |
boolean |
doRound()
Identifies whether user has selected rounding. |
boolean |
doScale()
Identifies whether user has selected scaling. |
boolean |
doTranslate()
Identifies whether user has selected translation. |
float |
getFlood()
Returns the flooding value selected. |
float |
getFrom()
Returns the value on which to perform a substitution. |
float |
getRound()
Returns the rounding value selected. |
float |
getScale()
Returns the scaling value selected. |
float |
getTo()
Returns the substituted value during a replace transformation. |
float |
getTranslate()
Returns the translation value selected. |
void |
itemStateChanged(ItemEvent event)
Responds to a checkbox item being changed by disabling non checked parameters. |
Methods inherited from class jwo.utils.gui.JWDialogue |
addDialogueListener, closedown, getContentPane, isChanged, removeDialogueListener, setFullBackground |
Methods inherited from class java.awt.Dialog |
addNotify, dispose, getTitle, hide, isModal, isResizable, isUndecorated, setModal, setResizable, setTitle, setUndecorated, show |
Methods inherited from class java.lang.Object |
clone, equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public TransRastBox(Frame parentFrame)
parentFrame
- Frame associated with this dialogue.Method Detail |
public void itemStateChanged(ItemEvent event)
itemStateChanged
in interface ItemListener
event
- Checkbox item that has changed.public boolean checkInput()
checkInput
in class JWDialogue
public float getTranslate()
public boolean doTranslate()
public float getScale()
public boolean doScale()
public float getRound()
public boolean doRound()
public float getFlood()
public boolean doFlood()
public float getFrom()
public float getTo()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |