Constructor and Description |
---|
FireWebApplication() |
Modifier and Type | Method and Description |
---|---|
FireWebApplication |
addHeadElement(HeadElement element)
Adds element to <head> if not exists on the list.
|
FireWebApplication |
assignApplicationTitle(java.lang.String title)
Sets application title without calling script.
|
protected void |
clearScript()
Clears Java Script buffer
|
void |
drawAttributes()
Draws onLoad event code of HTML document which is container
of application view.
|
java.lang.String |
getApplicationTitle() |
java.util.List<HeadElement> |
getHeadElements()
List elements of <head>.
|
java.util.Locale |
getLocale()
Gets current application locale.
|
java.lang.String |
getOnBeforeAfterEvent() |
java.lang.String |
getOnFeedbackTimeout() |
java.lang.String |
getOnSessionClosed() |
protected java.lang.StringBuffer |
getScript() |
FireWebApplication |
insertHeadElement(HeadElement element,
int index)
Insert element to <head> at given index if not exists on the list.
|
FireWebApplication |
quit()
Removes application from server session.
|
FireWebApplication |
refreshView()
Reloads application view.
|
FireWebApplication |
removeHeadElement(HeadElement element)
Removes element from <head>.
|
FireWebApplication |
setApplicationTitle(java.lang.String title)
Sets browser window title and sends JavaScript "document.title=..."
|
FireWebApplication |
setBookmark(java.lang.String bookmark)
Add bookmark to browser (client) history by calling FW.bookmarks.set
script.
|
FireWebApplication |
setLocale(java.util.Locale locale)
Sets current application locale.
|
FireWebApplication |
setOnBeforeAfterEvent(java.lang.String onBeforeAfterEvent)
Java Script function name or function definition which is calling by FW
JS engine on browser before event processing in order to eg prevent click
on any active element by displaying translucent element all over whole
document.
|
FireWebApplication |
setOnFeedbackTimeout(java.lang.String onFeedbackTimeout)
Java Script function name or function definition which is calling by FW
JS engine on browser when event processing takes more then 1 second.
|
FireWebApplication |
setOnSessionClosed(java.lang.String onSessionClosed)
Java Script function name or function definition which is calling by FW
JS engine on browser when server session closed.
|
add, addAllDropTargets, addDropTarget, addListener, addStyleClass, alert, assignText, callBack, callBack, callScript, clearDropTargets, clearElements, clearElements, confirm, confirm, drawAttribute, findElement, findParent, findViewElements, fireEvent, fireEvent, fireEventOnView, fireEventOnView, firePropertyChange, focus, getApplication, getBundle, getBundleObject, getCustomDragMove, getDir, getDragDropEventsOptions, getDropTargets, getElements, getElements, getEventListeners, getId, getLang, getParent, getStyle, getStyleClass, getTabIndex, getText, getTitle, insert, isChildrenSetChanged, isContenteditable, isDraggable, isDrawn, isEscapeText, isListening, isListening, isListening, print, prompt, prompt, remove, remove, removeAttribute, removeDropTarget, removeListener, removeListener, removeParent, removeStyleClass, replace, replaceStyleClass, retrieveListeners, retrieveListeners, setChangeChildrenSet, setContenteditable, setCustomDragMove, setDir, setDragDropEventsOptions, setDraggable, setDrawn, setEscapeText, setLang, setParent, setStyle, setStyleClass, setTabIndex, setText, setTitle, transformTagName
protected java.lang.StringBuffer getScript()
protected void clearScript()
@InitializeAttributes public void drawAttributes()
public java.util.List<HeadElement> getHeadElements()
public FireWebApplication addHeadElement(HeadElement element)
element
- StyleTag element represents the stylepublic FireWebApplication insertHeadElement(HeadElement element, int index)
element
- StyleTag element represents the styleindex
- At which list element to insertpublic FireWebApplication removeHeadElement(HeadElement element)
element
- to remove.public FireWebApplication refreshView()
public FireWebApplication quit()
public FireWebApplication setBookmark(java.lang.String bookmark)
bookmark
- value will be sent to browserpublic java.lang.String getApplicationTitle()
public FireWebApplication assignApplicationTitle(java.lang.String title)
title
- String with application titlepublic FireWebApplication setApplicationTitle(java.lang.String title)
title
- the application title to setpublic java.util.Locale getLocale()
public FireWebApplication setLocale(java.util.Locale locale)
locale
- the locale to setpublic FireWebApplication setOnSessionClosed(java.lang.String onSessionClosed)
onSessionClosed
- String JS scriptpublic java.lang.String getOnSessionClosed()
public FireWebApplication setOnFeedbackTimeout(java.lang.String onFeedbackTimeout)
onFeedbackTimeout
- String JS scriptpublic java.lang.String getOnFeedbackTimeout()
public FireWebApplication setOnBeforeAfterEvent(java.lang.String onBeforeAfterEvent)
onBeforeAfterEvent
- String JS scriptpublic java.lang.String getOnBeforeAfterEvent()