|
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.SplusDoubleSpinner
A JTextField with a JScrollBar which behaves as a spinner and an associated JLabel. The spinner takes on double values.
Nested Class Summary |
Nested classes inherited from class javax.swing.JComponent |
JComponent.AccessibleJComponent |
Nested classes inherited from class java.awt.Container |
Container.AccessibleAWTContainer |
Nested classes 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 | |
SplusDoubleSpinner(String text)
Create a spinner field with the specified label. |
|
SplusDoubleSpinner(String text,
char mnemonic)
Create a spinner field with the specified label and mnemonic. |
|
SplusDoubleSpinner(String text,
char mnemonic,
double min,
double max,
double increment)
Create a spinner field with the specified label, mnemonic, and specified values for the spinner min, max, and increment. |
|
SplusDoubleSpinner(String text,
double min,
double max,
double increment)
Create a spinner field with the specified label and specified values for the spinner min, max, and increment. |
|
SplusDoubleSpinner(String text,
int mnemonic)
Create a spinner field with the specified label and mnemonic. |
|
SplusDoubleSpinner(String text,
int mnemonic,
double min,
double max,
double increment)
Create a spinner field with the specified label, mnemonic, and specified values for the spinner min, max, and increment. |
Method Summary | |
void |
addActionListener(ActionListener listener)
Adds an actionListener to the list of action listeners for the control. |
String[] |
getOptionList()
Required method for SplusControlMethods interface. |
String |
getValue()
Gets current value of the combo box as a String. |
boolean |
isEnabled()
Determines whether the control is enabled. |
void |
setEnabled(boolean b)
Sets the control to be enabled or disabled. |
void |
setOptionList(String[] listData)
Required method for SplusControlMethods interface. |
void |
setValue(String value)
Sets the field to have a specified value. |
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 SplusDoubleSpinner(String text)
public SplusDoubleSpinner(String text, char mnemonic)
public SplusDoubleSpinner(String text, int mnemonic)
public SplusDoubleSpinner(String text, int mnemonic, double min, double max, double increment)
public SplusDoubleSpinner(String text, char mnemonic, double min, double max, double increment)
public SplusDoubleSpinner(String text, double min, double max, double increment)
Method Detail |
public String getValue()
getValue
in interface SplusControlMethods
public void setValue(String value)
setValue
in interface SplusControlMethods
value
- desired field value.public String[] getOptionList()
getOptionList
in interface SplusControlMethods
public void setOptionList(String[] listData)
setOptionList
in interface SplusControlMethods
listData
- String array of option list values.public boolean isEnabled()
isEnabled
in interface SplusControlMethods
public void setEnabled(boolean b)
setEnabled
in interface SplusControlMethods
b
- boolean indicating whether to enable the control.public void addActionListener(ActionListener listener)
listener
- listener for spinner changes.
|
S-PLUS Connect/Java v1.0 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |