Class TChkBtn

java.lang.Object
  |
  +--TObject
        |
        +--TVCpn
              |
              +--TCptCpn
                    |
                    +--TButton
                          |
                          +--TChkBtn

public class TChkBtn
extends TButton

Type CheckButton: Class TChkBtn is a checkable button.

Since:
First release

Field Summary
 boolean checked
          True if the button is checked.
 
Fields inherited from class TCptCpn
caption
 
Fields inherited from class TVCpn
height, visible, width, x, y
 
Constructor Summary
TChkBtn()
          Instanciates a new Type CheckButton.
 
Method Summary
 boolean getChecked()
          Returns true if the button is checked.
 void setChecked(boolean check)
          Sets if the button is checked.
 
Methods inherited from class TCptCpn
getCaption, setCaption
 
Methods inherited from class TVCpn
getHeight, getVisible, getWidth, getX, getY, move, setDim, setHeight, setVisible, setWidth, setX, setY
 
Methods inherited from class TObject
clone, Destroy, equals, toString
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

checked

public boolean checked
True if the button is checked.

Constructor Detail

TChkBtn

public TChkBtn()
Instanciates a new Type CheckButton.

Since:
First release
Method Detail

setChecked

public void setChecked(boolean check)
Sets if the button is checked.

Parameters:
check - True to check the button.
Since:
First release

getChecked

public boolean getChecked()
Returns true if the button is checked.

Since:
First release