public abstract class View
extends Object
Constructor and Description |
---|
View() |
Modifier and Type | Method and Description |
---|---|
abstract Object |
getClientState(Node node)
Get the client state for a given node
|
abstract Object |
getKey(Object stampKey)
Given a potential client version of the stamp key, get the embedded key object
|
abstract String |
getLanguage()
Returns the language set on the web view document element
|
abstract Node |
getNodeById(String nodeId)
Find a node by its ID.
|
abstract Node |
getRootNode() |
abstract Object |
getStampKey(Object key)
Get a stamp key for a stamp object.
|
abstract boolean |
isLeftToRight()
Checks if the current language is rendered left-to-right
|
abstract boolean |
isRightToLeft()
Checks if the current language is rendered right-to-left
|
abstract Object |
setClientState(Node node,
Object state)
Set the client state for a node that is stored on the view
|
public abstract boolean isRightToLeft()
public abstract boolean isLeftToRight()
public abstract String getLanguage()
public abstract Node getRootNode()
public abstract Object getClientState(Node node)
node
- the nodepublic abstract Object setClientState(Node node, Object state)
node
- the nodestate
- the state of the nodepublic abstract Object getStampKey(Object key)
key
- the stamppublic abstract Object getKey(Object stampKey)
stampKey
- the actual key or the client safe string version of the keypublic abstract Node getNodeById(String nodeId)
nodeId
- the node ID