|
S-PLUS Connect/Java v1.0 | |||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.awt.Component
java.awt.Container
javax.swing.JComponent
com.insightful.controls.SplusLabelBox
com.insightful.controls.SplusRadioButtonGroup
public class SplusRadioButtonGroup
Control with a set of JRadioButton objects belonging to a ButtonGroup and an associated JLabel.
Nested Class Summary |
---|
Nested classes/interfaces inherited from class javax.swing.JComponent |
---|
JComponent.AccessibleJComponent |
Nested classes/interfaces inherited from class java.awt.Container |
---|
Container.AccessibleAWTContainer |
Nested classes/interfaces inherited from class java.awt.Component |
---|
Component.AccessibleAWTComponent, Component.BltBufferStrategy, Component.FlipBufferStrategy |
Field Summary |
---|
Fields inherited from class javax.swing.JComponent |
---|
accessibleContext, listenerList, TOOL_TIP_TEXT_KEY, ui, UNDEFINED_CONDITION, WHEN_ANCESTOR_OF_FOCUSED_COMPONENT, WHEN_FOCUSED, WHEN_IN_FOCUSED_WINDOW |
Fields inherited from class java.awt.Component |
---|
BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT |
Fields inherited from interface java.awt.image.ImageObserver |
---|
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH |
Constructor Summary | |
---|---|
SplusRadioButtonGroup(String text,
char mnemonic,
String[] listData)
|
|
SplusRadioButtonGroup(String text,
int mnemonic,
String[] listData)
|
|
SplusRadioButtonGroup(String text,
String[] listData)
|
Method Summary | |
---|---|
void |
addActionListener(ActionListener listener)
|
String |
getActionCommand()
Gets the action command for the first button |
String[] |
getOptionList()
Gets the option list for the control. |
String |
getValue()
Gets the value of the control as a String. |
boolean |
isEnabled()
Check whether the control is enabled. |
void |
setActionCommand(String aCommand)
Sets the action command for all buttons |
void |
setEnabled(boolean b)
Set whether the control is enabled. |
void |
setOptionList(String[] listData)
Sets the option list for the control. |
void |
setValue(String value)
Sets the value of the control as a String. |
Methods inherited from class com.insightful.controls.SplusLabelBox |
---|
getMnemonic, getText, setActionControl, setLabelEnabled, setLabelFor, setMnemonic, setMnemonic, setText |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface com.insightful.controls.SplusControlMethods |
---|
getMnemonic, getText, setMnemonic, setMnemonic, setText |
Constructor Detail |
---|
public SplusRadioButtonGroup(String text, char mnemonic, String[] listData)
public SplusRadioButtonGroup(String text, int mnemonic, String[] listData)
public SplusRadioButtonGroup(String text, String[] listData)
Method Detail |
---|
public String getValue()
SplusControlMethods
getValue
in interface SplusControlMethods
public void setValue(String value)
SplusControlMethods
setValue
in interface SplusControlMethods
value
- desired control valuepublic String[] getOptionList()
SplusControlMethods
getOptionList
in interface SplusControlMethods
public void setOptionList(String[] listData)
SplusControlMethods
setOptionList
in interface SplusControlMethods
listData
- String array of option list elements.public boolean isEnabled()
SplusControlMethods
isEnabled
in interface SplusControlMethods
isEnabled
in class Component
public void setEnabled(boolean b)
SplusControlMethods
setEnabled
in interface SplusControlMethods
setEnabled
in class JComponent
b
- boolean specifying whether to enable the controlpublic void addActionListener(ActionListener listener)
public String getActionCommand()
public void setActionCommand(String aCommand)
|
S-PLUS Connect/Java v1.0 | |||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |