ch.sahits.model.gui
Interface IFormLabel

All Superinterfaces:
IFormElement

public interface IFormLabel
extends IFormElement

This interface defines normal text within the form.

Since:
0.9.4
Author:
Andi Hotz

Method Summary
 java.lang.String getText()
          Retrieve the text of the label
 boolean isVisible()
          Check if the field is visible
 void setText(java.lang.String label)
          Set the text of the label
 void setVisible(boolean visible)
          Set the visibility of the element
 
Methods inherited from interface ch.sahits.model.gui.IFormElement
getId, getName, getTooltip, setId, setName, setTooltip
 

Method Detail

getText

java.lang.String getText()
Retrieve the text of the label

Returns:
label text

setText

void setText(java.lang.String label)
Set the text of the label

Parameters:
label - text of the label

setVisible

void setVisible(boolean visible)
Set the visibility of the element

Parameters:
visible - true if the element is visible

isVisible

boolean isVisible()
Check if the field is visible

Returns:
true if the field is visible