Class TCptCpn

java.lang.Object
  |
  +--TObject
        |
        +--TVCpn
              |
              +--TCptCpn
Direct Known Subclasses:
TButton, TEdit, TLabel, TWindow

public class TCptCpn
extends TVCpn

Type CaptionedComponent: Class TCptCpn is the root all the titled components.

Since:
First release

Field Summary
 java.lang.String caption
          The caption of the component.
 
Fields inherited from class TVCpn
height, visible, width, x, y
 
Constructor Summary
TCptCpn()
          Instanciates a new Type Captioned Component.
TCptCpn(java.lang.String caption)
          Instanciates a new Type Captioned Component.
 
Method Summary
 java.lang.String getCaption()
          Returns the caption of the component.
 void setCaption(java.lang.String caption)
          Sets the caption of the component.
 
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

caption

public java.lang.String caption
The caption of the component.

Constructor Detail

TCptCpn

public TCptCpn()
Instanciates a new Type Captioned Component.

Since:
First release

TCptCpn

public TCptCpn(java.lang.String caption)
Instanciates a new Type Captioned Component.

Parameters:
caption - The caption of the component.
Since:
First release
Method Detail

setCaption

public void setCaption(java.lang.String caption)
Sets the caption of the component.

Parameters:
caption - The caption of the component.
Since:
First release

getCaption

public java.lang.String getCaption()
Returns the caption of the component.

Returns:
caption: The caption of the component.
Since:
First release