com.tssap.util.ui.reuse.chooser.impl
Class RadioChooser
java.lang.Object
|
+--com.tssap.util.ui.reuse.chooser.impl.TextChooser
|
+--com.tssap.util.ui.reuse.chooser.impl.RadioChooser
- All Implemented Interfaces:
- IChooser, IDisplayableChooser, IRadioChooser, ITextChooser
- public class RadioChooser
- extends TextChooser
- implements IRadioChooser
- Since:
- 17.09.2002
|
Constructor Summary |
RadioChooser(java.lang.String radioLabel,
java.lang.String textLabel,
java.lang.String textEntry,
java.lang.String buttonText,
org.eclipse.swt.graphics.Image buttonImage,
IDisplayableChooser chooser)
Constructor for RadioChooser.
|
|
Method Summary |
java.lang.String |
getRadioLabel()
Returns the radioLabel. |
void |
setRadioLabel(java.lang.String radioLabel)
Sets the radioLabel. |
| Methods inherited from class com.tssap.util.ui.reuse.chooser.impl.TextChooser |
getButtonImage, getButtonText, getChooser, getSelection, getTextEntry, getTextLabel, setButtonImage, setButtonText, setChooser, setTextEntry, setTextLabel |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RadioChooser
public RadioChooser(java.lang.String radioLabel,
java.lang.String textLabel,
java.lang.String textEntry,
java.lang.String buttonText,
org.eclipse.swt.graphics.Image buttonImage,
IDisplayableChooser chooser)
- Constructor for RadioChooser.
Full efficiency only before calling createPartControl!
When creating a RadioChooser instance after having called createPartControl(..) and
setting this instance, only parameters
radioLabel and textEntry
make sense to be set.
The other parameters can be null because it is not possible to set them afterwards.
In other words changes on e.g. the buttonText won't occur. So, better use setTextEntry(..)
and setRadioLabel(..) instead.
- Parameters:
radioLabel - textLabel - textEntry - buttonText - buttonImage - chooser -
getRadioLabel
public java.lang.String getRadioLabel()
- Returns the radioLabel.
- Specified by:
getRadioLabel in interface IRadioChooser
- Returns:
- String
setRadioLabel
public void setRadioLabel(java.lang.String radioLabel)
- Sets the radioLabel.
- Specified by:
setRadioLabel in interface IRadioChooser
- Parameters:
radioLabel - The radioLabel to set
Copyright © 2005 SAP AG. All Rights Reserved.