ilog.views.sdm.renderer
Class IlvExpandCollapseRenderer.SubGraphNode

java.lang.Object
  extended by ilog.views.IlvGraphic
      extended by ilog.views.graphic.IlvGraphicHandle
          extended by ilog.views.sdm.renderer.IlvExpandCollapseRenderer.SubGraphNode
All Implemented Interfaces:
IlvPersistentObject, Transferable, Serializable
Enclosing class:
IlvExpandCollapseRenderer

public static class IlvExpandCollapseRenderer.SubGraphNode
extends IlvGraphicHandle

The class SubGraphNode implements the special graphic object used to encapsulate the children of an expandable node.

This class is public only to allow saving, in an IVL file, the contents of a grapher associated with an SDM engine and containing expandable nodes.

This class cannot be instantiated directly: only its "read" constructor is public.

See Also:
Serialized Form

Constructor Summary
IlvExpandCollapseRenderer.SubGraphNode(IlvInputStream stream)
          Reads the subgraph node from an IVL stream.
 
Method Summary
 IlvRect boundingBox(IlvTransformer t)
          Returns the bounding rectangle of the graphic objects.
 void write(IlvOutputStream stream)
          Writes the subgraph node to an IVL stream.
 
Methods inherited from class ilog.views.graphic.IlvGraphicHandle
applyTransform, contains, copy, draw, getIntersectionWithOutline, getObject, getOriginalPopupMenu, getPopupMenu, getToolTipText, inside, intersects, isOwner, isPersistent, move, move, moveResize, resize, rotate, scale, setBackground, setDelegateMoveResize, setForeground, setObject, setOwner, translate, zoomable
 
Methods inherited from class ilog.views.IlvGraphic
addActionListener, addNamedPropertyListener, boundingBox, getAndAssociateObjectInteractor, getCenter, getDefaultInteractor, getGraphicBag, GetGraphicObject, getName, getNamedProperty, getObjectInteractor, getPopupMenu, getPopupMenuName, getProperty, getToolTipText, getTopLevelGraphicBag, getTransferData, getTransferDataFlavors, hasProperty, isDataFlavorSupported, isEditable, isInApplyToObject, isMovable, isSelectable, isVisible, makeSelection, notifyObjectInteractorToManager, processActionEvent, reDraw, removeActionListener, removeNamedProperty, removeNamedPropertyListener, removeProperty, replaceProperty, setEditable, setFillOn, setGraphicBag, setInApplyToObject, setMovable, setName, setNamedProperty, setNameImpl, setObjectInteractor, setPopupMenu, setPopupMenuName, setProperty, setSelectable, setStrokeOn, setToolTipText, setVisible, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

IlvExpandCollapseRenderer.SubGraphNode

public IlvExpandCollapseRenderer.SubGraphNode(IlvInputStream stream)
                                       throws IlvReadFileException,
                                              IOException
Reads the subgraph node from an IVL stream.

Parameters:
stream - The input steam.
Throws:
IlvReadFileException
IOException
Method Detail

write

public void write(IlvOutputStream stream)
           throws IOException
Writes the subgraph node to an IVL stream.

Specified by:
write in interface IlvPersistentObject
Overrides:
write in class IlvGraphicHandle
Parameters:
stream - The output steam.
Throws:
IOException - thrown when an exception occurs during the write operation for this object.

boundingBox

public IlvRect boundingBox(IlvTransformer t)
Returns the bounding rectangle of the graphic objects.

Overrides:
boundingBox in class IlvGraphicHandle
Parameters:
t - The transformer used to compute the bounding rectangle.
See Also:
IlvGraphic.draw(java.awt.Graphics, ilog.views.IlvTransformer), IlvGraphic.zoomable(), IlvGraphic


Copyright © 1996-2007 ILOG S.A. All rights reserved.   Documentation homepage.