|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectilog.cpl.graphic.IlpAbstractGraphic
ilog.cpl.graphic.IlpCompositeGraphic
ilog.cpl.graphic.component.IlpCentered
ilog.cpl.graphic.component.IlpBalloon
ilog.cpl.graphic.component.IlpAlarmBalloon
IlvRoundRectBalloon instead.
public class IlpAlarmBalloon
This class describes a graphic that represents an alarm balloon.
| Field Summary | |
|---|---|
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 |
| Fields inherited from class ilog.cpl.graphic.component.IlpCentered |
|---|
backComponent, DefaultInsets, insets |
| Constructor Summary | |
|---|---|
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. |
|
| Method Summary | |
|---|---|
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. |
| Methods inherited from class ilog.cpl.graphic.component.IlpBalloon |
|---|
computeAttachmentBounds, computeChildrenAttachmentCoordinates, getBackComponent, getBackground, getBorderColor, getOrientation, getPointerDepth, getShadowColor, getShadowThickness, setBackground, setBorderColor, setOrientation, setPointerDepth, setShadowColor, setShadowThickness |
| Methods inherited from class ilog.cpl.graphic.component.IlpCentered |
|---|
computeFixedCoordinates, createComponent, getInner, getInsets, getOuter, initSpecifics, setInsets |
| Methods inherited from class ilog.cpl.graphic.IlpCompositeGraphic |
|---|
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 |
| Methods inherited from class ilog.cpl.graphic.IlpAbstractGraphic |
|---|
addGraphicChangeListener, contains, fireEvent, getAttachmentManager, getAttachmentRect, getAttribute, getParent, getRepresentationObject, getRoot, getView, invalidateAttachmentRect, removeGraphicChangeListener, setAttachmentManager, setAttachmentRect, setAttribute, setComponent, setComponentNoInvalidate, setParent |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected static final Color DefaultShadowColor
protected int radius
protected int pointerDistance
BottomPointer and TopPointer
inner classes.
| Constructor Detail |
|---|
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.| Method Detail |
|---|
protected void initResources()
initResources in class IlpBalloon
protected void initResourcesFromStyles(IlpStyle style,
IlpStyle defaultStyle)
initResourcesFromStyles in class IlpBalloonprotected void createBackComponent()
createBackComponent in class IlpBalloonprotected void setBackComponent(ilog.cpl.graphic.internal.IlpComponentGraphic g)
setBackComponent in class IlpCenteredpublic IlpPoint getHotSpot()
getAttachmentBounds().
public void setPointerDistance(int pointerDistance)
public int getPointerDistance()
public int getRadius()
public void setRadius(int v)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||