com.tekann.codegen.pda
Interface IForm

All Superinterfaces:
Internacionalizable
All Known Subinterfaces:
IEditForm, IFilterForm, ILoginForm, IStepForm, ITableForm, IViewForm
All Known Implementing Classes:
FilterForm

public interface IForm
extends Internacionalizable

Used by all kind of forms.

Author:
Evandro Rathke

Method Summary
 totalcross.ui.font.Font getFont()
          Gets the Font.
 java.lang.Object getMenuBar()
          Gets the form menuBar.
 java.lang.String getTitle()
          Gets the form title.
 void loadForm()
          Loads the form.
 void loadMenuBar()
          Loads the menuBar.
 void onSwap(totalcross.ui.Container container)
          Optional implementation while swapping
 void setTitle(java.lang.String title)
          Sets the form title.
 void showMessage(java.lang.String title, java.lang.String message)
          Shows a message to the user.
 
Methods inherited from interface com.tekann.i18n.Internacionalizable
getID, getResourceDir, getResourcePrefix
 

Method Detail

getMenuBar

java.lang.Object getMenuBar()
Gets the form menuBar.

Returns:
An Object

getTitle

java.lang.String getTitle()
Gets the form title.

Returns:
A String

loadForm

void loadForm()
              throws java.lang.Exception
Loads the form.

Throws:
java.lang.Exception

loadMenuBar

void loadMenuBar()
Loads the menuBar.


setTitle

void setTitle(java.lang.String title)
Sets the form title.

Parameters:
title -

showMessage

void showMessage(java.lang.String title,
                 java.lang.String message)
Shows a message to the user.

Parameters:
title -
message -

getFont

totalcross.ui.font.Font getFont()
Gets the Font.

Returns:
A font.

onSwap

void onSwap(totalcross.ui.Container container)
Optional implementation while swapping

Parameters:
container -