moka.x
Interface Captioned

All Known Implementing Classes:
CaptionedComponent, Frame

public interface Captioned

The Captioned interface provides methods used to deal with captioned components.

Since:
MDK1.0a

Field Summary
static java.lang.String caption
          The caption of the component.
static short font
          The font for this component.
 
Method Summary
 void setCaption(java.lang.String caption)
          Sets the caption of the component.
 void setFont(short font)
          Sets the font for this component's caption.
 

Field Detail

font

public static final short font
The font for this component. Should be only read.

See Also:
Constant Field Values

caption

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

See Also:
Constant Field Values
Method Detail

setCaption

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

Parameters:
caption - The caption of the component.

setFont

public void setFont(short font)
Sets the font for this component's caption.

Parameters:
font - the font for this component's caption.