|
Components |
|
| |||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface JavaScriptNodeInterface
JavaScriptNodeInterface is an interface which provides access for creating a JavaScriptNode. A JavaScriptNode is used to construct a node in Java that will be created as a node in javascript.
Method Summary | |
---|---|
java.lang.String |
createNodeParameterString(java.util.Map params)
Returns a String containing the name/value pairs of the properties to be passed to the JavaScript node constructor. |
java.lang.String |
getCloneNodeFunctionName()
Gets the clone node function name for the JavaScriptNode. |
java.lang.String |
getDeselectNodeFunctionName()
Gets the deselect node function name for the JavaScriptNode. |
java.lang.String |
getDisabledImage()
Gets the disabled image source for the JavaScriptNode. |
java.lang.String |
getImage()
Gets the image source for the JavaScriptNode. |
java.lang.String |
getImageLocation()
Gets the image location for the image in the JavaScriptNode. |
int |
getIndentionLevel()
Gets the indention level for the JavaScriptNode. |
java.lang.String |
getNodeConstructorName()
Gets the node constructor name for the JavaScriptNode. |
java.util.Map |
getNodeConstructorParameters()
Returns a Map containing the name/value pairs of the properties to be passed to the constructor. |
java.lang.String |
getRenderNodeFunctionName()
Gets the render node function name for the JavaScriptNode. |
java.lang.String |
getSelectNodeFunctionName()
Gets the select node function name for the JavaScriptNode. |
java.lang.String |
getStyleClassPrefix()
Gets the style class prefix for the JavaScriptNode. |
java.util.Map |
getStyleMap()
Returns the style map for this JavaScriptNode. |
java.lang.String |
getText()
Gets the text of the JavaScriptNode. |
java.lang.String |
getValue()
Gets the return value for the JavaScriptNode. |
boolean |
isNoWrap()
Determines if node text should wrap. |
void |
setCloneNodeFunctionName(java.lang.String value)
Sets the name of the javascript function to use to clone this object. |
void |
setDeselectNodeFunctionName(java.lang.String value)
Sets the name of the javascript function to use when node is deselected. |
void |
setDisabledImage(java.lang.String value)
Sets the source disabled image for the JavaScriptNode. |
void |
setImage(java.lang.String value)
Sets the source image for the JavaScriptNode. |
void |
setImageLocation(java.lang.String value)
Sets the image location for the image in the JavaScriptNode. |
void |
setIndentionLevel(int value)
Sets the indention level for the JavaScriptNode. |
void |
setNodeConstructorName(java.lang.String value)
Sets the name of the javascript function to use as the constructor for this object. |
void |
setNoWrap(boolean value)
Sets whether or not to wrap the node text. |
void |
setRenderNodeFunctionName(java.lang.String value)
Sets the name of the javascript function to use to render this object. |
void |
setSelectNodeFunctionName(java.lang.String value)
Sets the name of the javascript function to use when node is selected. |
void |
setStyleClassPrefix(java.lang.String value)
Sets the style class prefix for the JavaScriptNode. |
void |
setText(java.lang.String value)
Sets the text of the JavaScriptNode. |
void |
setValue(java.lang.String value)
Sets the return value for the JavaScriptNode. |
Method Detail |
---|
void setText(java.lang.String value)
text
- The textjava.lang.String getText()
void setImage(java.lang.String value)
value
- The source for the imagejava.lang.String getImage()
void setDisabledImage(java.lang.String value)
value
- The source for the disabled imagejava.lang.String getDisabledImage()
void setValue(java.lang.String value)
value
- The return valuejava.lang.String getValue()
void setIndentionLevel(int value)
value
- The indention levelint getIndentionLevel()
void setImageLocation(java.lang.String value)
value
- The image locationjava.lang.String getImageLocation()
void setStyleClassPrefix(java.lang.String value)
value
- The style class prefixjava.lang.String getStyleClassPrefix()
void setCloneNodeFunctionName(java.lang.String value)
value
- The clone node function namejava.lang.String getCloneNodeFunctionName()
void setSelectNodeFunctionName(java.lang.String value)
value
- The select node function namejava.lang.String getSelectNodeFunctionName()
void setDeselectNodeFunctionName(java.lang.String value)
value
- The deselect node function namejava.lang.String getDeselectNodeFunctionName()
void setNodeConstructorName(java.lang.String value)
value
- The node constructor namejava.lang.String getNodeConstructorName()
java.util.Map getNodeConstructorParameters()
java.lang.String createNodeParameterString(java.util.Map params)
The
- map of node constructor parameters
void setRenderNodeFunctionName(java.lang.String value)
value
- The render node function namejava.lang.String getRenderNodeFunctionName()
java.util.Map getStyleMap()
STYLE KEY | DEFAULT STYLE |
JAVASCRIPTNODE_IMAGE | NONE |
JAVASCRIPTNODE_TEXT | NONE |
JAVASCRIPTNODE_INDENT | NONE |
void setNoWrap(boolean value)
value
- TRUE to wrap node text.boolean isNoWrap()
|
Components |
|
| |||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |