All Packages Class Hierarchy This Package Previous Next Index
Class PairwiseComparativeMap.MapResizeDialog
java.lang.Object
|
+----java.awt.Component
|
+----java.awt.Container
|
+----java.awt.Window
|
+----java.awt.Dialog
|
+----PairwiseComparativeMap.MapResizeDialog
- public class MapResizeDialog
- extends Dialog
- implements AdjustmentListener, WindowListener, ActionListener
This is a dialog box class that allows the user to adjust the size of a map
sausage using a scrollbar. This is a very rough looking dialog box but can be
replaced in the future when Swing becomes integrated in to browsers. The JBuilder
toolkit was avoided to slim down the size of the final jar file.
The current dialog has an ok and cancel button, a scrollbar and a text box one
can adjust the length of the dialog, a 'pixels' label and a red label giving the
new length.
- Version:
- 1.0
- Author:
- Written by Jeremy Dickson for the UK Crop Plant Bioinformatics Network, October 1998.
-
MapResizeDialog(Frame, String, int)
- Default constructor
-
actionPerformed(ActionEvent)
-
-
adjustmentValueChanged(AdjustmentEvent)
- Scrollbar uses this.
-
getValue()
- Returns the new value.
-
windowActivated(WindowEvent)
-
-
windowClosed(WindowEvent)
-
-
windowClosing(WindowEvent)
-
-
windowDeactivated(WindowEvent)
-
-
windowDeiconified(WindowEvent)
-
-
windowIconified(WindowEvent)
-
-
windowOpened(WindowEvent)
-
MapResizeDialog
public MapResizeDialog(Frame parent,
String title,
int value)
- Default constructor
- Parameters:
- parent - Class is fed a frame.
- title - The title of the dialog.
- value - The current value of the size of the map that this dialog is resizing.
getValue
public int getValue()
- Returns the new value.
adjustmentValueChanged
public void adjustmentValueChanged(AdjustmentEvent parm1)
- Scrollbar uses this.
windowOpened
public void windowOpened(WindowEvent parm1)
windowClosing
public void windowClosing(WindowEvent parm1)
windowClosed
public void windowClosed(WindowEvent parm1)
windowIconified
public void windowIconified(WindowEvent parm1)
windowDeiconified
public void windowDeiconified(WindowEvent parm1)
windowActivated
public void windowActivated(WindowEvent parm1)
windowDeactivated
public void windowDeactivated(WindowEvent parm1)
actionPerformed
public void actionPerformed(ActionEvent parm1)
All Packages Class Hierarchy This Package Previous Next Index
|