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.
IlvConstantModeManagerFrame
Modifier and Type | Method and Description |
---|---|
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.
|
contains, copy, draw, getBottomMargin, getLeftMargin, getRightMargin, getTopMargin, isOpaque
boolean moveResize(IlvManager manager, IlvRect size)
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.
manager
- The submanager to be transformed.size
- The new size of the submanager.true
if the frame handles the inner manager's
resizing. Otherwise, the frame does not handle the resizing.void managerChanged(IlvManager manager)
applyTransform()
method of the inner manager.manager
- The inner manager that has been changed.© Copyright 2024 Rogue Wave Software, Inc., a Perforce company.. All Rights Reserved.