|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--TObject | +--TComponent | +--TCaptionedComponent | +--TButton | +--TCheckButton
La classe TCheckButton représente un bouton que l'utilisateur peut cocher.
Field Summary | |
boolean |
checked
|
Fields inherited from class TCaptionedComponent |
caption |
Fields inherited from class TComponent |
height, img, visible, width, x, y |
Constructor Summary | |
TCheckButton()
|
Method Summary | |
TCheckButton |
clone()
Cette méthode retourne un objet de Type CheckButton 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 |
print()
Cette méthode affiche le composant à l'écran. |
void |
setChecked(boolean checked)
Cette méthode permet de cocher le bouton. |
TCheckButton |
TCheckButton0()
Ce constructeur instancie un objet de Type CheckButton. |
TCheckButton |
TCheckButton1(TString caption)
Ce constructeur instancie un objet de Type CheckButton en spécifiant le texte de l'étiquette. |
TCheckButton |
TCheckButton2(char[] caption)
Ce constructeur instancie un objet de Type CheckButton en spécifiant le texte de l'étiquette à l'aide d'une chaîne de caractères ANSI. |
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 boolean checked
Constructor Detail |
public TCheckButton()
Method Detail |
public TCheckButton TCheckButton0()
public TCheckButton TCheckButton1(TString caption)
caption
- Le texte de l'étiquettepublic TCheckButton TCheckButton2(char[] caption)
caption
- Le texte de l'étiquettepublic TCheckButton clone()
clone
in class TButton
public void finalize()
finalize
in class TButton
public void setChecked(boolean checked)
checked
- Vrai si le composant doit être cochépublic void print()
print
in class TButton
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |