ch.sahits.model.gui
Interface IFormInput

All Superinterfaces:
IFormElement, IFormInputElement
All Known Subinterfaces:
IFormFileUpload, IFormPasswordInput

public interface IFormInput
extends IFormInputElement

Definition of an input field

Since:
0.9.4
Author:
Andi Hotz

Method Summary
 int getNoCols()
          Retrieve the number of characters in one row of the input field
 int getNoRows()
          Retrieve the number of rows
 int getSize()
          Retrieve the max size of the input field
 void setNoCols(int no)
          Set the number of characters in a row
 void setNoRows(int no)
          Set the number of rows
 void setSize(int size)
          Set the max size of the input field
 
Methods inherited from interface ch.sahits.model.gui.IFormInputElement
getDefaultValue, isEnabled, isVisible, setDefaultValue, setEnable, setVisible
 
Methods inherited from interface ch.sahits.model.gui.IFormElement
getId, getName, getTooltip, setId, setName, setTooltip
 

Method Detail

getNoCols

int getNoCols()
Retrieve the number of characters in one row of the input field

Returns:
no of characters

setNoCols

void setNoCols(int no)
Set the number of characters in a row

Parameters:
no - of characters

getNoRows

int getNoRows()
Retrieve the number of rows

Returns:
no of rows

setNoRows

void setNoRows(int no)
Set the number of rows

Parameters:
no - of rows

setSize

void setSize(int size)
Set the max size of the input field

Specified by:
setSize in interface IFormInputElement
Parameters:
size - of the input field

getSize

int getSize()
Retrieve the max size of the input field

Specified by:
getSize in interface IFormInputElement
Returns:
size of the input field