public static class IlvExpandCollapseRenderer.ExpandableNode extends IlvGroupFrame
ExpandableNode implements the special
graphic object used to display sub-graph nodes.
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.
Note that, when read from an IVL file, the expandable node is not fully functional: it cannot be expanded or collapsed.
Note also that this graphic object relies on the ilog.views.prototypes
package. Therefore, if you want to load an IVL file containing expandable nodes
in Perforce JViews Composer, you must launch the "Prototypes" version of
Composer (composer -p).
This class cannot be instantiated directly: only its "read" constructor is public.
| Constructor and Description |
|---|
ExpandableNode(IlvInputStream stream)
Reads the expandable node from an IVL stream.
|
| Modifier and Type | Method and Description |
|---|---|
void |
applyTransform(IlvTransformer t)
Applies a transformer to this group frame by setting the
transformation value for the group. |
IlvRect |
boundingBox(IlvTransformer t)
The bounding box of an
IlvGroupGraphic
is the union of all the bounding boxes of the graphic elements in
the group. |
void |
draw(Graphics dst,
IlvTransformer t)
Draws a rectangle around the group.
|
void |
write(IlvOutputStream stream)
Writes the expandable node to an IVL stream.
|
copy, getGroup, setGraphicBag, zoomableaddActionListener, addNamedPropertyListener, allViewsRemoved, baseTextDirectionChanged, blinkingStateOn, boundingBox, callDraw, componentOrientationChanged, contains, getAndAssociateObjectInteractor, getBaseTextDirection, getBlinkingAction, getBlinkingObjectOwner, getBlinkingOffPeriod, getBlinkingOnPeriod, getCenter, getComponentOrientation, getDefaultInteractor, getGraphicBag, GetGraphicObject, getIntersectionWithOutline, getLocale, getName, getNamedProperty, getObjectInteractor, getPopupMenu, getPopupMenu, getPopupMenuName, getProperty, getResolvedBaseTextDirection, getToolTipBaseTextDirection, getToolTipText, getToolTipText, getTopLevelGraphicBag, getTransferData, getTransferDataFlavors, getULocale, getZOrderIndex, hasProperty, inside, intersects, invalidateBBoxCache, invalidateBidiCache, isBaseTextDirectionSensitive, isComponentOrientationSensitive, isDataFlavorSupported, isEditable, isInApplyToObject, isLocaleSensitive, isMovable, isPersistent, isSelectable, isVisible, localeChanged, makeSelection, move, move, moveResize, needsViewNotification, notifyObjectInteractorToManager, processActionEvent, reDraw, registerBlinkingResource, removeActionListener, removeNamedProperty, removeNamedPropertyListener, removeProperty, replaceProperty, resize, rotate, scale, setBackground, setBaseTextDirection, setBaseTextDirectionDuringConstruction, setBlinkingAction, setBlinkingOffPeriod, setBlinkingOnPeriod, setEditable, setFillOn, setForeground, setInApplyToObject, setMovable, setName, setNamedProperty, setNameImpl, setObjectInteractor, setPopupMenu, setPopupMenuName, setProperty, setSelectable, setStrokeOn, setToolTipBaseTextDirection, setToolTipText, setVisible, setZOrderIndex, toString, translate, updateNeedsViewNotification, usesBidiMarkers, viewAddedOrRemovedpublic ExpandableNode(IlvInputStream stream) throws IlvReadFileException, IOException
stream - The input stream.IlvReadFileExceptionIOExceptionpublic void write(IlvOutputStream stream) throws IOException
write in interface IlvPersistentObjectwrite in class IlvGroupFramestream - 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 IlvGroupFramedst - The drawing context.t - The transformer.IlvGraphic.callDraw(Graphics,IlvTransformer),
IlvGraphic.boundingBox(IlvTransformer),
IlvGraphic.zoomable(),
IlvGraphicpublic void applyTransform(IlvTransformer t)
transformation value for the group. This value is
recursively propagated to all the graphic elements belonging to the group.applyTransform in class IlvGroupFramet - The transformer.IlvGraphicpublic IlvRect boundingBox(IlvTransformer t)
IlvGroupGraphic
is the union of all the bounding boxes of the graphic elements in
the group.boundingBox in class IlvGroupFramet - The transformer.IlvGraphic.draw(java.awt.Graphics, ilog.views.IlvTransformer),
IlvGraphic.zoomable(),
IlvGraphic© Copyright 2024 Rogue Wave Software, Inc., a Perforce company.. All Rights Reserved.