|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.zkoss.zk.ui.metainfo.TextInfo
public class TextInfo
Represents a text.
| Constructor Summary | |
|---|---|
TextInfo(NodeInfo parent,
java.lang.String text)
|
|
TextInfo(java.lang.String text)
Constructor |
|
| Method Summary | |
|---|---|
void |
appendChild(NodeInfo child)
Append a child |
java.util.List<NodeInfo> |
getChildren()
Returns a readonly list of children. |
Evaluator |
getEvaluator()
Returns the evaluator. |
EvaluatorRef |
getEvaluatorRef()
Returns the evaluator reference. |
PageDefinition |
getPageDefinition()
Returns the page definition, i.e., the root node, or null if not available. |
NodeInfo |
getParent()
Returns the parent, or null if it has no parent. |
java.lang.String |
getRawValue()
Returns the raw value (text). |
java.lang.String |
getValue(Component comp)
Returns the value after evaluation. |
java.lang.String |
getValue(Page page)
Returns the value after evaluation (might be null). |
boolean |
removeChild(NodeInfo child)
Removes a child. |
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public TextInfo(java.lang.String text)
public TextInfo(NodeInfo parent,
java.lang.String text)
| Method Detail |
|---|
public java.lang.String getRawValue()
public java.lang.String getValue(Page page)
public java.lang.String getValue(Component comp)
public java.lang.String toString()
toString in class java.lang.Objectpublic EvaluatorRef getEvaluatorRef()
NodeInfo
getEvaluatorRef in interface NodeInfopublic PageDefinition getPageDefinition()
NodeInfo
getPageDefinition in interface NodeInfopublic Evaluator getEvaluator()
NodeInfoAll nodes in the same ZUML tree has the same evaluator reference
(inherited from the root node, PageDefinition.getEvaluatorRef()).
getEvaluator in interface NodeInfopublic NodeInfo getParent()
NodeInfo
getParent in interface NodeInfopublic java.util.List<NodeInfo> getChildren()
NodeInfoNote: the returned list is readonly. To modify, please use
NodeInfo.appendChild(org.zkoss.zk.ui.metainfo.NodeInfo) and NodeInfo.removeChild(org.zkoss.zk.ui.metainfo.NodeInfo) instead.
getChildren in interface NodeInfopublic void appendChild(NodeInfo child)
NodeInfo
appendChild in interface NodeInfopublic boolean removeChild(NodeInfo child)
NodeInfo
removeChild in interface NodeInfo
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||