y.layout
Interface NodeLabelModel

All Known Implementing Classes:
DiscreteNodeLabelModel, EdgeOppositeNodeLabelModel, FreeNodeLabelModel

public interface NodeLabelModel

This interface defines the properties of the model associated with a node label layout.

A node label model provides a set of possible candidates for the placement of a node label.


Method Summary
 Object getDefaultParameter()
           
 YList getLabelCandidates(NodeLabelLayout nl, NodeLayout nodeLayout)
           
 YPoint getLabelPlacement(YDimension labelSize, NodeLayout nodeLayout, Object param)
           
 

Method Detail

getDefaultParameter

public Object getDefaultParameter()

getLabelPlacement

public YPoint getLabelPlacement(YDimension labelSize,
                                NodeLayout nodeLayout,
                                Object param)

getLabelCandidates

public YList getLabelCandidates(NodeLabelLayout nl,
                                NodeLayout nodeLayout)

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

2003