All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class semper.tinguin2.RadioGroup

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

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

Version:
0.1
Author:
Christian Haag
See Also:
FreeDialog

Variable Index

 o NORTHSOUTH
Attribute for RadioGroup.
 o WESTEAST
Attribute for RadioGroup.

Constructor Index

 o RadioGroup(String, Vector, int)
Constructs a RadioGroup with radiobuttons.
 o RadioGroup(Vector)
Constructs a RadioGroup with radiobuttons.
 o RadioGroup(Vector, int)
Constructs a RadioGroup with radiobuttons.

Method Index

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

Variables

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

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

Constructors

 o RadioGroup
 public RadioGroup(Vector vector)
Constructs a RadioGroup with radiobuttons.

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

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

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 selected
 public Object selected()
Returns:
the selected radio button
 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