Class ViewDialog
java.lang.Object
|
+----java.awt.Component
|
+----java.awt.Container
|
+----java.awt.Window
|
+----java.awt.Dialog
|
+----ViewDialog
- public class ViewDialog
- extends Dialog
- implements ActionListener, WindowListener
Class definition for a dialog window to let the user choose
the specifics of the network display.
- Version:
- $Revision: 1.8 $, $Date: 2000/10/30 17:03:31 $
- Author:
- John Cavanaugh
-
APPLY
-
-
CANCEL
-
-
colorByAgeCheckbox
-
-
colorByOwnerCheckbox
-
-
colorByRateCheckbox
-
-
colorBySigCheckbox
-
-
colorGroup
-
-
frame
-
-
lineGroup
-
-
OK
-
-
OWNER
-
-
ownerTypeCheckbox
-
-
showAreaBoundsCheckbox
-
-
showAreaLabelsCheckbox
-
-
showHostLabelsCheckbox
-
-
showOrphansCheckbox
-
-
showSwitchLabelsCheckbox
-
-
showSwitchLinksCheckbox
-
-
showVCCsCheckbox
-
-
SIG
-
-
sigTypeCheckbox
-
-
vccArcCheckbox
-
-
vccLineCheckbox
-
-
view
-
-
ViewDialog(VisiFrame, String)
- Constructs a view dialog.
-
actionPerformed(ActionEvent)
-
-
getPanelHeight()
- Get the number of lines in a panel.
-
getView()
- Copy the current view settings from the checkboxes, etc.
-
setUpShowPanel()
- Set up a panel with checkboxes to choose what
main elements are visible.
-
setUpVCCMiscPanel()
- Set up a panel with checkboxes for the VCC usage types.
-
windowActivated(WindowEvent)
-
-
windowClosed(WindowEvent)
-
-
windowClosing(WindowEvent)
-
-
windowDeactivated(WindowEvent)
-
-
windowDeiconified(WindowEvent)
-
-
windowIconified(WindowEvent)
-
-
windowOpened(WindowEvent)
-
frame
private VisiFrame frame
SIG
protected static final int SIG
OWNER
protected static final int OWNER
APPLY
private static final String APPLY
CANCEL
private static final String CANCEL
OK
private static final String OK
view
private ViewSettings view
showHostLabelsCheckbox
private Checkbox showHostLabelsCheckbox
showSwitchLabelsCheckbox
private Checkbox showSwitchLabelsCheckbox
showOrphansCheckbox
private Checkbox showOrphansCheckbox
showAreaBoundsCheckbox
private Checkbox showAreaBoundsCheckbox
showAreaLabelsCheckbox
private Checkbox showAreaLabelsCheckbox
showSwitchLinksCheckbox
private Checkbox showSwitchLinksCheckbox
showVCCsCheckbox
private Checkbox showVCCsCheckbox
sigTypeCheckbox
private Checkbox sigTypeCheckbox[]
ownerTypeCheckbox
private Checkbox ownerTypeCheckbox[]
colorGroup
private CheckboxGroup colorGroup
colorBySigCheckbox
private Checkbox colorBySigCheckbox
colorByOwnerCheckbox
private Checkbox colorByOwnerCheckbox
colorByRateCheckbox
private Checkbox colorByRateCheckbox
colorByAgeCheckbox
private Checkbox colorByAgeCheckbox
lineGroup
private CheckboxGroup lineGroup
vccLineCheckbox
private Checkbox vccLineCheckbox
vccArcCheckbox
private Checkbox vccArcCheckbox
ViewDialog
public ViewDialog(VisiFrame frame,
String title)
- Constructs a view dialog.
- Parameters:
- frame - the application's main frame.
- title - a title for the dialog window.
getView
private void getView()
- Copy the current view settings from the checkboxes, etc. on the
screen to the ViewSettings object.
setUpShowPanel
private FramedPanel setUpShowPanel()
- Set up a panel with checkboxes to choose what
main elements are visible.
- Returns:
- a framed panel with components to allow the
user to select what main elements are displayed.
setUpVCCMiscPanel
private FramedPanel setUpVCCMiscPanel()
- Set up a panel with checkboxes for the VCC usage types.
- Returns:
- a framed panel with components to allow the user to
choose how VCCs are displayed.
windowActivated
public void windowActivated(WindowEvent e)
windowClosed
public void windowClosed(WindowEvent e)
windowClosing
public void windowClosing(WindowEvent e)
windowDeactivated
public void windowDeactivated(WindowEvent e)
windowDeiconified
public void windowDeiconified(WindowEvent e)
windowIconified
public void windowIconified(WindowEvent e)
windowOpened
public void windowOpened(WindowEvent e)
actionPerformed
public void actionPerformed(ActionEvent e)
getPanelHeight
private int getPanelHeight()
- Get the number of lines in a panel. We do this so all
the panels will be the same height.
- Returns:
- the number of lines to put in a panel.