|
||||||||||
| 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
public class IlpCentered
This class is a container for one decoration. The decoration is displayed centered inside a Java component.
IlvCompositeGraphic,
IlvCenteredLayout| Field Summary | |
|---|---|
protected Component |
backComponent
Deprecated. Stores the outer decoration |
protected static Insets |
DefaultInsets
Deprecated. |
protected Insets |
insets
Deprecated. Define the margin |
| Constructor Summary | |
|---|---|
IlpCentered(IlpGraphicView view,
IlpRepresentationObject obj,
Component outer,
IlpGraphic inner)
Deprecated. Creates a new instance, grouping an outer element and an inner element. |
|
IlpCentered(IlpGraphicView view,
IlpRepresentationObject obj,
IlpAttribute attr,
Component outer,
IlpGraphic inner)
Deprecated. Creates a new instance, grouping an outer element and an inner element. |
|
IlpCentered(IlpGraphicView view,
IlpRepresentationObject obj,
IlpAttribute attr,
Component outer,
IlpGraphic inner,
Insets i)
Deprecated. Creates a new instance, grouping an outer element and an inner element. |
|
| Method Summary | |
|---|---|
void |
computeAttachmentBounds()
Deprecated. Computes the composite attachment bounds based on the child bounds. |
protected void |
computeChildrenAttachmentCoordinates()
Deprecated. During computeAttachmentCoordinates(), sets the children's positions. |
void |
computeFixedCoordinates()
Deprecated. Prepares the attachment rectangle. |
protected void |
createComponent()
Deprecated. Creates a Java component representation of this composite. |
protected Component |
getBackComponent()
Deprecated. Returns the background component. |
protected IlpGraphic |
getInner()
Deprecated. Returns the inner graphic. |
int |
getInsets()
Deprecated. Returns the insets used when a graphic instance is added inside another component. |
protected Component |
getOuter()
Deprecated. Returns the outer graphic. |
protected void |
initResourcesFromStyles(IlpStyle style,
IlpStyle defaultStyle)
Deprecated. Initializes the graphic characteristics from styles. |
protected void |
initSpecifics()
Deprecated. Stores the specific information for the component. |
protected void |
setBackComponent(ilog.cpl.graphic.internal.IlpComponentGraphic g)
Deprecated. Sets the component responsible for drawing the balloon. |
void |
setInsets(int v)
Deprecated. Sets the insets used when a graphic instance is added inside another component. |
| 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, initResources, 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 Insets DefaultInsets
protected Insets insets
protected Component backComponent
| Constructor Detail |
|---|
public IlpCentered(IlpGraphicView view,
IlpRepresentationObject obj,
Component outer,
IlpGraphic inner)
The characteristics of this graphic are retrieved from the representation object style.
public IlpCentered(IlpGraphicView view,
IlpRepresentationObject obj,
IlpAttribute attr,
Component outer,
IlpGraphic inner)
public IlpCentered(IlpGraphicView view,
IlpRepresentationObject obj,
IlpAttribute attr,
Component outer,
IlpGraphic inner,
Insets i)
| Method Detail |
|---|
protected void initResourcesFromStyles(IlpStyle style,
IlpStyle defaultStyle)
protected Component getOuter()
protected IlpGraphic getInner()
public void computeFixedCoordinates()
computeFixedCoordinates in interface IlpAttachablecomputeFixedCoordinates in class IlpCompositeGraphicprotected void computeChildrenAttachmentCoordinates()
computeAttachmentCoordinates(), sets the children's positions.
computeChildrenAttachmentCoordinates in class IlpCompositeGraphicpublic void computeAttachmentBounds()
computeAttachmentBounds in class IlpCompositeGraphicprotected void createComponent()
createComponent in class IlpCompositeGraphicprotected void initSpecifics()
initSpecifics in class IlpCompositeGraphicprotected void setBackComponent(ilog.cpl.graphic.internal.IlpComponentGraphic g)
protected Component getBackComponent()
public void setInsets(int v)
public int getInsets()
|
||||||||||
| PREV CLASS Documentation homepage NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||