|
Ontimize 5.2071EN | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
Defines the methods that an application must implement. Those methods allows to interchange references among the application elements as well to perform the main operations the application must perform.
| Field Summary |
| Fields inherited from interface com.ontimize.gui.i18n.Internationalization |
DEBUG_LANGUAGE |
| Method Summary | |
void |
endSession()
Ends the user session. |
void |
exit()
Closes the application. |
FormManager |
getFormManager(java.lang.String formManagerName)
Provides a reference to a FormManager. |
java.awt.Frame |
getFrame()
Returns the frame in which the application is placed. |
java.util.Locale |
getLocale()
Returns the current application locale. |
javax.swing.JMenuBar |
getMenu()
Provides a reference to the application menu bar. |
MenuListener |
getMenuListener()
Provides a reference to the class that listens the menu events. |
java.lang.String |
getName()
Returns the application name. |
ApplicationPreferences |
getPreferences()
Returns the application preferences. |
EntityReferenceLocator |
getReferenceLocator()
Provides a reference to the ReferenceLocator configured to this application. |
java.util.ResourceBundle |
getResourceBundle()
Returns the current application resource bundle. |
javax.swing.JToolBar |
getToolBar()
Provides a reference to the application tool bar. |
ToolBarListener |
getToolBarListener()
Returns the application tool bar listener |
void |
lock()
Deprecated. |
boolean |
login()
Performs the login operation |
void |
registerFormManager(java.lang.String formManagerName,
FormManager formManager)
Adds a FormManager to the application. |
void |
registerStatusComponent(StatusComponent statusComponent)
Register a StatusComponent to be managed by this
application. |
void |
setMenu(javax.swing.JMenuBar menuBar)
Sets a menu bar to the application. |
void |
setMenuListener(MenuListener menuListener)
Sets the application menu listener |
void |
setReferencesLocator(EntityReferenceLocator locator)
Sets the EntityReferenceLocator for this application. |
void |
setStatusBarText(java.lang.String text)
Sets a text in the application bar. |
void |
setToolBar(javax.swing.JToolBar toolBar)
Sets a tool bar to the application. |
void |
setToolBarListener(ToolBarListener toolbarListener)
Sets a toolbarListener |
void |
show()
Shows the application. |
void |
showFormManagerContainer(java.lang.String formManagerName)
Shows a form manager. |
void |
unregisterStatusComponent(StatusComponent statusComponent)
Unregister a StatusComponent from the list of the
be application managed components. |
| Methods inherited from interface com.ontimize.gui.i18n.Internationalization |
getTextsToTranslate, setComponentLocale, setResourceBundle |
| Method Detail |
public void setMenu(javax.swing.JMenuBar menuBar)
menuBar - the menu barApplicationMenuBarpublic void setToolBar(javax.swing.JToolBar toolBar)
toolBar - the tool barApplicationToolBarpublic EntityReferenceLocator getReferenceLocator()
public void setReferencesLocator(EntityReferenceLocator locator)
locator - public void showFormManagerContainer(java.lang.String formManagerName)
formManagerName - the name of the FormManager to show.public FormManager getFormManager(java.lang.String formManagerName)
formManagerName - the name of the FormManager
public void registerFormManager(java.lang.String formManagerName,
FormManager formManager)
formManagerName - the FormManager classformManager - the name that will be use to register and reference the FormManagerpublic void show()
public java.awt.Frame getFrame()
public boolean login()
public void exit()
public void lock()
public void endSession()
public java.util.Locale getLocale()
public java.util.ResourceBundle getResourceBundle()
public javax.swing.JMenuBar getMenu()
public MenuListener getMenuListener()
public void setMenuListener(MenuListener menuListener)
menuListener - the application menu listenerpublic javax.swing.JToolBar getToolBar()
public ToolBarListener getToolBarListener()
public void setToolBarListener(ToolBarListener toolbarListener)
toolbarListener - the new ToolBarListenerpublic ApplicationPreferences getPreferences()
public void setStatusBarText(java.lang.String text)
text - public void registerStatusComponent(StatusComponent statusComponent)
StatusComponent to be managed by this
application.
statusComponent - the StatusComponentpublic void unregisterStatusComponent(StatusComponent statusComponent)
StatusComponent from the list of the
be application managed components.
statusComponent - the StatusComponentpublic java.lang.String getName()
|
Ontimize | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||