|
||||||||||
| 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.IlpStacker
public class IlpStacker
This class is a container for several decorations. It lays out the child objects on a row or column basis, adding some space between them.
IlvCompositeGraphic,
IlvStackerLayout| Field Summary |
|---|
| Constructor Summary | |
|---|---|
IlpStacker(IlpGraphicView view,
IlpRepresentationObject obj)
Deprecated. Creates a new stacker graphic. |
|
IlpStacker(IlpGraphicView view,
IlpRepresentationObject obj,
IlpAttribute attribute)
Deprecated. Creates a new stacker graphic. |
|
IlpStacker(IlpGraphicView view,
IlpRepresentationObject obj,
IlpAttribute attr,
int orientation,
int alignment,
int spacing)
Deprecated. Creates a new stacker graphic for the attribute or representation object, with the given characteristics for orientation, alignment and spacing. |
|
| Method Summary | |
|---|---|
protected void |
checkValues()
Deprecated. This method just checks if the values defined for the stacker characteristics are valid. |
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. |
int |
getAlignment()
Deprecated. Returns the alignment used in the stacker children. |
int |
getOrientation()
Deprecated. Returns the current orientation. |
int |
getSpacing()
Deprecated. Returns the spacing between child elements. |
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. |
void |
setAlignment(int v)
Deprecated. Returns the alignment used in the stacker children. |
void |
setOrientation(int v)
Deprecated. Sets the current orientation. |
void |
setSpacing(int v)
Deprecated. Returns the spacing between child elements. |
| Methods inherited from class ilog.cpl.graphic.IlpCompositeGraphic |
|---|
addBase, addChild, addChild, apply, apply, call, compute, computeAttachmentCoordinates, computeAttachmentCoordinates, createComponent, 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 |
| Constructor Detail |
|---|
public IlpStacker(IlpGraphicView view,
IlpRepresentationObject obj)
public IlpStacker(IlpGraphicView view,
IlpRepresentationObject obj,
IlpAttribute attribute)
public IlpStacker(IlpGraphicView view,
IlpRepresentationObject obj,
IlpAttribute attr,
int orientation,
int alignment,
int spacing)
orientation - either SwingConstants.TOP
or SwingConstants.BOTTOM
or SwingConstants.LEFT
or SwingConstants.RIGHTalignment - either SwingConstants.TOP
or SwingConstants.BOTTOM
or SwingConstants.LEFT
or SwingConstants.RIGHT
or SwingConstants.CENTER| Method Detail |
|---|
protected void initSpecifics()
initSpecifics in class IlpCompositeGraphic
protected void initResourcesFromStyles(IlpStyle style,
IlpStyle defaultStyle)
protected void checkValues()
public int getOrientation()
public void setOrientation(int v)
public int getAlignment()
public void setAlignment(int v)
public int getSpacing()
public void setSpacing(int v)
public void computeFixedCoordinates()
computeFixedCoordinates in interface IlpAttachablecomputeFixedCoordinates in class IlpCompositeGraphicpublic void computeAttachmentBounds()
computeAttachmentBounds in class IlpCompositeGraphicprotected void computeChildrenAttachmentCoordinates()
computeAttachmentCoordinates(), sets the children's positions.
computeChildrenAttachmentCoordinates in class IlpCompositeGraphic
|
||||||||||
| PREV CLASS Documentation homepage NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||