Oxygen XML Editor 14.2 Author API

ro.sync.ecss.extensions.api.editor
Class RendererLayoutInfo

java.lang.Object
  extended by ro.sync.ecss.extensions.api.editor.RendererLayoutInfo

@API(type=EXTENDABLE,
     src=PUBLIC)
public class RendererLayoutInfo
extends java.lang.Object

Class which contains rendering information about a renderer, information like the baseline and the size. The baseline and the size of the renderer are computed in a certain context.

Since:
14.1

*********************************
EXPERIMENTAL - Subject to change
********************************

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
RendererLayoutInfo(int baseline, ro.sync.exml.view.graphics.Dimension size)
          Constructor.
 
Method Summary
 int getBaseline()
          Gets the baseline.
 ro.sync.exml.view.graphics.Dimension getSize()
          Get the size of the renderer, in a certain context.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RendererLayoutInfo

public RendererLayoutInfo(int baseline,
                          ro.sync.exml.view.graphics.Dimension size)
Constructor.

Parameters:
baseline - The baseline of the rendering component.
size - The size of the renderer.
Method Detail

getBaseline

public int getBaseline()
Gets the baseline. The baseline is measured from the top of the component. This method is primarily meant for the layout manager to align components along their baseline.

Returns:
The baseline.

getSize

public ro.sync.exml.view.graphics.Dimension getSize()
Get the size of the renderer, in a certain context.

Returns:
The renderer size.

Oxygen XML Editor 14.2 Author API

© Copyright SyncRO Soft SRL 2002 - 2013. All rights reserved.