|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--y.layout.LabelLayoutImpl | +--y.layout.EdgeLabelLayoutImpl
This class is an default implementation of the EdgeLabelLayout interface.
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 |
Constructor Summary | |
EdgeLabelLayoutImpl()
|
Method Summary | |
EdgeLabelModel |
getLabelModel()
Returns the edge label model associated with this label layout |
byte |
getPreferredPlacement()
Returns the preferred placement of this label. |
void |
setEdgeLabelModel(EdgeLabelModel m)
Sets the edge label model associated with this label layout |
void |
setPreferredPlacement(byte placement)
Sets the preferred placement of this label |
Methods inherited from class y.layout.LabelLayoutImpl |
getBox, getModelParameter, setBox, setModelParameter |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface y.layout.LabelLayout |
getBox, getModelParameter, setModelParameter |
Constructor Detail |
public EdgeLabelLayoutImpl()
Method Detail |
public EdgeLabelModel getLabelModel()
getLabelModel
in interface EdgeLabelLayout
public void setEdgeLabelModel(EdgeLabelModel m)
public void setPreferredPlacement(byte placement)
EdgeLabelLayoutImpl.getPreferredPlacement()
public byte getPreferredPlacement()
EdgeLabelLayout
getPreferredPlacement
in interface EdgeLabelLayout
LabelLayoutConstants.PLACE_ANYWHERE
, LabelLayoutConstants.PLACE_AT_SOURCE
,
LabelLayoutConstants.PLACE_AT_TARGET
or LabelLayoutConstants.PLACE_AT_CENTER
and
LabelLayoutConstants.PLACE_LEFT_OF_EDGE
, LabelLayoutConstants.PLACE_RIGHT_OF_EDGE
and LabelLayoutConstants.PLACE_ON_EDGE
LabelLayoutConstants
|
© Copyright 2000-2003, yWorks GmbH. All rights reserved. 2003 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |