@Deprecated public class IlpStacker extends IlpCompositeGraphic
IlvCompositeGraphic
,
IlvStackerLayout
AlarmBalloonBorderColor, AlarmBalloonColor, AlarmBalloonOrientation, AlarmBalloonPointerDepth, AlarmBalloonPointerDistance, AlarmBalloonRadius, AlarmBalloonShadowColor, AlarmBalloonShadowThickness, AlarmCountLabelBackgroundColor, AlarmCountOuterBorderColor, CenteredInsets, InfoBalloonBorderColor, InfoBalloonColor, InfoBalloonOrientation, InfoBalloonPointerDepth, InfoBalloonShadowColor, InfoBalloonShadowThickness, StackerAlignment, StackerOrientation, StackerSpacing
Constructor and Description |
---|
IlpStacker(IlpGraphicView view,
IlpRepresentationObject obj)
Deprecated.
Creates a new stacker graphic.
|
IlpStacker(IlpGraphicView view,
IlpRepresentationObject obj,
IlpAttribute attribute)
Deprecated.
Creates a new stacker graphic.
|
IlpStacker(IlpGraphicView view,
IlpRepresentationObject obj,
IlpAttribute attr,
int orientation,
int alignment,
int spacing)
Deprecated.
Creates a new stacker graphic for the attribute or representation
object, with the given characteristics for orientation, alignment and
spacing.
|
Modifier and Type | Method and Description |
---|---|
protected void |
checkValues()
Deprecated.
This method just checks if the values defined for the stacker
characteristics are valid.
|
void |
computeAttachmentBounds()
Deprecated.
Computes the composite attachment bounds based on the
child bounds.
|
protected void |
computeChildrenAttachmentCoordinates()
Deprecated.
During
computeAttachmentCoordinates() , sets the children's positions. |
void |
computeFixedCoordinates()
Deprecated.
Prepares the attachment rectangle.
|
int |
getAlignment()
Deprecated.
Returns the alignment used in the stacker children.
|
int |
getOrientation()
Deprecated.
Returns the current orientation.
|
int |
getSpacing()
Deprecated.
Returns the spacing between child elements.
|
protected void |
initResourcesFromStyles(IlpStyle style,
IlpStyle defaultStyle)
Deprecated.
Initializes the graphic characteristics from styles.
|
protected void |
initSpecifics()
Deprecated.
Stores the specific information for the component.
|
void |
setAlignment(int v)
Deprecated.
Returns the alignment used in the stacker children.
|
void |
setOrientation(int v)
Deprecated.
Sets the current orientation.
|
void |
setSpacing(int v)
Deprecated.
Returns the spacing between child elements.
|
addBase, addChild, addChild, apply, apply, call, compute, computeAttachmentCoordinates, computeAttachmentCoordinates, createComponent, getAttachment, getAttachmentBounds, getBase, getBaseRect, getCenterPoint, getChild, getChildCount, getChildren, getComponent, getInnermostGraphic, getSpecifics, getTopLeftLocation, initResources, removeChild, removeChildren, setAttachment, setSpecifics, validateComponent
addGraphicChangeListener, contains, fireEvent, getAttachmentManager, getAttachmentRect, getAttribute, getParent, getRepresentationObject, getRoot, getView, invalidateAttachmentRect, removeGraphicChangeListener, setAttachmentManager, setAttachmentRect, setAttribute, setComponent, setComponentNoInvalidate, setParent
public IlpStacker(IlpGraphicView view, IlpRepresentationObject obj)
public IlpStacker(IlpGraphicView view, IlpRepresentationObject obj, IlpAttribute attribute)
public IlpStacker(IlpGraphicView view, IlpRepresentationObject obj, IlpAttribute attr, int orientation, int alignment, int spacing)
orientation
- either SwingConstants.TOP
or SwingConstants.BOTTOM
or SwingConstants.LEFT
or SwingConstants.RIGHT
alignment
- either SwingConstants.TOP
or SwingConstants.BOTTOM
or SwingConstants.LEFT
or SwingConstants.RIGHT
or SwingConstants.CENTER
protected void initSpecifics()
initSpecifics
in class IlpCompositeGraphic
protected void initResourcesFromStyles(IlpStyle style, IlpStyle defaultStyle)
protected void checkValues()
public int getOrientation()
public void setOrientation(int v)
public int getAlignment()
public void setAlignment(int v)
public int getSpacing()
public void setSpacing(int v)
public void computeFixedCoordinates()
computeFixedCoordinates
in interface IlpAttachable
computeFixedCoordinates
in class IlpCompositeGraphic
public void computeAttachmentBounds()
computeAttachmentBounds
in class IlpCompositeGraphic
protected void computeChildrenAttachmentCoordinates()
computeAttachmentCoordinates()
, sets the children's positions.computeChildrenAttachmentCoordinates
in class IlpCompositeGraphic
© Copyright Rogue Wave Software, Inc. 1997, 2018. All Rights Reserved.