|
Oxygen XML Editor 14.2 Author API | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object ro.sync.exml.workspace.api.node.customizer.BasicRenderingInformation
@API(type=EXTENDABLE, src=PUBLIC) public class BasicRenderingInformation
The rendering information used to display a node in the Outline view, Author bread crumb, Content Completion popup window, Elements view and DITA Map view.
Constructor Summary | |
---|---|
BasicRenderingInformation()
|
Method Summary | |
---|---|
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. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public BasicRenderingInformation()
Method Detail |
---|
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.
|
Oxygen XML Editor 14.2 Author API | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |