All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class semper.tinguin2.ButtonGroup

java.lang.Object
   |
   +----netscape.application.View
           |
           +----netscape.application.ContainerView
                   |
                   +----semper.tinguin2.ButtonGroup

public class ButtonGroup
extends ContainerView
implements Target, Result
Creates Buttons within a View for use with a FreeDialog.

Version:
0.1
Author:
Christian Haag
See Also:
FreeDialog

Variable Index

 o NORTHSOUTH
Attribute for ButtonGroup.
 o WESTEAST
Attribute for ButtonGroup.

Constructor Index

 o ButtonGroup(String, Vector, int)
Constructs a ButtonGroup with buttons.
 o ButtonGroup(Vector)
Constructs a ButtonGroup with buttons.
 o ButtonGroup(Vector, int)
Constructs a ButtonGroup with buttons.

Method Index

 o getResult()
Implementation of the Result Interface.
 o performCommand(String, Object)
Implementation of the Target Interface.

Variables

 o NORTHSOUTH
 public static final int NORTHSOUTH
Attribute for ButtonGroup. The Buttons are composed from north to south.

 o WESTEAST
 public static final int WESTEAST
Attribute for ButtonGroup. The Buttons are composed from west to east.

Constructors

 o ButtonGroup
 public ButtonGroup(Vector vector)
Constructs a ButtonGroup with buttons.

Parameters:
vector - The vector which hold the names for the radiobuttons. The buttons are composed from north to south.
 o ButtonGroup
 public ButtonGroup(Vector vector,
                    int alignment)
Constructs a ButtonGroup with buttons.

Parameters:
vector - The vector which hold the names for the radiobuttons.
alignment - decides whether the buttons are aligned vertically or horizontaly.
 o ButtonGroup
 public ButtonGroup(String title,
                    Vector vector,
                    int alignment)
Constructs a ButtonGroup with buttons.

Parameters:
title - The text shown above the radiobuttons
vector - The vector which hold the names for the radiobuttons.
alignment - decides whether the buttons are aligned vertically or horizontaly.

Methods

 o getResult
 public Hashtable getResult()
Implementation of the Result Interface.

 o performCommand
 public void performCommand(String command,
                            Object data)
Implementation of the Target Interface. You should never call this method.


All Packages  Class Hierarchy  This Package  Previous  Next  Index