ilog.cpl.network.renderer
Class IlpZoomingRenderer
java.lang.Object
ilog.cpl.graphic.css.renderer.IlpAbstractGraphicViewRenderer
ilog.cpl.graph.css.renderer.IlpAbstractRepresentationViewRenderer
ilog.cpl.graph.css.renderer.IlpZoomingRenderer
ilog.cpl.network.renderer.IlpZoomingRenderer
public class IlpZoomingRenderer
- extends ilog.cpl.graph.css.renderer.IlpZoomingRenderer
This class gives control over the zooming behavior of an
IlpNetworkView.
This class is a CSS stylable Bean. It can be configured like this in
a CSS file:
Zooming {
type : String;
// Properties for type "Mixed":
zoomThreshold : float;
subNetworkZoomFactor : float;
}
The type property attribute denotes
the name of one of the built-in zoom policies:
Physical
Logical
Mixed
The allowed properties and their values depend on the name of the zoom
policy. The Logical and Mixed policies have a
property named additionalZoom with a value that is a floating
point number that defaults to 1. The Mixed policy
has two properties named zoomThreshold and
subNetworkZoomFactor with values that are floating point
numbers that default to 1.
- Since:
- JTGO 3.5
- See Also:
IlpNetworkView
| Methods inherited from class ilog.cpl.graph.css.renderer.IlpZoomingRenderer |
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 |
IlpZoomingRenderer
public IlpZoomingRenderer()
getZoomPolicy
public IlpZoomPolicy getZoomPolicy()
- Returns the zoom policy currently in use.
- Overrides:
getZoomPolicy in class ilog.cpl.graph.css.renderer.IlpZoomingRenderer
setZoomPolicy
public void setZoomPolicy(IlpZoomPolicy zoomPolicy)
- Sets the zoom policy.
- Overrides:
setZoomPolicy in class ilog.cpl.graph.css.renderer.IlpZoomingRenderer
- Parameters:
zoomPolicy - The zoom policy to set.
Copyright © 1996-2007 ILOG S.A. All rights reserved. Documentation homepage. . All Rights Reserved.