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
-
NORTHSOUTH
- Attribute for RadioGroup.
-
WESTEAST
- Attribute for RadioGroup.
-
RadioGroup(String, Vector, int)
- Constructs a RadioGroup with radiobuttons.
-
RadioGroup(Vector)
- Constructs a RadioGroup with radiobuttons.
-
RadioGroup(Vector, int)
- Constructs a RadioGroup with radiobuttons.
-
getResult()
- Implementation of the Result Interface.
-
performCommand(String, Object)
- Implementation of the Target Interface.
-
selected()
-
NORTHSOUTH
public static final int NORTHSOUTH
- Attribute for RadioGroup. The Buttons are composed from north to south.
WESTEAST
public static final int WESTEAST
- Attribute for RadioGroup. The Buttons are composed from west to east.
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.
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.
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.
getResult
public Hashtable getResult()
- Implementation of the Result Interface.
selected
public Object selected()
- Returns:
- the selected radio button
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