public abstract class BaseUpdateableElement extends HTMLNode
HTMLNode.HTMLDoctype
Modifier and Type | Field and Description |
---|---|
protected ToadletContext |
ctx
The context of the request
|
BASE_CHAR, COMBINING_CHAR, DIGIT, EXTENDER, IDEOGRAPHIC, LETTER, NAME, NAME_CHAR
Constructor and Description |
---|
BaseUpdateableElement(java.lang.String name,
java.lang.String[] attributeNames,
java.lang.String[] attributeValues,
ToadletContext ctx) |
BaseUpdateableElement(java.lang.String name,
java.lang.String attributeName,
java.lang.String attributeValue,
ToadletContext ctx) |
BaseUpdateableElement(java.lang.String name,
ToadletContext ctx) |
Modifier and Type | Method and Description |
---|---|
abstract void |
dispose()
Disposes the Node
|
abstract java.lang.String |
getUpdaterId(java.lang.String requestId)
Returns the id, that identifies the element.
|
abstract java.lang.String |
getUpdaterType()
Returns the type of the client-side updater.
|
protected void |
init(boolean pushed)
Initializes the Node.
|
abstract void |
updateState(boolean initial)
Updates the state of the Node.
|
addAttribute, addChild, addChild, addChild, addChild, addChild, addChild, addChild, addChildren, addChildren, checkNamePattern, clone, generate, generate, generate, generateChildren, getAttribute, getAttributes, getChildren, getContent, getFirstTag, link, linkInNewWindow, removeChildren, setContent, setReadOnly, text, text, text, text
protected ToadletContext ctx
public BaseUpdateableElement(java.lang.String name, ToadletContext ctx)
public BaseUpdateableElement(java.lang.String name, java.lang.String attributeName, java.lang.String attributeValue, ToadletContext ctx)
public BaseUpdateableElement(java.lang.String name, java.lang.String[] attributeNames, java.lang.String[] attributeValues, ToadletContext ctx)
protected void init(boolean pushed)
public abstract void updateState(boolean initial)
initial
- - If this is the first updatepublic abstract java.lang.String getUpdaterId(java.lang.String requestId)
public abstract java.lang.String getUpdaterType()
public abstract void dispose()