|
||||||||||
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 javax.swing.JDialog visad.ss.MappingDialog
public class MappingDialog
MappingDialog is a dialog that lets the user create ScalarMaps.
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, Dialog.ModalExclusionType, Dialog.ModalityType |
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.BaselineResizeBehavior, Component.BltBufferStrategy, Component.FlipBufferStrategy |
Field Summary |
---|
Fields inherited from class javax.swing.JDialog |
---|
accessibleContext, rootPane, rootPaneCheckingEnabled |
Fields inherited from class java.awt.Dialog |
---|
DEFAULT_MODALITY_TYPE |
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 | |
---|---|
MappingDialog(Frame parent,
Data[] data,
ScalarMap[] startMaps,
boolean allowAlpha,
boolean allow3D)
Constructs a MappingDialog from multiple Data objects. |
|
MappingDialog(Frame parent,
Data data,
ScalarMap[] startMaps,
boolean allowAlpha,
boolean allow3D)
Constructs a MappingDialog from a single Data object. |
Method Summary | |
---|---|
void |
actionPerformed(ActionEvent e)
Handles button press events. |
void |
display()
Displays the dialog in the center of the screen. |
ScalarMap[] |
getMaps()
Gets the mappings selected by the user. |
Dimension |
getPreferredSize()
Ensure mapping dialog is not larger than the screen size. |
static void |
initDialog()
Pre-loads the display.gif file, so it's ready when mapping dialog is requested. |
void |
mouseClicked(MouseEvent e)
Unused MouseListener method. |
void |
mouseEntered(MouseEvent e)
Unused MouseListener method. |
void |
mouseExited(MouseEvent e)
Unused MouseListener method. |
void |
mousePressed(MouseEvent e)
Handles mouse clicks in the MathType window and "map to" canvas. |
void |
mouseReleased(MouseEvent e)
Unused MouseListener method. |
boolean |
okPressed()
Gets whether the user pressed the Ok button. |
void |
valueChanged(ListSelectionEvent e)
Handles list selection change events. |
Methods inherited from class java.awt.Dialog |
---|
addNotify, getModalityType, getTitle, hide, isModal, isResizable, isUndecorated, setModal, setModalityType, setResizable, setTitle, setUndecorated, setVisible, show, toBack |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public MappingDialog(Frame parent, Data data, ScalarMap[] startMaps, boolean allowAlpha, boolean allow3D)
public MappingDialog(Frame parent, Data[] data, ScalarMap[] startMaps, boolean allowAlpha, boolean allow3D)
Method Detail |
---|
public static void initDialog()
public Dimension getPreferredSize()
getPreferredSize
in class Container
public void display()
public ScalarMap[] getMaps()
public boolean okPressed()
public void actionPerformed(ActionEvent e)
actionPerformed
in interface ActionListener
public void valueChanged(ListSelectionEvent e)
valueChanged
in interface ListSelectionListener
public void mousePressed(MouseEvent e)
mousePressed
in interface MouseListener
public void mouseEntered(MouseEvent e)
mouseEntered
in interface MouseListener
public void mouseExited(MouseEvent e)
mouseExited
in interface MouseListener
public void mouseClicked(MouseEvent e)
mouseClicked
in interface MouseListener
public void mouseReleased(MouseEvent e)
mouseReleased
in interface MouseListener
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |