|
||||||||||
| PREV CLASS Documentation homepage 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.IlpInfoBalloon
IlvRectBalloon instead.
public class IlpInfoBalloon
This class describes a graphic which represents a rectangular balloon.
| Field Summary | |
|---|---|
protected static Color |
DefaultShadowColor
Deprecated. Initializes the class style with default values |
| Fields inherited from class ilog.cpl.graphic.component.IlpCentered |
|---|
backComponent, DefaultInsets, insets |
| Constructor Summary | |
|---|---|
IlpInfoBalloon(IlpGraphicView view,
IlpRepresentationObject obj,
IlpAttribute attribute,
IlpGraphic inner)
Deprecated. Creates a new instance by adding the inner graphic within the information balloon, according to the given orientation. |
|
IlpInfoBalloon(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 by adding the inner graphic within the information balloon, according to the given orientation. |
|
IlpInfoBalloon(IlpGraphicView view,
IlpRepresentationObject obj,
IlpAttribute attr,
IlpGraphic inner,
int orient,
Color bg)
Deprecated. Creates a new instance by adding the inner graphic within the information balloon, according to the given orientation. |
|
IlpInfoBalloon(IlpGraphicView view,
IlpRepresentationObject obj,
IlpGraphic inner)
Deprecated. Creates a new instance by adding the inner graphic within the information 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(). |
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. |
| 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, setBackComponent, 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
| Constructor Detail |
|---|
public IlpInfoBalloon(IlpGraphicView view,
IlpRepresentationObject obj,
IlpGraphic inner)
view - Graphic view where the graphic will be displayedobj - Representation objectinner - Balloon contents
public IlpInfoBalloon(IlpGraphicView view,
IlpRepresentationObject obj,
IlpAttribute attribute,
IlpGraphic inner)
view - Graphic view where the graphic will be displayedobj - Representation objectattribute - Attribute being represented by this graphicinner - Balloon contents
public IlpInfoBalloon(IlpGraphicView view,
IlpRepresentationObject obj,
IlpAttribute attr,
IlpGraphic inner,
int orient,
Color bg)
view - Graphic view where the graphic will be displayedobj - Representation objectattr - Attribute being represented by this graphicinner - Balloon contentsorient - Balloon orientationbg - Balloon background color
The possible values for the information balloon orientation are:
public IlpInfoBalloon(IlpGraphicView view,
IlpRepresentationObject obj,
IlpAttribute attr,
IlpGraphic inner,
Insets i,
int orient,
int depth,
int thickness,
Color bg,
Color border,
Color shadow)
view - Graphic view where the graphic will be displayedobj - Representation objectattr - Attribute being represented by this graphicinner - Balloon contentsi - Balloon contents insetsorient - Balloon orientationdepth - Balloon pointer depththickness - Balloon shadow thicknessbg - Balloon background colorborder - Balloon border colorshadow - Balloon shadow color
The possible values for the information balloon orientation are:
| 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 IlpBalloonpublic IlpPoint getHotSpot()
getAttachmentBounds().
|
||||||||||
| PREV CLASS Documentation homepage NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||