public interface IlvManagerFrame
IlvManager
.
The IlvManagerFrame
interface defines
the frame that is drawn around an IlvManager
when
this manager is added into another manager. This interface
defines the margin that will be added around the manager.
It defines how the frame is drawn (for example, an implementing class
can draw a background underneath the content of the manager
as well as a frame around it) and how hit testing on the
frame is performed.
This interface defines the base functionality of a manager frame.
IlvResizableManagerFrame
defines an extension of manager frame
that reacts to the inner manager's changes and adjusts them.
IlvResizableManagerFrame
Modifier and Type | Method and Description |
---|---|
boolean |
contains(IlvManager manager,
IlvPoint p,
IlvPoint tp,
IlvTransformer t)
Tests if a point lies within the outline of the frame.
|
IlvManagerFrame |
copy()
Creates a new frame by copying this one.
|
void |
draw(IlvManager manager,
IlvRect bbox,
Graphics g,
IlvTransformer t)
Draws the frame.
|
double |
getBottomMargin(IlvManager manager,
IlvTransformer t)
Returns the margin on the bottom of the specified manager.
|
double |
getLeftMargin(IlvManager manager,
IlvTransformer t)
Returns the margin on the left side of the specified manager.
|
double |
getRightMargin(IlvManager manager,
IlvTransformer t)
Returns the margin on the right side of the specified manager.
|
double |
getTopMargin(IlvManager manager,
IlvTransformer t)
Returns the margin on top of the specified manager.
|
boolean |
isOpaque(IlvManager manager)
Returns
true if the frame is opaque, meaning that
the frame is filling the background of the manager. |
IlvManagerFrame copy()
double getTopMargin(IlvManager manager, IlvTransformer t)
manager
- The manager.t
- The transformer used to draw the manager and the frame.double getBottomMargin(IlvManager manager, IlvTransformer t)
manager
- The manager.t
- The transformer used to draw the manager and the frame.double getRightMargin(IlvManager manager, IlvTransformer t)
manager
- The manager.t
- The transformer used to draw the manager and the frame.double getLeftMargin(IlvManager manager, IlvTransformer t)
manager
- The manager.t
- The transformer used to draw the manager and the frame.boolean isOpaque(IlvManager manager)
true
if the frame is opaque, meaning that
the frame is filling the background of the manager.manager
- The manager.void draw(IlvManager manager, IlvRect bbox, Graphics g, IlvTransformer t)
manager
- The manager.bbox
- The bounding box of the manager in the view coordinate system.g
- The Graphics used to draw the frame.t
- The transformer used to draw the frame.boolean contains(IlvManager manager, IlvPoint p, IlvPoint tp, IlvTransformer t)
manager
- The manager.p
- The point to be tested.tp
- The point p
transformed by the transformer
t
.t
- The transformation that is used to draw the frame.© Copyright 2024 Rogue Wave Software, Inc., a Perforce company.. All Rights Reserved.