|
||||||||||
| PREV CLASS Documentation homepage NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectilog.tgo.resource.IltrZoom
public abstract class IltrZoom
This class contains all global parameters that have an effect on the physical (proportional) zoom.
IlpGraphView.setZoomPolicy(ilog.cpl.graphic.views.IlpZoomPolicy),
IltPhysicalZoomPolicy,
IltMixedZoomPolicy| Field Summary | |
|---|---|
static double |
SubnetworkCollapsionIconThreshold
Threshold for a modified display of subnetworks. |
static double |
SubnetworkTitlebarFrameThreshold
Threshold for a modified display of subnetworks. |
static double |
ThinGroupThreshold
Threshold for a modified display of groups. |
static double |
ThinLinkThreshold
Threshold for a modified display of links. |
| Method Summary | |
|---|---|
static double |
GetVisibilityThreshold(IltGraphicElementName elementName)
Returns the threshold for the visibility of decorations of a given kind. |
static void |
SetVisibilityThreshold(IltGraphicElementName elementName,
double visibilityThreshold)
Changes the threshold for the visibility of decorations of a given kind. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static double ThinLinkThreshold
public static double ThinGroupThreshold
public static double SubnetworkTitlebarFrameThreshold
public static double SubnetworkCollapsionIconThreshold
| Method Detail |
|---|
public static double GetVisibilityThreshold(IltGraphicElementName elementName)
IlvTransformer.getDeterminant()
public static void SetVisibilityThreshold(IltGraphicElementName elementName,
double visibilityThreshold)
The drawing transform depends on the zoom policy. Ignoring subnetworks, the zoom policy is as follows:
Useful values for a visibility threshold are often between 0.01 and 1.
Note: When a transform is a scale transform, its determinant is the square of the scale factor. Therefore, to hide a decoration when the scale factor is below a certain value, you have to set the visibility threshold to the square of this value.
This setting has no effect if a visibility threshold on the same elementName that has been set in the current zoom policy.
IlvTransformer.getDeterminant(),
IltMixedZoomPolicy.setVisibilityThresholds(int, double)
|
||||||||||
| PREV CLASS Documentation homepage NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||