IlvRoundRectBalloon
instead.@Deprecated public class IlpAlarmBalloon extends IlpBalloon
Modifier and Type | Field and Description |
---|---|
protected static Color |
DefaultShadowColor
Deprecated.
Initializes the class style with default values
|
protected int |
pointerDistance
Deprecated.
For SwingConstants.CENTER: horizontal distance between
the left edge and the pointer.
|
protected int |
radius
Deprecated.
Round rectangle radius
|
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 |
---|
IlpAlarmBalloon(IlpGraphicView view,
IlpRepresentationObject obj,
IlpAttribute attr,
IlpGraphic inner)
Deprecated.
Creates a new instance by adding the inner graphic within the
alarm balloon according to the given orientation.
|
IlpAlarmBalloon(IlpGraphicView view,
IlpRepresentationObject obj,
IlpAttribute attr,
IlpGraphic inner,
Insets i,
int orient,
int depth,
int thickness,
Color bg,
Color border,
Color shadow,
int rad,
int distance)
Deprecated.
Creates a new instance by adding the inner graphic within the
alarm balloon according to the given orientation.
|
IlpAlarmBalloon(IlpGraphicView view,
IlpRepresentationObject obj,
IlpAttribute attr,
IlpGraphic inner,
int orient,
Color bg)
Deprecated.
Creates a new instance by adding the inner graphic within the
alarm balloon, according to the given orientation.
|
IlpAlarmBalloon(IlpGraphicView view,
IlpRepresentationObject obj,
IlpGraphic inner)
Deprecated.
Creates a new instance by adding the inner graphic within the
alarm balloon, according to the given orientation.
|
Modifier and Type | Method and Description |
---|---|
protected void |
createBackComponent()
Deprecated.
Creates the background component used by the balloon.
|
IlpPoint |
getHotSpot()
Deprecated.
The hotspot is the corner of the pointer relative to
getAttachmentBounds() . |
int |
getPointerDistance()
Deprecated.
Returns the pointer distance.
|
int |
getRadius()
Deprecated.
Returns the radius used to create the round rectangle.
|
protected void |
initResources()
Deprecated.
Initializes the resources used internally, base on style values.
|
protected void |
initResourcesFromStyles(IlpStyle style,
IlpStyle defaultStyle)
Deprecated.
Initializes the graphic characteristics from styles.
|
protected void |
setBackComponent(ilog.cpl.graphic.internal.IlpComponentGraphic g)
Deprecated.
Sets the component responsible for drawing the balloon.
|
void |
setPointerDistance(int pointerDistance)
Deprecated.
Sets the pointer distance.
|
void |
setRadius(int v)
Deprecated.
Sets the radius used to create the round rectangle.
|
computeAttachmentBounds, computeChildrenAttachmentCoordinates, getBackComponent, getBackground, getBorderColor, getOrientation, getPointerDepth, getShadowColor, getShadowThickness, setBackground, setBorderColor, setOrientation, setPointerDepth, setShadowColor, setShadowThickness
computeFixedCoordinates, createComponent, getInner, getInsets, getOuter, initSpecifics, 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
protected static final Color DefaultShadowColor
protected int radius
protected int pointerDistance
BottomPointer
and TopPointer
inner classes.public IlpAlarmBalloon(IlpGraphicView view, IlpRepresentationObject obj, IlpGraphic inner)
The alarm balloon characteristics are retrieved from the style of the representation object.
view
- Graphic view where the graphic will be displayed.obj
- Representation object.inner
- Balloon contents.public IlpAlarmBalloon(IlpGraphicView view, IlpRepresentationObject obj, IlpAttribute attr, IlpGraphic inner)
view
- Graphic view where the graphic will be displayed.obj
- Representation object.attr
- Attribute represented by this graphic.inner
- Balloon contents.public IlpAlarmBalloon(IlpGraphicView view, IlpRepresentationObject obj, IlpAttribute attr, IlpGraphic inner, int orient, Color bg)
view
- Graphic view where the graphic will be displayed.obj
- Representation object.attr
- Attribute represented by this graphic.inner
- Balloon contents.orient
- Balloon orientation.bg
- Balloon background color.public IlpAlarmBalloon(IlpGraphicView view, IlpRepresentationObject obj, IlpAttribute attr, IlpGraphic inner, Insets i, int orient, int depth, int thickness, Color bg, Color border, Color shadow, int rad, int distance)
view
- Graphic view where the graphic will be displayed.obj
- Representation object.attr
- Attribute represented by this graphic.inner
- Balloon contents.i
- Balloon insets.orient
- Balloon orientation.depth
- Balloon pointer depth.thickness
- Balloon shadow thickness.bg
- Balloon background color.border
- Balloon border color.shadow
- Balloon shadow color.rad
- Balloon round rectangle radius.distance
- Balloon pointer distance.protected void initResources()
initResources
in class IlpBalloon
protected void initResourcesFromStyles(IlpStyle style, IlpStyle defaultStyle)
initResourcesFromStyles
in class IlpBalloon
protected void createBackComponent()
createBackComponent
in class IlpBalloon
protected void setBackComponent(ilog.cpl.graphic.internal.IlpComponentGraphic g)
setBackComponent
in class IlpCentered
public IlpPoint getHotSpot()
getAttachmentBounds()
.public void setPointerDistance(int pointerDistance)
public int getPointerDistance()
public int getRadius()
public void setRadius(int v)
© Copyright Rogue Wave Software, Inc. 1997, 2018. All Rights Reserved.