Class TRBtn

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

public class TRBtn
extends TButton

Type RadioButton: Class TRBtn is a checkable networked button.

Since:
First release

Field Summary
 boolean checked
          True if the button is checked.
 TNet network
          The assigned network.
 
Fields inherited from class TCptCpn
caption
 
Fields inherited from class TVCpn
height, visible, width, x, y
 
Constructor Summary
TRBtn(TNet network)
          Instanciates a new Type RadioButton.
 
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.


network

public TNet network
The assigned network.

Constructor Detail

TRBtn

public TRBtn(TNet network)
Instanciates a new Type RadioButton.

Parameters:
network - The assigned network.
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