public static class IlvSubGraphRenderer.CollapsedGraphic extends IlvDoubleGraphicHandleBag
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.
MAX_FLAG| Constructor and Description |
|---|
CollapsedGraphic(IlvInputStream stream)
Reads the collapsed graphic from an IVL stream.
|
| Modifier and Type | Method and Description |
|---|---|
IlvRect |
boundingBox(IlvTransformer t)
Returns the bounding rectangle of the object.
|
boolean |
contains(IlvPoint p,
IlvPoint tp,
IlvTransformer t)
Tests if a point lies within the outline of the object,
or within the outline of the "expand" icon.
|
IlvGraphic |
copy()
Copies the object.
|
void |
draw(Graphics dst,
IlvTransformer t)
Draws the "expand" icon on top of the collapsed
graphic.
|
void |
write(IlvOutputStream stream)
Writes the collapsed graphic to an IVL stream.
|
addGraphicBagHierarchyListener, addManagerViewsHierarchyListener, addObject, applyToObject, applyTransform, enableGraphicBagHierarchyEventForwarding, enableManagerViewsHierarchyEventForwarding, fireGraphicBagHierarchyEvent, fireManagerViewsHierarchyEvent, getIntersectionWithOutline, getObject, getObject1, getObject2, getObjects, getOriginalPopupMenu, getPopupMenu, getToolTipText, inside, intersects, isFlagSet, isPersistent, move, move, moveObject, needsGraphicBagHierarchyEvent, needsManagerViewsHierarchyEvent, object1Name, object2Name, reDrawObj, reDrawRegion, removeGraphicBagHierarchyListener, removeManagerViewsHierarchyListener, removeObject, reshapeObject, setDelegateMoveResize, setFlag, setGraphicBag, setObject1, setObject2, setObjectName, translate, zoomablecalcResolvedBaseTextDirection, getBaseTextDirection, getComponentOrientation, getResolvedBaseTextDirection, getULocale, invalidateBidiCache, setBaseTextDirection, setBaseTextDirection, setBaseTextDirectionDuringConstructionaddActionListener, addNamedPropertyListener, allViewsRemoved, baseTextDirectionChanged, blinkingStateOn, boundingBox, callDraw, componentOrientationChanged, getAndAssociateObjectInteractor, getBlinkingAction, getBlinkingObjectOwner, getBlinkingOffPeriod, getBlinkingOnPeriod, getCenter, getDefaultInteractor, getGraphicBag, GetGraphicObject, getLocale, getName, getNamedProperty, getObjectInteractor, getPopupMenu, getPopupMenuName, getProperty, getToolTipBaseTextDirection, getToolTipText, getTopLevelGraphicBag, getTransferData, getTransferDataFlavors, getZOrderIndex, hasProperty, invalidateBBoxCache, isBaseTextDirectionSensitive, isComponentOrientationSensitive, isDataFlavorSupported, isEditable, isInApplyToObject, isLocaleSensitive, isMovable, isSelectable, isVisible, localeChanged, makeSelection, moveResize, needsViewNotification, notifyObjectInteractorToManager, processActionEvent, reDraw, registerBlinkingResource, removeActionListener, removeNamedProperty, removeNamedPropertyListener, removeProperty, replaceProperty, resize, rotate, scale, setBackground, setBlinkingAction, setBlinkingOffPeriod, setBlinkingOnPeriod, setEditable, setFillOn, setForeground, setInApplyToObject, setMovable, setName, setNamedProperty, setNameImpl, setObjectInteractor, setPopupMenu, setPopupMenuName, setProperty, setSelectable, setStrokeOn, setToolTipBaseTextDirection, setToolTipText, setVisible, setZOrderIndex, toString, updateNeedsViewNotification, usesBidiMarkers, viewAddedOrRemovedclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetGraphicBagpublic CollapsedGraphic(IlvInputStream stream) throws IlvReadFileException, IOException
stream - The input stream.IlvReadFileExceptionIOExceptionpublic IlvGraphic copy()
IlvDoubleGraphicHandleBagnull if the contained object cannot be copied.copy in class IlvDoubleGraphicHandleBagIlvGraphicpublic void write(IlvOutputStream stream) throws IOException
write in interface IlvPersistentObjectwrite in class IlvDoubleGraphicHandleBagstream - The output stream.IOException - thrown when an exception occurs during
the write operation for this object.public void draw(Graphics dst, IlvTransformer t)
draw in class IlvDoubleGraphicHandleBagdst - The Graphics used to draw the collapsed graphic.t - The transformer used to draw the collapsed graphic.IlvGraphic.callDraw(Graphics,IlvTransformer),
IlvGraphic.boundingBox(IlvTransformer),
IlvGraphic.zoomable(),
IlvGraphicpublic boolean contains(IlvPoint p, IlvPoint tp, IlvTransformer t)
contains in class IlvDoubleGraphicHandleBagp - The point to be tested.tp - The point p transformed by the transformer t.t - The transformation used to draw the object.true if the point lies inside this graphic object.IlvGraphicpublic IlvRect boundingBox(IlvTransformer t)
IlvDoubleGraphicHandleBagboundingBox on the referenced objects.boundingBox in class IlvDoubleGraphicHandleBagt - the transformer used to draw the object.IlvGraphic.draw(java.awt.Graphics, ilog.views.IlvTransformer),
IlvGraphic.zoomable(),
IlvGraphic© Copyright Rogue Wave Software, Inc. 1997, 2017. All Rights Reserved.