ilog.cpl.graphic.component
Class IlpInfoBalloon

java.lang.Object
  extended by ilog.cpl.graphic.IlpAbstractGraphic
      extended by ilog.cpl.graphic.IlpCompositeGraphic
          extended by ilog.cpl.graphic.component.IlpCentered
              extended by ilog.cpl.graphic.component.IlpBalloon
                  extended by ilog.cpl.graphic.component.IlpInfoBalloon
All Implemented Interfaces:
IlpAttachable, IlpAttachmentManager, IlpGraphic, IlpGraphicContainment, ilog.cpl.graphic.internal.IlpComposite, ilog.cpl.graphic.internal.IlpGraphicModifier, ilog.cpl.graphic.internal.IlpHotSpot

Deprecated. Please use IlvRectBalloon instead.

public class IlpInfoBalloon
extends IlpBalloon

This class describes a graphic which represents a rectangular balloon.

Since:
JTGO 3.0
Deprecated Since:
JTGO 4.0

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
 
Fields inherited from interface ilog.cpl.graphic.IlpGraphic
AlarmBalloonBorderColor, AlarmBalloonColor, AlarmBalloonOrientation, AlarmBalloonPointerDepth, AlarmBalloonPointerDistance, AlarmBalloonRadius, AlarmBalloonShadowColor, AlarmBalloonShadowThickness, AlarmCountLabelBackgroundColor, AlarmCountOuterBorderColor, CenteredInsets, InfoBalloonBorderColor, InfoBalloonColor, InfoBalloonOrientation, InfoBalloonPointerDepth, InfoBalloonShadowColor, InfoBalloonShadowThickness, StackerAlignment, StackerOrientation, StackerSpacing
 
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

DefaultShadowColor

protected static final Color DefaultShadowColor
Deprecated. 
Initializes the class style with default values

Internal method or field: do not use!
Constructor Detail

IlpInfoBalloon

public 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.

Parameters:
view - Graphic view where the graphic will be displayed
obj - Representation object
inner - Balloon contents

IlpInfoBalloon

public 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.

Parameters:
view - Graphic view where the graphic will be displayed
obj - Representation object
attribute - Attribute being represented by this graphic
inner - Balloon contents

IlpInfoBalloon

public 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.

Parameters:
view - Graphic view where the graphic will be displayed
obj - Representation object
attr - Attribute being represented by this graphic
inner - Balloon contents
orient - Balloon orientation
bg - Balloon background color

The possible values for the information balloon orientation are:

  • SwingConstants.NORTH_EAST
  • SwingConstants.NORTH_WEST
  • SwingConstants.SOUTH_EAST
  • SwingConstants.SOUTH_WEST
  • SwingConstants.EAST
  • SwingConstants.WEST

IlpInfoBalloon

public 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.

Parameters:
view - Graphic view where the graphic will be displayed
obj - Representation object
attr - Attribute being represented by this graphic
inner - Balloon contents
i - Balloon contents insets
orient - Balloon orientation
depth - Balloon pointer depth
thickness - Balloon shadow thickness
bg - Balloon background color
border - Balloon border color
shadow - Balloon shadow color The possible values for the information balloon orientation are:
  • SwingConstants.NORTH_EAST
  • SwingConstants.NORTH_WEST
  • SwingConstants.SOUTH_EAST
  • SwingConstants.SOUTH_WEST
  • SwingConstants.EAST
  • SwingConstants.WEST
Method Detail

initResources

protected void initResources()
Deprecated. 
Initializes the resources used internally, base on style values.

Overrides:
initResources in class IlpBalloon
Internal method or field: do not use!

initResourcesFromStyles

protected void initResourcesFromStyles(IlpStyle style,
                                       IlpStyle defaultStyle)
Deprecated. 
Initializes the graphic characteristics from styles.

Overrides:
initResourcesFromStyles in class IlpBalloon
Internal method or field: do not use!

createBackComponent

protected void createBackComponent()
Deprecated. 
Creates the background component used by the balloon.

Specified by:
createBackComponent in class IlpBalloon
Internal method or field: do not use!

getHotSpot

public IlpPoint getHotSpot()
Deprecated. 
The hotspot is the corner of the pointer relative to getAttachmentBounds().

Internal method or field: do not use!


Copyright © 1996-2007 ILOG S.A. All rights reserved.   Documentation homepage.   . All Rights Reserved.