@API(type=EXTENDABLE,
src=PUBLIC)
public class BasicRenderingInformation
extends java.lang.Object
Constructor and Description |
---|
BasicRenderingInformation() |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getIconPath()
Get the path of the icon used to render a node.
|
java.lang.String |
getRenderedText()
Get the text to be rendered for a node.
|
java.lang.String |
getTooltipText()
The tooltip text which will appear in the tooltip associated with the node.
|
void |
setIconPath(java.lang.String iconPath)
Set the path of the icon used to render a node.
|
void |
setRenderedText(java.lang.String renderedText)
Set the text to be rendered for a node.
|
void |
setTooltipText(java.lang.String tooltipText)
The tooltip text which will appear in the tooltip associated with the node.
|
public void setRenderedText(java.lang.String renderedText)
null
then the default node rendering will be used.renderedText
- The rendered text, usually the node name. If null
the default text will be used for rendering.public void setTooltipText(java.lang.String tooltipText)
null
then the default tooltip text will be used for the node.tooltipText
- The tooltip text which will appear in the tooltip associated with the node.
If null
the default tooltip text will be used for the node.public void setIconPath(java.lang.String iconPath)
URL
or can contain editor variables as defined in the EditorVariables
class.
The editor variables will be expanded at runtime.
If the icon path is null
the default icon will be used for the node.
XMLNodeRendererCustomizer
then you can use as the return value for this function the following code sequence:
this.getClass().getResource("/images/Icon.gif").toExternalForm();
iconPath
- The path of the icon. If null
the default icon will be used for the node.public java.lang.String getRenderedText()
public java.lang.String getTooltipText()
public java.lang.String getIconPath()
URL
or can contain editor variables as defined in the EditorVariables
class.
The editor variables will be expanded at runtime.© Copyright SyncRO Soft SRL 2002 - 2014. All rights reserved.