Search this API

y.layout
Interface EdgeLabelLayout

All Superinterfaces:
LabelLayout, LabelLayoutConstants
All Known Implementing Classes:
EdgeLabel, EdgeLabelLayoutImpl

public interface EdgeLabelLayout
extends LabelLayout, LabelLayoutConstants

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


Field Summary
 
Fields inherited from interface y.layout.LabelLayoutConstants
PLACE_ANYWHERE, PLACE_AT_CENTER, PLACE_AT_SOURCE, PLACE_AT_TARGET, PLACE_LEFT_OF_EDGE, PLACE_ON_EDGE, PLACE_RIGHT_OF_EDGE, PLACEMENT_ALONG_EDGE_MASK, PLACEMENT_ON_SIDE_OF_EDGE_MASK
 
Method Summary
 EdgeLabelModel getLabelModel()
          Returns the edge label model associated with this label layout
 PreferredPlacementDescriptor getPreferredPlacementDescriptor()
          Returns preferred placement hints for layout algorithms.
 
Methods inherited from interface y.layout.LabelLayout
getBox, getModelParameter, getOrientedBox, setModelParameter
 

Method Detail

getLabelModel

EdgeLabelModel getLabelModel()
Returns the edge label model associated with this label layout


getPreferredPlacementDescriptor

PreferredPlacementDescriptor getPreferredPlacementDescriptor()
Returns preferred placement hints for layout algorithms.

Returns:
the preferred placement hints for this label.

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