|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--TObject | +--TComponent | +--TCaptionedComponent | +--TButton | +--TCheckButton | +--TRadioButton
La classe TRadioButton représente un bouton que l'utilisateur peut cocher. Les RadioButtons font partie d'un réseau où seul un RadioButton peut être coché à la fois.
Field Summary | |
TComponentNetwork |
network
Le réseau auquel le RadioButton fait partie |
Fields inherited from class TCheckButton |
checked |
Fields inherited from class TCaptionedComponent |
caption |
Fields inherited from class TComponent |
height, img, visible, width, x, y |
Constructor Summary | |
TRadioButton()
|
Method Summary | |
TRadioButton |
clone()
Cette méthode retourne un objet de Type RadioButton qui est une copie de l'objet. |
void |
finalize()
Cette méthode libère l'espace mémoire occupée par l'objet, détruisant ce dernier. |
void |
setChecked(boolean checked)
Cette méthode permet de cocher le bouton. |
TRadioButton |
TRadioButton0()
Ce constructeur instancie un objet de Type RadioButton. |
TRadioButton |
TRadioButton1(TString caption)
Ce constructeur instancie un objet de Type RadioButton en spécifiant le texte de l'étiquette. |
TRadioButton |
TRadioButton2(char[] caption)
Ce constructeur instancie un objet de Type RadioButton en spécifiant le texte de l'étiquette à l'aide d'une chaîne de caractères ANSI. |
TRadioButton |
TRadioButton3(TString caption,
TComponentNetwork network)
Ce constructeur instancie un objet de Type RadioButton en lui assignant un réseau de RadioButtons et en spécifiant le texte de l'étiquette. |
TRadioButton |
TRadioButton4(char[] caption,
TComponentNetwork network)
Ce constructeur instancie un objet de Type RadioButton en lui assignant un réseau de RadioButtons et en spécifiant le texte de l'étiquette à l'aide d'une chaîne de caractères ANSI. |
Methods inherited from class TCheckButton |
print, TCheckButton0, TCheckButton1, TCheckButton2 |
Methods inherited from class TButton |
TButton0, TButton1, TButton2 |
Methods inherited from class TCaptionedComponent |
equals, getFontHeight, getFontWidth, setCaption, TCaptionedComponent0, TCaptionedComponent1, TCaptionedComponent2, toString |
Methods inherited from class TComponent |
equals, move, setBounds, setHeight, setVisible, setWidth, setX, setY, TComponent0 |
Methods inherited from class TObject |
TObject0 |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
public TComponentNetwork network
Constructor Detail |
public TRadioButton()
Method Detail |
public TRadioButton TRadioButton0()
public TRadioButton TRadioButton1(TString caption)
caption
- Le texte de l'étiquettepublic TRadioButton TRadioButton2(char[] caption)
caption
- Le texte de l'étiquettepublic TRadioButton TRadioButton3(TString caption, TComponentNetwork network)
caption
- Le texte de l'étiquettenetwork
- Le réseau de RadioButtonspublic TRadioButton TRadioButton4(char[] caption, TComponentNetwork network)
caption
- Le texte de l'étiquettenetwork
- Le réseau de RadioButtonspublic TRadioButton clone()
clone
in class TCheckButton
public void finalize()
finalize
in class TCheckButton
public void setChecked(boolean checked)
setChecked
in class TCheckButton
checked
- Vrai si le composant doit être coché
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |