ilog.cpl.equipment.renderer
Class IlpZoomingRenderer

java.lang.Object
  extended by ilog.cpl.graphic.css.renderer.IlpAbstractGraphicViewRenderer
      extended by ilog.cpl.graph.css.renderer.IlpAbstractRepresentationViewRenderer
          extended by ilog.cpl.graph.css.renderer.IlpZoomingRenderer
              extended by ilog.cpl.equipment.renderer.IlpZoomingRenderer

public class IlpZoomingRenderer
extends ilog.cpl.graph.css.renderer.IlpZoomingRenderer

This class gives control over the zooming behavior of an IlpEquipmentView.

This class is a CSS stylable Bean. It can be configured as follows in a CSS file:

 Zooming {
   type : String;
   // Properties for type "Mixed":
   zoomThreshold : float;
   subNetworkZoomFactor : float;
 }
 

The type property or name 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. The default value is 1. The Mixed policy has two properties named zoomThreshold and subNetworkZoomFactor with values that are floating point numbers. The default value is 1.

Since:
JTGO 4.0
See Also:
IlpEquipmentView

Constructor Summary
IlpZoomingRenderer()
           
 
Method Summary
 IlpZoomPolicy getZoomPolicy()
          Returns the zoom policy currently in use.
 void setZoomPolicy(IlpZoomPolicy zoomPolicy)
          Sets the zoom policy.
 
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
 

Constructor Detail

IlpZoomingRenderer

public IlpZoomingRenderer()
Method Detail

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.