Package | Description |
---|---|
org.itsnat.comp |
Contains generic interfaces of components, markup namespace independent, they may be applied to HTML components, SVG components, XML components etc.
|
org.itsnat.core |
Contains the fundamental interfaces and classes: provides utilities to wrap the servlet system, to control the page lifecycle, to create event listeners etc.
|
org.itsnat.core.event |
Defines event and listener classes and interfaces associated to the page lifecycle and events.
|
Modifier and Type | Method and Description |
---|---|
void |
ItsNatComponent.setEventListenerParams(ClientDocument clientDoc,
java.lang.String type,
boolean useCapture,
int commMode,
ParamTransport[] extraParams,
java.lang.String preSendCode,
long eventTimeout)
Sets the parameters used to fire and receive AJAX/SCRIPT events by this component and specified client.
|
void |
ItsNatComponent.setEventListenerParams(java.lang.String type,
boolean useCapture,
int commMode,
ParamTransport[] extraParams,
java.lang.String preSendCode,
long eventTimeout)
Sets the parameters used to fire and receive AJAX/SCRIPT events by this component.
|
Modifier and Type | Method and Description |
---|---|
void |
ClientDocument.addAsynchronousTask(java.lang.Runnable task,
boolean lockDoc,
int maxWait,
org.w3c.dom.events.EventTarget target,
org.w3c.dom.events.EventListener listener,
int commMode,
ParamTransport[] extraParams,
java.lang.String preSendCode,
long eventTimeout)
Executes the specified
task in a new thread and ensures that any DOM modification performed by this task
is sent to the client when the task ends. |
void |
ClientDocument.addContinueEventListener(org.w3c.dom.events.EventTarget target,
org.w3c.dom.events.EventListener listener,
int commMode,
ParamTransport[] extraParams,
java.lang.String preSendCode,
long eventTimeout)
Registers a "continue"
EventListener . |
void |
ItsNatDocument.addEventListener(org.w3c.dom.events.EventTarget target,
java.lang.String type,
org.w3c.dom.events.EventListener listener,
boolean useCapture,
int commMode,
ParamTransport[] extraParams,
java.lang.String preSendCode,
long eventTimeout)
Registers a new DOM
org.w3c.dom.events.EventListener . |
void |
ClientDocument.addEventListener(org.w3c.dom.events.EventTarget target,
java.lang.String type,
org.w3c.dom.events.EventListener listener,
boolean useCapture,
int commMode,
ParamTransport[] extraParams,
java.lang.String preSendCode,
long eventTimeout)
Registers a new DOM
org.w3c.dom.events.EventListener . |
void |
ItsNatDocument.addEventListener(org.w3c.dom.events.EventTarget target,
java.lang.String type,
org.w3c.dom.events.EventListener listener,
boolean useCapture,
ParamTransport extraParam)
Registers a new DOM
org.w3c.dom.events.EventListener with
document default communication mode and timeout, the specified extra
parameter and no custom JavaScript code. |
void |
ClientDocument.addEventListener(org.w3c.dom.events.EventTarget target,
java.lang.String type,
org.w3c.dom.events.EventListener listener,
boolean useCapture,
ParamTransport extraParam)
Registers a new DOM
org.w3c.dom.events.EventListener with
document default communication mode and timeout, the specified extra
parameter and no custom JavaScript code. |
void |
ItsNatDocument.addEventListener(org.w3c.dom.events.EventTarget target,
java.lang.String type,
org.w3c.dom.events.EventListener listener,
boolean useCapture,
ParamTransport[] extraParams)
Registers a new DOM
org.w3c.dom.events.EventListener with
document default communication mode and timeout, the specified extra
parameters and no custom JavaScript code. |
void |
ClientDocument.addEventListener(org.w3c.dom.events.EventTarget target,
java.lang.String type,
org.w3c.dom.events.EventListener listener,
boolean useCapture,
ParamTransport[] extraParams)
Registers a new DOM
org.w3c.dom.events.EventListener with
document default communication mode and timeout, the specified extra
parameters and no custom JavaScript code. |
void |
ItsNatDocument.addUserEventListener(org.w3c.dom.events.EventTarget target,
java.lang.String name,
org.w3c.dom.events.EventListener listener,
int commMode,
ParamTransport[] extraParams,
java.lang.String preSendCode,
long eventTimeout)
Registers a "user"
EventListener . |
void |
ClientDocument.addUserEventListener(org.w3c.dom.events.EventTarget target,
java.lang.String name,
org.w3c.dom.events.EventListener listener,
int commMode,
ParamTransport[] extraParams,
java.lang.String preSendCode,
long eventTimeout)
Registers a "user"
EventListener . |
ItsNatTimerHandle |
ItsNatTimer.schedule(org.w3c.dom.events.EventTarget target,
org.w3c.dom.events.EventListener task,
java.util.Date time,
int commMode,
ParamTransport[] extraParams,
java.lang.String preSendCode,
long eventTimeout)
Schedules the specified task (the
EventListener object) for execution at the specified time. |
ItsNatTimerHandle |
ItsNatTimer.schedule(org.w3c.dom.events.EventTarget target,
org.w3c.dom.events.EventListener task,
java.util.Date firstTime,
long period,
int commMode,
ParamTransport[] extraParams,
java.lang.String preSendCode,
long eventTimeout)
Schedules the specified task for repeated fixed-delay execution,
beginning at the specified time.
|
ItsNatTimerHandle |
ItsNatTimer.schedule(org.w3c.dom.events.EventTarget target,
org.w3c.dom.events.EventListener task,
long delay,
int commMode,
ParamTransport[] extraParams,
java.lang.String preSendCode,
long eventTimeout)
Schedules the specified task for execution after the specified delay.
|
ItsNatTimerHandle |
ItsNatTimer.schedule(org.w3c.dom.events.EventTarget target,
org.w3c.dom.events.EventListener task,
long delay,
long period,
int commMode,
ParamTransport[] extraParams,
java.lang.String preSendCode,
long eventTimeout)
Schedules the specified task for repeated fixed-delay execution,
beginning after the specified delay.
|
ItsNatTimerHandle |
ItsNatTimer.scheduleAtFixedRate(org.w3c.dom.events.EventTarget target,
org.w3c.dom.events.EventListener task,
java.util.Date firstTime,
long period,
int commMode,
ParamTransport[] extraParams,
java.lang.String preSendCode,
long eventTimeout)
Schedules the specified task for repeated fixed-rate execution,
beginning at the specified time.
|
ItsNatTimerHandle |
ItsNatTimer.scheduleAtFixedRate(org.w3c.dom.events.EventTarget target,
org.w3c.dom.events.EventListener task,
long delay,
long period,
int commMode,
ParamTransport[] extraParams,
java.lang.String preSendCode,
long eventTimeout)
Schedules the specified task for repeated fixed-rate execution,
beginning after the specified delay.
|
Modifier and Type | Class and Description |
---|---|
class |
CustomParamTransport
Is used to command ItsNat to transport one value from client to server
using an event fired on the client and listened in the server.
|
class |
NodeAllAttribTransport
Is used to command ItsNat to transport all current attributes of a client
element and optionally synchronize them with the matched server element.
|
class |
NodeAttributeTransport
Is used to command ItsNat to transport the specified attribute of a client
DOM element and optionally synchronize it with the matched server DOM element.
|
class |
NodeCompleteTransport
Is used to command ItsNat to transport the current node state (content and attributes) of the specified client
node and optionally synchronize it with the matched server DOM node.
|
class |
NodeInnerTransport
Is used to command ItsNat to transport the current content (inner) of the specified client
node and optionally synchronize it with the matched server DOM node.
|
class |
NodeMutationTransport
Is used to command ItsNat to transport a client node mutation
and optionally synchronize this change at the server.
|
class |
NodePropertyTransport
Is used to command ItsNat to transport the specified node property of a client
element and optionally synchronize it with the matched server element as an attribute.
|
class |
SingleParamTransport
Is the base class of "transport" classes which carry one named value, these classes are used to send custom data from client
to server using an event fired on the client and listened in the server.
|
Copyright © 2007 Innowhere Software Services S.L. All Rights Reserved.