|
||||||||||
| PREV CLASS Documentation homepage NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectilog.cpl.model.IlpDefaultObject
ilog.tgo.model.IltObject
ilog.tgo.model.IltGroup
ilog.tgo.model.IltRectGroup
public class IltRectGroup
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class ilog.tgo.model.IltObject |
|---|
IltObject.ListPrimaryStateStyleValueProvider, IltObject.LogicalType, IltObject.TinyType |
| Field Summary | |
|---|---|
static IltObjectInfo |
metainfo
Contains metainformation about this IltObject class. |
static IlpIntegerKey |
ReliefThickness
Deprecated. Please use CSS property reliefThickness instead. |
| Fields inherited from class ilog.tgo.model.IltGroup |
|---|
_MappedForUser, DecorationsOffset, IconAttribute, LinksConnectToBase, PinDecorations, ShortcutAttribute, ZoomableDecorationsOffset |
| Fields inherited from interface ilog.cpl.model.IlpAttributeValueHolder |
|---|
VALUE_NOT_SET |
| Constructor Summary | |
|---|---|
IltRectGroup(IlpClass ilpClass,
Object identifier)
Creates a new polygonal group with the given class and identifier. |
|
IltRectGroup(IltObjectState state)
Creates a new instance of IltRectGroup with a given semantic
state. |
|
IltRectGroup(IltObjectState state,
String label)
Creates a new instance of IltRectGroup with a given semantic
state and label. |
|
IltRectGroup(Object identifier)
Creates a new polygonal group with the given identifier. |
|
| Method Summary | |
|---|---|
void |
applyTransform(IltGraphicManager manager,
IltGraphic graphic,
IlvTransformer t,
IlpPositionSource reason)
Deprecated. |
void |
computeGraphic(IltGraphicManager manager,
IlvRect shape)
Deprecated. Adding a object to a datasource, connected to a graphic component such as an IlpNetwork, is enough to make its graphic representation
visible. |
ilog.tgo.graphic.internal.base.IltBaseElement |
createBase(IltcGraphicElementAggregate root)
Creates a base element, suitable for this particular kind of object. |
ilog.tgo.graphic.internal.IltGraphicUpdate |
createPositionUpdate(Object position,
Object positionInManager)
Creates the graphic update responsible for setting the position/shape to a graphical representation. |
Object |
defaultShape()
Returns the default shape, used when an object is made visible without having been assigned a shape. |
static void |
ForceInit(ilog.tgo.util.internal.IltForceClassInit object)
To deserialize IltClassLegend instances. |
IlvRect |
getBaseRectangle(IltGraphicManager manager)
Returns the base rectangle of the graphic representation in a given IltGraphicManager. |
protected IlvPoint |
getCenterPoint(IltGraphicManager manager,
IltGraphic graphic)
Returns the position of the graphic representation in a given IltGraphicManager. |
static IltLegend |
GetClassLegend()
Deprecated. The Style API has been replaced by the Cascading Style Sheet mechanism. Please refer to the User's Manual for further information. |
static IltObjectInfo |
GetIlpClass()
Returns the IlpClass corresponding to this Java class. |
IlvRect |
getShape(IltGraphicManager manager)
Deprecated. Adding a object to a datasource, connected to a graphic component such as an IlpNetwork, is enough to make its graphic representation
visible. When working with datasource, use getPosition instead. |
protected IlvRect |
getShape(IltGraphicManager manager,
IltGraphic graphic)
Returns the shape graphic setting. |
protected IlvRect |
getShapeInManager(IltGraphicManager manager,
IltGraphic graphic)
Returns the position of the graphic representation in a given IltGraphicManager. |
boolean |
isValidPosition(Object position)
Determines whether the argument is a valid position/shape for this type of object. |
void |
setBaseRectangle(IltGraphicManager manager,
IlvRect newBaseRectangle)
Applies a transformation to the graphic representation in a given IltGraphicManager, attempting to make the base rectangle resemble the given rectangle. |
void |
setCenterPoint(IltGraphicManager manager,
IltGraphic graphic,
IlvPoint position,
IlpPositionSource reason)
Changes the position of the graphic representation in a given IltcObjectContainer. |
void |
setShape(IltGraphicManager manager,
IlvRect shape)
Deprecated. Adding a object to a datasource, connected to a graphic component such as an IlpNetwork, is enough to make its graphic representation
visible. When working with datasource, use
IltObject.setPosition(IlpPosition) instead. |
void |
setShape(IltGraphicManager manager,
IlvRect shape,
IlpPositionSource reason)
Deprecated. Adding a object to a datasource, connected to a graphic component such as an IlpNetwork, is enough to make its graphic representation
visible. When working with datasource, use
IltObject.setPosition(IlpPosition) instead. |
void |
setShapeGraphicSetting(IltGraphic graphic,
Object newShape)
Sets the graphic settings responsible for the shape of the object. |
void |
setShapeInManagerGraphicSetting(IltGraphic graphic,
Object newShape,
IlpPositionSource reason)
|
Object |
transformPosition(IltGraphicManager manager,
Object position)
Applies the manager transformer to the position parameter. |
void |
updateShapeGraphicSettingInManager(IltGraphicManager manager,
IltGraphic graphic,
Object newShape,
IlpPositionSource reason)
If the graphic representation is visible, updates the shape graphic setting in manager coordinates. |
boolean |
usingDefaultShape(IltGraphicManager manager)
Computes the graphic representation of the object in the given manager. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static IltObjectInfo metainfo
IltObject class.
public static IlpIntegerKey ReliefThickness
reliefThickness instead.
IltObjectCustomization.getReliefThickness(),
IltrThickness.RectangularGroupReliefThickness| Constructor Detail |
|---|
public IltRectGroup(IltObjectState state,
String label)
IltRectGroup with a given semantic
state and label.
This state object is destructively modified later.
public IltRectGroup(IltObjectState state)
IltRectGroup with a given semantic
state.
This state object is destructively modified later.
public IltRectGroup(Object identifier)
identifier - the identifier of this new instance
public IltRectGroup(IlpClass ilpClass,
Object identifier)
ilpClass - the business class of this new instance. It must be a
subclass of IltRectGroupidentifier - the identifier of this new instance| Method Detail |
|---|
public static IltObjectInfo GetIlpClass()
public static IltLegend GetClassLegend()
public void computeGraphic(IltGraphicManager manager,
IlvRect shape)
IlpNetwork, is enough to make its graphic representation
visible.
public Object transformPosition(IltGraphicManager manager,
Object position)
computeGraphic (mgr, position)
transformPosition in class IltObjectpublic boolean isValidPosition(Object position)
IltObjectThis function overridden in subclasses. Accepted positions are:
IlvPoint for IltNetworkElement,
IltOffPageConnector, IltShelf,
IlvRect for IltRectGroup,
IltShelfItem,
IlpPolyline for IltAbstractLink,
IltLinearGroup,
IlpPolygon for IltPolyGroup.
isValidPosition in class IltObject
public ilog.tgo.graphic.internal.IltGraphicUpdate createPositionUpdate(Object position,
Object positionInManager)
null, the position/shape set will be
the default value.
createPositionUpdate in class IltObjectposition - the shape in stationary coordinatespositionInManager - the shape in manager coordinates (takes into
account the logical zoom transformer)public boolean usingDefaultShape(IltGraphicManager manager)
usingDefaultShape in class IltObject
public void updateShapeGraphicSettingInManager(IltGraphicManager manager,
IltGraphic graphic,
Object newShape,
IlpPositionSource reason)
updateShapeGraphicSettingInManager in class IltObjectnewShape - the new shape in stationary coordinates; null
means the current value of the shape graphic settingreason - the reason for the shape change, or null if
unknownpublic IlvRect getShape(IltGraphicManager manager)
IlpNetwork, is enough to make its graphic representation
visible. When working with datasource, use getPosition instead.
Note that this method is not supposed to be used when this
IltRectGroup is in a DataSource.
protected IlvRect getShape(IltGraphicManager manager,
IltGraphic graphic)
public void setShape(IltGraphicManager manager,
IlvRect shape)
IlpNetwork, is enough to make its graphic representation
visible. When working with datasource, use
IltObject.setPosition(IlpPosition) instead.
Note that this method is not supposed to be used when this
IltRectGroup is in a DataSource.
manager - The graphic manager where this object will be displayed.shape - The new shape.
public void setShape(IltGraphicManager manager,
IlvRect shape,
IlpPositionSource reason)
IlpNetwork, is enough to make its graphic representation
visible. When working with datasource, use
IltObject.setPosition(IlpPosition) instead.
Note that this method is not supposed to be used when this
IltRectGroup is in a DataSource.
manager - The graphic manager where this object will be displayed.shape - The new shape.reason - The reason for the shape change, or null if unknown
protected IlvRect getShapeInManager(IltGraphicManager manager,
IltGraphic graphic)
public void setShapeGraphicSetting(IltGraphic graphic,
Object newShape)
setShapeGraphicSetting in class IltObject
public void setShapeInManagerGraphicSetting(IltGraphic graphic,
Object newShape,
IlpPositionSource reason)
setShapeInManagerGraphicSetting in class IltObject
public void applyTransform(IltGraphicManager manager,
IltGraphic graphic,
IlvTransformer t,
IlpPositionSource reason)
IltObjectIltGraphicManager.
Note: t is given relative to the stationary
coordinate system, which is the coordinate system used by the other
IltObject subclasses API functions.
Note that this method is not supposed to be used when this
IltObject is in a DataSource.
applyTransform in class IltObjectmanager - The graphic manager where the object is displayed.graphic - The graphic representation in the manager.t - The transform parameter.reason - The reason for the shape change, or null if unknownIltObject.applyTransform(ilog.tgo.graphic.IltGraphicManager, ilog.views.IlvTransformer),
IltGraphicManager.getZoomTransformer()
protected IlvPoint getCenterPoint(IltGraphicManager manager,
IltGraphic graphic)
getCenterPoint in class IltObject
public void setCenterPoint(IltGraphicManager manager,
IltGraphic graphic,
IlvPoint position,
IlpPositionSource reason)
setCenterPoint in class IltObjectpublic IlvRect getBaseRectangle(IltGraphicManager manager)
getBaseRectangle in class IltObjectnull if the base has no extent at all
public void setBaseRectangle(IltGraphicManager manager,
IlvRect newBaseRectangle)
setBaseRectangle in class IltObjectpublic Object defaultShape()
defaultShape in class IltObjectpublic ilog.tgo.graphic.internal.base.IltBaseElement createBase(IltcGraphicElementAggregate root)
createBase in class IltObjectIltCompositeGraphic.createBase(IltcGraphicElementAggregate, IltObject),
IltObject.createTinyBase(IltcGraphicElementAggregate)public static void ForceInit(ilog.tgo.util.internal.IltForceClassInit object)
|
||||||||||
| PREV CLASS Documentation homepage NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||