ilog.views
Interface IlvResizableManagerFrame

All Superinterfaces:
IlvManagerFrame
All Known Implementing Classes:
IlvConstantModeManagerFrame, IlvDefaultManagerFrame

public interface IlvResizableManagerFrame
extends IlvManagerFrame

IlvResizableManagerFrame defines manager frames that can be resized, by handling the resize action when a user reshapes a submanager.

This interface defines how the submanager is reshaped. For a submanager with an IlvResizableManagerFrame frame, when its moveResize() method is called, the manager will call the moveResize() of this interface to handle the reshape. If you prefer to handle the reshape by modifying the internal transformer of the submanager, you need to call the manager's applyTransform() method.

Since:
JViews 7.5
See Also:
IlvConstantModeManagerFrame

Method Summary
 void managerChanged(IlvManager manager)
          The implementation of this method must react to the change of the inner manager.
 boolean moveResize(IlvManager manager, IlvRect size)
          This method handles the submanager resize event.
 
Methods inherited from interface ilog.views.IlvManagerFrame
contains, copy, draw, getBottomMargin, getLeftMargin, getRightMargin, getTopMargin, isOpaque
 

Method Detail

moveResize

boolean moveResize(IlvManager manager,
                   IlvRect size)
This method handles the submanager resize event. It is called when the moveResize() method of a submanager is called.

The implementation of this method should handle the reshape of the submanager, typically by adjusting the margins as necessary.

Parameters:
manager - The submanager to be transformed.
size - The new size of the submanager.
Returns:
true if the frame handles the inner manager's resizing. Otherwise, the frame does not handle the resizing.
Since:
JViews 8.0

managerChanged

void managerChanged(IlvManager manager)
The implementation of this method must react to the change of the inner manager. It is typically called by the applyTransform() method of the inner manager.

Parameters:
manager - The inner manager that has been changed.


Copyright © 1996-2007 ILOG S.A. All rights reserved.   Documentation homepage.