|
||||||||||
| PREV CLASS Documentation homepage NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectilog.views.IlvGraphic
ilog.views.graphic.IlvGraphicSet
ilog.views.prototypes.IlvGraphicGroup
public class IlvGraphicGroup
The class IlvGraphicGroup is a subclass of
IlvGraphicSet that encapsulates an IlvGroup.
When an IlvGroup is encapsulated in an
IlvGraphicGroup, the graphic elements in the group are
under the control of the IlvGraphicGroup object. In particular,
they are drawn by the IlvGraphicGroup object, not by the
manager.
The IlvGraphicGroup class uses the layer
property of the graphic elements to draw them in the correct order.
Also, the visible property of the graphic elements is taken
into account. The graphic group draws only the graphic elements that
are set as visible.
This class is different from the IlvGroupFrame class.
An IlvGroupFrame merely provides visual feedback for
selecting a group controlled directly by a manager, whereas
an IlvGraphicGroup actually contains the graphic elements.
IlvGroup,
Serialized Form| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class ilog.views.graphic.IlvGraphicSet |
|---|
IlvGraphicSet.DelegateObjectInteractor |
| Field Summary |
|---|
| Fields inherited from class ilog.views.graphic.IlvGraphicSet |
|---|
list |
| Constructor Summary | |
|---|---|
IlvGraphicGroup(IlvGroup group)
Creates a new IlvGraphicGroup. |
|
IlvGraphicGroup(IlvInputStream in)
Reads the group from an IlvInputStream stream. |
|
| Method Summary | |
|---|---|
void |
applyTransform(IlvTransformer t)
Applies a transformation to the graphic group. |
IlvGraphic |
copy()
Returns a copy of the group. |
IlvGroup |
getGroup()
Returns the group contained in this graphic object. |
void |
write(IlvOutputStream out)
Writes the group to an IlvOutputStream. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface ilog.views.IlvGraphicBag |
|---|
getGraphicBag |
| Constructor Detail |
|---|
public IlvGraphicGroup(IlvGroup group)
IlvGraphicGroup.
group - the group whose graphic elements must be controlled
by the new graphic group.
public IlvGraphicGroup(IlvInputStream in)
throws IlvReadFileException
IlvInputStream stream.
This constructor must be called by the
input constructors of subclasses.
in - The input stream.
IlvReadFileException - if the stream format is not correct.| Method Detail |
|---|
public void write(IlvOutputStream out)
throws IOException
IlvOutputStream.
write in interface IlvPersistentObjectwrite in class IlvGraphicSetout - The output stream.
IOException - thrown when an exception occurs during
the write operation for this object.public IlvGraphic copy()
copy in class IlvGraphicSetIlvGraphicpublic void applyTransform(IlvTransformer t)
applyTransform in class IlvGraphicSett - The transformation to apply.IlvGraphicpublic IlvGroup getGroup()
|
||||||||||
| PREV CLASS Documentation homepage NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||