|
Oxygen XML Editor 14.1 Author API | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectro.sync.ecss.extensions.api.editor.InplaceRendererAdapter
public abstract class InplaceRendererAdapter
Convenience implementation of the InplaceRenderer
.
By extending this adapter you are protected if any new methods are added
inside InplaceRenderer
.
Please note that this API is not marked as final and it can change in one of the next versions of the application. If you have suggestions, comments about it, please let us know.
Constructor Summary | |
---|---|
InplaceRendererAdapter()
|
Method Summary | |
---|---|
java.lang.String |
getDescription()
|
java.lang.Object |
getRendererComponent(AuthorInplaceContext context)
Initialize the renderer with the given context and returns the component. |
RendererLayoutInfo |
getRenderingInfo(AuthorInplaceContext context)
Returns the rendering layout info. |
java.lang.String |
getTooltipText(AuthorInplaceContext context,
int x,
int y)
Gets a tooltip text to be presented when the cursor is over this renderer. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface ro.sync.ecss.extensions.api.editor.InplaceRenderer |
---|
getCursorType |
Constructor Detail |
---|
public InplaceRendererAdapter()
Method Detail |
---|
public java.lang.String getDescription()
getDescription
in interface Extension
Extension.getDescription()
public java.lang.Object getRendererComponent(AuthorInplaceContext context)
InplaceRenderer
getRendererComponent
in interface InplaceRenderer
context
- The editing context.
InplaceRenderer.getRendererComponent(ro.sync.ecss.extensions.api.editor.AuthorInplaceContext)
public RendererLayoutInfo getRenderingInfo(AuthorInplaceContext context)
InplaceRenderer
getRenderingInfo
in interface InplaceRenderer
context
- The editing context.
InplaceRenderer.getRenderingInfo(ro.sync.ecss.extensions.api.editor.AuthorInplaceContext)
public java.lang.String getTooltipText(AuthorInplaceContext context, int x, int y)
InplaceRenderer
getTooltipText
in interface InplaceRenderer
context
- The editing context.x
- The x coordinate relative to the renderer bounds.y
- The y coordinate relative to the renderer bounds.
null
if no tooltip.InplaceRenderer.getTooltipText(ro.sync.ecss.extensions.api.editor.AuthorInplaceContext, int, int)
|
Oxygen XML Editor 14.1 Author API | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |