public class IlvVisibleAreaListener extends Object
Example of use:
IlvVisibleAreaListener l = new IlvVisibleAreaListener(contentController);
l.installListener(contentController.getSDMEngine().getReferenceView());
Constructor and Description |
---|
IlvVisibleAreaListener(IlvContentController controller)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
IlvManagerView |
getListenedView()
Returns the listened view.
|
void |
installListener(IlvManagerView target)
Starts listening to visible area changes in the given view.
|
int |
requestAreaToLock(IlvRect area)
When the visible area in the view changes, calls
IlvContentController.lockArea(IlvRect, int) with the new visible area
in IlvContentController.OVERRIDE mode. |
void |
uninstallListener()
Stops listening to visible area changes.
|
public IlvVisibleAreaListener(IlvContentController controller)
controller
- The controller to which to send requests.public void installListener(IlvManagerView target)
target
- The target view.public void uninstallListener()
public IlvManagerView getListenedView()
public int requestAreaToLock(IlvRect area)
IlvContentController.lockArea(IlvRect, int)
with the new visible area
in IlvContentController.OVERRIDE
mode. Subclasses have here an opportunity to
intercept the call.area
- The new visible area.© Copyright Rogue Wave Software, Inc. 1997, 2018. All Rights Reserved.