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. |
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 java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
caption
public java.lang.String caption
- The caption of the component.
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
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