IltObjects
are no longer added directly to an
IltCompositeGrapher
. Instead they are used as
business objects and are added to a data source
that can be connected to different graphic components.@Deprecated public abstract class IltObjectSource extends Object
IltObjects
, and add them to an IltCompositeGrapher
to represent them.Constructor and Description |
---|
IltObjectSource()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
protected void |
addObjects()
Deprecated.
Adds the
IltObjects in the current manager. |
Enumeration |
getGraphicSettings()
Deprecated.
Returns the
IltGraphicSettings associated with the
IltObjects returned by getObjects . |
IltCompositeGrapher |
getManager()
Deprecated.
Returns the manager used to represent the
IltObjects . |
IltNetwork |
getNetwork()
Deprecated.
Returns the
IltNetwork used to represent the
IltObjects or null if there are none. |
abstract Enumeration |
getObjects()
Deprecated.
Returns the
IltObjects managed by this source. |
protected void |
removeObjects()
Deprecated.
Removes the
IltObjects from the current manager. |
void |
setManager(IltCompositeGrapher manager)
Deprecated.
Sets the manager used to represent the
IltObjects . |
void |
setNetwork(IltNetwork network)
Deprecated.
Sets the
IltNetwork used to represent the
IltObjects . |
public void setManager(IltCompositeGrapher manager)
IltObjects
.public IltCompositeGrapher getManager()
IltObjects
.public void setNetwork(IltNetwork network)
IltNetwork
used to represent the
IltObjects
.public IltNetwork getNetwork()
IltNetwork
used to represent the
IltObjects
or null
if there are none.public abstract Enumeration getObjects()
IltObjects
managed by this source.getGraphicSettings()
,
addObjects()
public Enumeration getGraphicSettings()
IltGraphicSettings
associated with the
IltObjects
returned by getObjects
.
Note: IltGraphicSettings
are generally
optional. Therefore, the implementation of this method returns
null
. When overridden, this method may return
IltGraphicSettings
enumerated in an order corresponding to
the IltObjects
that have been returned by
getObjects
. The default implementation of
addObjects
assumes that the order is the same for both
enumerations.
getObjects()
,
addObjects()
protected void addObjects()
IltObjects
in the current manager.
This implementation creates a graphic representation for each
IltObject
in the enumeration returned by
getObjects
. If getGraphicSettings
returns
some IltGraphicSettings
, then they are associated with the
IltObjects
, assuming they are enumerated in the same order.
Finally, the IltObjects
are made visible.
getObjects()
,
getGraphicSettings()
protected void removeObjects()
IltObjects
from the current manager.
This implementation invokes removeGraphic
on each
IltObject
in the enumeration returned by
getObjects
.
© Copyright Rogue Wave Software, Inc. 1997, 2018. All Rights Reserved.