| Advanced Features > Nested Managers and Nested Graphers > Manager Frame > Constant Mode Frame |
Constant Mode Frame |
INDEX
PREVIOUS
NEXT
|
Until now we have discussed the IlvDefaultManagerFrame. ILOG JViews also supplies the IlvConstantModeManagerFrame, a manager frame that handles the resize event automatically when a user reshapes a submanager. IlvConstantModeManagerFrame keeps the zoom level of the submanager unchanged by adjusting the frame margins to meet the required size.
A submanager with the IlvConstantModeManagerFrame frame set has the following behavior:
IlvManager.moveResize() method but not IlvManager.applyTransform(). Call IlvManager.applyTransform() to apply a specific transformation only.
IlvConstantModeManagerFrame object become zero, the submanager stops the reshape operation.
IlvConstantModeManagerFrame objects listens for submanager or grapher content changes. When the bounding box of the submanager grows, in order to keep the global bounding box constant the frame first tries to reduce margins.
For an example of how to use a manager frame, see:
<installdir>/jviews-framework81/codefragments/subgraphs/index.html.
| Copyright © 1987-2007 ILOG S.A. All rights reserved. Documentation homepage. Legal terms. | PREVIOUS NEXT |