Search this API

y.layout
Interface LabelLayout

All Known Subinterfaces:
EdgeLabelLayout, NodeLabelLayout
All Known Implementing Classes:
DefaultNodeLabelLayout, EdgeLabel, EdgeLabelLayoutImpl, LabelLayoutImpl, NodeLabel, NodeLabelLayoutImpl

public interface LabelLayout

This interface defines the properties of one label from the perspective of a labeling algorithm.


Method Summary
 YRectangle getBox()
          Returns the bounding box of the label
 Object getModelParameter()
          Returns the label model parameter that describes the position of this label.
 OrientedRectangle getOrientedBox()
          Returns the box of the label
 void setModelParameter(Object param)
          Sets the label model parameter that describes the position of this label.
 

Method Detail

getBox

YRectangle getBox()
Returns the bounding box of the label


getOrientedBox

OrientedRectangle getOrientedBox()
Returns the box of the label


getModelParameter

Object getModelParameter()
Returns the label model parameter that describes the position of this label.


setModelParameter

void setModelParameter(Object param)
Sets the label model parameter that describes the position of this label.


© Copyright 2000-2013,
yWorks GmbH.
All rights reserved.