ilog.cpl.network.renderer
Class IlpLabelLayoutRenderer
java.lang.Object
ilog.cpl.graphic.css.renderer.IlpAbstractGraphicViewRenderer
ilog.cpl.graph.css.renderer.IlpAbstractRepresentationViewRenderer
ilog.cpl.graph.css.renderer.IlpLabelLayoutRenderer
ilog.cpl.network.renderer.IlpLabelLayoutRenderer
public class IlpLabelLayoutRenderer
- extends ilog.cpl.graph.css.renderer.IlpLabelLayoutRenderer
This class gives control over the label layout of an
IlpNetworkView.
This class is a CSS stylable Bean. It can be configured like this in
a CSS file:
LabelLayout {
class: 'ilog.tgo.graphic.graphlayout.labellayout.IltAnnealingLabelLayout';
// Any properties configurable for given class.
objects[0]: LINKS;
objects[1]: NETWORK_ELEMENTS;
objects[2]: POLY_GROUPS;
}
The value of the class property should be the name of
a subclass of IlvLabelLayout
that has a public no-argument constructor. For best operation in the network
component,
IltAnnealingLabelLayout
(or a subclass of it) is recommended.
The allowed properties and their values depend on the class.
- Since:
- JTGO 3.5
- See Also:
IlpNetworkView
| Methods inherited from class ilog.cpl.graph.css.renderer.IlpLabelLayoutRenderer |
getCSSID, reset |
| Methods inherited from class ilog.cpl.graph.css.renderer.IlpAbstractRepresentationViewRenderer |
attach, getView, noteContainerAdded, noteContainerUpdated |
| Methods inherited from class ilog.cpl.graphic.css.renderer.IlpAbstractGraphicViewRenderer |
detach, getContext, getGraphicView, isRendererEnabled, setRendererEnabled |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
IlpLabelLayoutRenderer
public IlpLabelLayoutRenderer()
getLabelLayout
public IlvLabelLayout getLabelLayout()
- Returns the label layout.
- Overrides:
getLabelLayout in class ilog.cpl.graph.css.renderer.IlpLabelLayoutRenderer
- Returns:
- A label layout or
null if none has been specified.
setLabelLayout
public void setLabelLayout(IlvLabelLayout layout)
- Changes the label layout.
- Overrides:
setLabelLayout in class ilog.cpl.graph.css.renderer.IlpLabelLayoutRenderer
- Parameters:
layout - A label layout or null.
Copyright © 1996-2007 ILOG S.A. All rights reserved. Documentation homepage. . All Rights Reserved.