pairwise-logo.gif (1266 bytes)

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.


Constructor Index

 o MapResizeDialog(Frame, String, int)
Default constructor

Method Index

 o actionPerformed(ActionEvent)
 o adjustmentValueChanged(AdjustmentEvent)
Scrollbar uses this.
 o getValue()
Returns the new value.
 o windowActivated(WindowEvent)
 o windowClosed(WindowEvent)
 o windowClosing(WindowEvent)
 o windowDeactivated(WindowEvent)
 o windowDeiconified(WindowEvent)
 o windowIconified(WindowEvent)
 o windowOpened(WindowEvent)

Constructors

 o 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.

Methods

 o getValue
 public int getValue()
Returns the new value.

 o adjustmentValueChanged
 public void adjustmentValueChanged(AdjustmentEvent parm1)
Scrollbar uses this.

 o windowOpened
 public void windowOpened(WindowEvent parm1)
 o windowClosing
 public void windowClosing(WindowEvent parm1)
 o windowClosed
 public void windowClosed(WindowEvent parm1)
 o windowIconified
 public void windowIconified(WindowEvent parm1)
 o windowDeiconified
 public void windowDeiconified(WindowEvent parm1)
 o windowActivated
 public void windowActivated(WindowEvent parm1)
 o windowDeactivated
 public void windowDeactivated(WindowEvent parm1)
 o actionPerformed
 public void actionPerformed(ActionEvent parm1)

All Packages  Class Hierarchy  This Package  Previous  Next  Index