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 labelling 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.
 void setModelParameter(Object param)
          Sets the label model parameter that describes the position of this label.
 

Method Detail

getBox

public YRectangle getBox()
Returns the bounding box of the label


getModelParameter

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


setModelParameter

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


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

2003