y.layout
Class LabelLayoutImpl

java.lang.Object
  |
  +--y.layout.LabelLayoutImpl
All Implemented Interfaces:
LabelLayout
Direct Known Subclasses:
EdgeLabelLayoutImpl, NodeLabelLayoutImpl

public class LabelLayoutImpl
extends Object
implements LabelLayout

This class is a default implementation of the LabelLayout interface.


Constructor Summary
LabelLayoutImpl()
           
 
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 setBox(YRectangle b)
          Returns the bounding box of the label
 void setModelParameter(Object param)
          Sets the label model parameter that describes the position of this label.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LabelLayoutImpl

public LabelLayoutImpl()
Method Detail

getBox

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

Specified by:
getBox in interface LabelLayout

setBox

public void setBox(YRectangle b)
Returns the bounding box of the label


getModelParameter

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

Specified by:
getModelParameter in interface LabelLayout

setModelParameter

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

Specified by:
setModelParameter in interface LabelLayout

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

2003