Package | Description |
---|---|
org.fireweb |
Modifier and Type | Class and Description |
---|---|
class |
EventOptionsTest |
class |
SerializedApp |
Modifier and Type | Method and Description |
---|---|
<T extends FireWebApplication> |
Event.getApplication()
Context application of the event.
|
<T extends FireWebApplication> |
Element.getApplication()
Obtain the application object from objects tree.
|
Modifier and Type | Method and Description |
---|---|
FireWebApplication |
FireWebApplication.addHeadElement(HeadElement element)
Adds element to <head> if not exists on the list.
|
FireWebApplication |
FireWebApplication.assignApplicationTitle(java.lang.String title)
Sets application title without calling script.
|
FireWebApplication |
FireWebApplication.insertHeadElement(HeadElement element,
int index)
Insert element to <head> at given index if not exists on the list.
|
FireWebApplication |
TempFileSessionSerializer.loadSession(java.lang.String sessionId) |
FireWebApplication |
SingleNodeSessionSerializer.loadSession(java.lang.String sessionId) |
FireWebApplication |
SessionSerializer.loadSession(java.lang.String sessionId)
Deserialize session based on sessionId.
|
FireWebApplication |
FireWebApplication.quit()
Removes application from server session and closes websocket.
|
FireWebApplication |
FireWebApplication.refreshView()
Refresh application view.
|
FireWebApplication |
FireWebApplication.removeHeadElement(HeadElement element)
Removes element from <head>.
|
FireWebApplication |
FireWebApplication.setApplicationTitle(java.lang.String title)
Sets browser window title and sends JavaScript "document.title=..."
|
FireWebApplication |
FireWebApplication.setBookmark(java.lang.String bookmark)
Add bookmark to browser (client) history by calling FW.bookmarks.set
script.
|
FireWebApplication |
FireWebApplication.setLocale(java.util.Locale locale)
Sets current application locale and fire event
OnLocaleChanged on
view. |
FireWebApplication |
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 |
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.
|
Modifier and Type | Method and Description |
---|---|
java.util.Collection<FireWebApplication> |
TempFileSessionSerializer.getSessions() |
java.util.Collection<FireWebApplication> |
SingleNodeSessionSerializer.getSessions() |
java.util.Collection<FireWebApplication> |
SessionSerializer.getSessions()
Loads all active sessions from serializer container.
|
Modifier and Type | Method and Description |
---|---|
static void |
Utils.drawHTML(Element current,
FireWebApplication app,
java.lang.StringBuilder sb,
boolean intro)
Drawing HTML view below elements of this element in tree.
|
static java.lang.StringBuilder |
Utils.drawView(FireWebApplication app)
Redraw GUI view.
|
static java.lang.String |
Utils.encodeScript(java.lang.String script,
FireWebApplication app)
Encoding JS in order to convert extra characters to ascii
Replace + to %20 which is right decoded by JS function
"decodeURIComponent".
|
void |
TempFileSessionSerializer.storeSession(FireWebApplication app) |
void |
SingleNodeSessionSerializer.storeSession(FireWebApplication app) |
void |
SessionSerializer.storeSession(FireWebApplication app)
Implements serialization of session object.
|
Constructor and Description |
---|
Event(Element element,
FireWebApplication application)
Create event object with element event context.
|
Event(FireWebApplication application)
Create event object without event context data.
|
Event(java.lang.Object data,
FireWebApplication application)
Create event object with event context data.
|