public interface IlvComposite extends IlvLabelInterface
IlvGraphic
instances that can be laid out.IlvAttachmentLayout
,
IlvCenteredLayout
,
IlvStackerLayout
Modifier and Type | Method and Description |
---|---|
void |
doLayout()
Lays out this object using its layout manager.
|
Action |
getAction(int index,
IlvMouseGesture gesture)
Returns the action associated with the child and the given gesture if any.
|
IlvAttachableGraphic |
getAttachableGraphic(IlvGraphic element)
Returns an
IlvAttachableGraphic for the supplied IlvGraphic |
IlvGraphic[] |
getChildren()
Returns the children of this composite graphic.
|
IlvGraphic |
getChildren(int index)
Returns the child at the supplied position if any, or
null if none. |
IlvComposite |
getParent()
Returns the parent of this composite graphic.
|
IlvComposite |
getRoot()
Returns the root of the hierarchy that this composite graphic belongs to.
|
boolean |
hasActions(int index)
Returns
true when the child at the supplied position has actions defined
for at least one gesture. |
void |
invalidate()
Invalidates this composite.
|
boolean |
isSensitive()
When returns
true , the AWT events are dispatched to the Swing
actions. |
boolean |
isValid()
Determines whether this composite is valid.
|
getLabel, getLabelBBox, setLabel, supportMultiline
IlvGraphic[] getChildren()
IlvGraphic getChildren(int index)
null
if none.IlvComposite getParent()
IlvComposite getRoot()
Action getAction(int index, IlvMouseGesture gesture)
index
- The position of the child.gesture
- The gesture whose action is required.Action
,
IlvMouseGesture
boolean hasActions(int index)
true
when the child at the supplied position has actions defined
for at least one gesture.void invalidate()
boolean isValid()
void doLayout()
IlvAttachableGraphic getAttachableGraphic(IlvGraphic element)
IlvAttachableGraphic
for the supplied IlvGraphic
boolean isSensitive()
true
, the AWT events are dispatched to the Swing
actions.IlvCompositeInteractor
,
getAction(int, ilog.views.graphic.composite.IlvMouseGesture)
© Copyright Rogue Wave Software, Inc. 1997, 2018. All Rights Reserved.