public interface IlvAttachable extends Serializable
IlvLayoutManager
.
IlvLayoutManager
Modifier and Type | Method and Description |
---|---|
void |
center(IlvRect size,
Insets insets)
Moves and resizes the object.
|
IlvAttachable[] |
getAttachables()
Returns the children of this objects if any, otherwise returns an empty array.
|
IlvRect |
getAttachmentBounds()
Returns the "attachment rectangle".
|
Object[] |
getConstraints()
Returns the constraints of the children of this objects if any, otherwise returns an empty array.
|
IlvPoint |
getHotSpot()
Returns the hotspot.
|
IlvPoint[] |
getLinkPoints()
Returns the points that define the link.
|
IlvPoint |
getOffset()
Returns the offset for this object or
NULL if none. |
IlvAttachable |
getPostOrderFirstChild()
Returns the first child in the tree, according to the postorder traversal scheme.
|
boolean |
isVisible()
Returns
true when this component is visible. |
void |
move(double x,
double y)
Moves the object.
|
void |
resize(IlvPoint size)
Resizes this object.
|
void |
rotate(IlvPoint center,
double angle)
Rotates this object.
|
void |
setOffset(IlvPoint offset)
Defines an offset applied to the position defined with the
move(double, double) method. |
void |
setVisible(boolean b)
Shows or hides this component depending on the value of parameter
b . |
IlvRect getAttachmentBounds()
IlvAttachable[] getAttachables()
Object[] getConstraints()
IlvCompositeGraphic.getConstraints()
IlvPoint getHotSpot()
getAttachmentBounds()
.void move(double x, double y)
x
- The new horizontal value.y
- The new vertical value.void center(IlvRect size, Insets insets)
size
- The new attachment rectangle.insets
- specifies the space that the object must leave
at each of its edges.IlvPoint[] getLinkPoints()
void setVisible(boolean b)
b
.b
- if true
, shows this component;
otherwise, hides this componentboolean isVisible()
true
when this component is visible.IlvAttachable getPostOrderFirstChild()
void setOffset(IlvPoint offset)
move(double, double)
method.IlvPoint getOffset()
NULL
if none.
The offset is applied to the position defined with the move(double, double)
method.void resize(IlvPoint size)
size.x
, size.y
).void rotate(IlvPoint center, double angle)
center
and by an angle in
degrees specified by angle
.center
- The center of the rotation.angle
- The rotation angle in degrees.© Copyright 2024 Rogue Wave Software, Inc., a Perforce company.. All Rights Reserved.