Class Viewer.GUI.LayerDialog
All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class Viewer.GUI.LayerDialog

Object
   |
   +----Component
           |
           +----Container
                   |
                   +----Window
                           |
                           +----Dialog
                                   |
                                   +----Viewer.GUI.LayerDialog

public class LayerDialog
extends Dialog
Contains the GUI for editing an old layer or for creating a new one.

Author:
Klaus Kleber
Since:
30.04.1999

Variable Index

 o bTextField
Contains the blue color value of the layer if exist.
 o colorCheckboxGroup
For RGB colors and monochrome color
 o descriptionTextArea
Contains the description of the layer
 o edit
true if Dialog should editing an existing PresentationStateGraphicLayer, false if Dialog should editing a new one.
 o gTextField
Contains the green color value of the layer if exist
 o isMonochrome
true if layer has a gray color value, false if layer has a rgb color.
 o mTextField
Contains the gray color value of the layer if exits
 o monochromePanel
Contains monochrome widgets.
 o nameTextField
Contains the name of the layer
 o rTextField
Contains the red color value of the layer if exits
 o rgbPanel
Contains RGB widgets

Constructor Index

 o Viewer.GUI.LayerDialog(Frame, String, boolean, ScreenImageHandler, boolean)
Contructs a new LayerDialog.

Method Index

 o addNotify()
 o setVisible(boolean)
Shows or hides the component depending on the boolean flag b.

Variables

 o bTextField
public java.awt.TextField bTextField
Contains the blue color value of the layer if exist.

Since: 30.04.1999
 o colorCheckboxGroup
public java.awt.CheckboxGroup colorCheckboxGroup
For RGB colors and monochrome color

Since: 30.04.1999
 o descriptionTextArea
public java.awt.TextArea descriptionTextArea
Contains the description of the layer

Since: 30.04.1999
 o edit
public boolean edit
true if Dialog should editing an existing PresentationStateGraphicLayer, false if Dialog should editing a new one.

Since: 30.04.1999
 o gTextField
public java.awt.TextField gTextField
Contains the green color value of the layer if exist

Since: 30.04.1999
 o isMonochrome
public boolean isMonochrome
true if layer has a gray color value, false if layer has a rgb color.

Since: 30.04.1999
 o mTextField
public java.awt.TextField mTextField
Contains the gray color value of the layer if exits

Since: 30.04.1999
 o monochromePanel
public java.awt.Panel monochromePanel
Contains monochrome widgets.

Since: 30.04.1999
 o nameTextField
public java.awt.TextField nameTextField
Contains the name of the layer

Since: 30.04.1999
 o rTextField
public java.awt.TextField rTextField
Contains the red color value of the layer if exits

Since: 30.04.1999
 o rgbPanel
public java.awt.Panel rgbPanel
Contains RGB widgets

Since: 30.04.1999

Constructors

 o LayerDialog
public LayerDialog(Frame parent,
                   String title,
                   boolean modal,
                   ScreenImageHandler screenImageHandler,
                   boolean edit)
Contructs a new LayerDialog.

Parameters:
parent - Contains the parent frame of the dialog
title - Contains the title of the dialog
modal - true, if Dialog is modal
screenImageHandler - Contains the current ScreenImageHandler
edit - true if Dialog should editing an existing PresentationStateGraphicLayer, false if Dialog should editing a new one.
Since:
30.04.1999

Methods

 o addNotify
public void addNotify()

Overrides:
addNotify in class Dialog
Since:
30.04.1999
 o setVisible
public void setVisible(boolean b)
Shows or hides the component depending on the boolean flag b.

Parameters:
b - if true, show the component
Overrides:
setVisible in class Component
Since:
30.04.1999
See Also:
isVisible

All Packages  Class Hierarchy  This Package  Previous  Next  Index