IlvBalloon
instead.@Deprecated public abstract class IlpBalloon extends IlpCentered implements ilog.cpl.graphic.internal.IlpHotSpot
backComponent, DefaultInsets, insets
AlarmBalloonBorderColor, AlarmBalloonColor, AlarmBalloonOrientation, AlarmBalloonPointerDepth, AlarmBalloonPointerDistance, AlarmBalloonRadius, AlarmBalloonShadowColor, AlarmBalloonShadowThickness, AlarmCountLabelBackgroundColor, AlarmCountOuterBorderColor, CenteredInsets, InfoBalloonBorderColor, InfoBalloonColor, InfoBalloonOrientation, InfoBalloonPointerDepth, InfoBalloonShadowColor, InfoBalloonShadowThickness, StackerAlignment, StackerOrientation, StackerSpacing
Constructor and Description |
---|
IlpBalloon(IlpGraphicView view,
IlpRepresentationObject obj,
IlpAttribute attr,
IlpGraphic inner)
Deprecated.
Creates a new instance, grouping an outer element and an inner element.
|
IlpBalloon(IlpGraphicView view,
IlpRepresentationObject obj,
IlpAttribute attr,
IlpGraphic inner,
Insets i,
int orient,
int depth,
int thickness,
Color bg,
Color border,
Color shadow)
Deprecated.
Creates a new instance, grouping an outer element and an inner element.
|
Modifier and Type | Method and Description |
---|---|
void |
computeAttachmentBounds()
Deprecated.
Computes the composite attachment bounds based on the
child bounds.
|
protected void |
computeChildrenAttachmentCoordinates()
Deprecated.
Computes the attachment coordinates of the child graphics.
|
protected abstract void |
createBackComponent()
Deprecated.
Creates the background component used by the balloon.
|
protected Component |
getBackComponent()
Deprecated.
Returns the background component.
|
Color |
getBackground()
Deprecated.
Returns the balloon background color.
|
Color |
getBorderColor()
Deprecated.
Returns the balloon border color.
|
int |
getOrientation()
Deprecated.
Returns the orientation in which the balloon will be displayed
relative to the base graphic.
|
int |
getPointerDepth()
Deprecated.
Returns the pointer height.
|
Color |
getShadowColor()
Deprecated.
Returns the balloon shadow color.
|
int |
getShadowThickness()
Deprecated.
Returns the shadow thickness.
|
protected void |
initResources()
Deprecated.
Initializes the resources needed to display this graphic.
|
protected void |
initResourcesFromStyles(IlpStyle style,
IlpStyle defaultStyle)
Deprecated.
Initializes the graphic characteristics from styles.
|
void |
setBackground(Color v)
Deprecated.
Sets the balloon background color.
|
void |
setBorderColor(Color v)
Deprecated.
Sets the balloon border color.
|
void |
setOrientation(int v)
Deprecated.
Sets the orientation in which the balloon will be displayed
relative to the base graphic.
|
void |
setPointerDepth(int v)
Deprecated.
Sets the pointer height.
|
void |
setShadowColor(Color v)
Deprecated.
Sets the balloon shadow color.
|
void |
setShadowThickness(int v)
Deprecated.
Sets the shadow thickness.
|
computeFixedCoordinates, createComponent, getInner, getInsets, getOuter, initSpecifics, setBackComponent, setInsets
addBase, addChild, addChild, apply, apply, call, compute, computeAttachmentCoordinates, computeAttachmentCoordinates, getAttachment, getAttachmentBounds, getBase, getBaseRect, getCenterPoint, getChild, getChildCount, getChildren, getComponent, getInnermostGraphic, getSpecifics, getTopLeftLocation, removeChild, removeChildren, setAttachment, setSpecifics, validateComponent
addGraphicChangeListener, contains, fireEvent, getAttachmentManager, getAttachmentRect, getAttribute, getParent, getRepresentationObject, getRoot, getView, invalidateAttachmentRect, removeGraphicChangeListener, setAttachmentManager, setAttachmentRect, setAttribute, setComponent, setComponentNoInvalidate, setParent
public IlpBalloon(IlpGraphicView view, IlpRepresentationObject obj, IlpAttribute attr, IlpGraphic inner)
public IlpBalloon(IlpGraphicView view, IlpRepresentationObject obj, IlpAttribute attr, IlpGraphic inner, Insets i, int orient, int depth, int thickness, Color bg, Color border, Color shadow)
protected void initResources()
initResources
in class IlpCompositeGraphic
protected void initResourcesFromStyles(IlpStyle style, IlpStyle defaultStyle)
initResourcesFromStyles
in class IlpCentered
public int getOrientation()
The possible values are:
public void setOrientation(int v)
public int getPointerDepth()
public void setPointerDepth(int v)
public int getShadowThickness()
public void setShadowThickness(int v)
public Color getBackground()
public void setBackground(Color v)
public Color getBorderColor()
public void setBorderColor(Color v)
public Color getShadowColor()
public void setShadowColor(Color v)
protected void computeChildrenAttachmentCoordinates()
computeChildrenAttachmentCoordinates
in class IlpCentered
public void computeAttachmentBounds()
computeAttachmentBounds
in class IlpCentered
protected Component getBackComponent()
getBackComponent
in class IlpCentered
protected abstract void createBackComponent()
© Copyright Rogue Wave Software, Inc. 1997, 2018. All Rights Reserved.