public static class IlvSwimLanesRenderer.DefaultSwimLaneGraphic extends IlvGeneralNode
IlvSwimLanesRenderer
to display
swimlanes. It is a subclass of IlvGeneralNode
that has the capability to display the general node's label
vertically.
This class is public only to allow the saving of the contents of a grapher associated with an SDM engine and containing swimlanes to an IVL file.
IlvGraphicSet.DelegateObjectInteractor
CUSTOM, DIAMOND, ELLIPSE, EXPAND_ONLY, EXPAND_OR_SHRINK, High_Quality_Icons, icon, LABEL_UNCHANGED, labels, layoutNeeded, LINEAR_GRADIENT, MARKER, NO_AUTO_RESIZE, NO_FILL, RADIAL_GRADIENT, realizeNeeded, RECTANGLE, ROUND_RECTANGLE, shape, SHRINK_ONLY, SOLID_COLOR, TEXTURE, TRIANGLE_DOWN, TRIANGLE_LEFT, TRIANGLE_RIGHT, TRIANGLE_UP, TRUNCATE, WORD_WRAP
list
Constructor and Description |
---|
DefaultSwimLaneGraphic()
Creates a new swimlane graphic object.
|
DefaultSwimLaneGraphic(IlvInputStream stream)
Reads the swimlane graphic object from an IVL stream.
|
Modifier and Type | Method and Description |
---|---|
Color |
getBackground()
Returns the background color.
|
protected void |
realize()
This method rotates the label when the swimlane is horizontal.
|
void |
write(IlvOutputStream stream)
Writes the swimlane graphic object to an IVL stream.
|
applyTransform, boundingBox, copy, doLayout, drawCore, getAnchor, getBaseBoundingBox, getDecorations, getDecorations, getFillAngle, getFillColor1, getFillColor2, getFillEnd, getFillStart, getFillStyle, getFillTexture, getHorizontalAutoResizeMargin, getHorizontalAutoResizeMode, getIcon, getIconPosition, getLabel, getLabelAlignment, getLabelBBox, getLabelColor, getLabelFont, getLabelMargin, getLabelMode, getLabelPosition, getLabelScaleFactor, getLabelSpacing, getLineSpacing, getMaxLabelZoom, getMinLabelZoom, getShape, getShapeAspectRatio, getShapeBBox, getShapeHeight, getShapeType, getShapeWidth, getStrokeColor, getStrokeDashArray, getStrokeDashPhase, getStrokeEndCaps, getStrokeLineJoins, getStrokeMiterLimit, getStrokeWidth, getVerticalAutoResizeMargin, getVerticalAutoResizeMode, getWordWrapChars, getWordWrapMargin, getWordWrapMode, invalidateBBoxCache, isKeepingAspectRatio, isLabelAntialiasing, isLabelZoomable, isTruncatedLabelSuffix, isUseIlvText, isUseIlvTextDefault, moveLabel, moveResize, setAnchor, setBackground, setDecorations, setDecorations, setFillAngle, setFillColor1, setFillColor2, setFillEnd, setFillStart, setFillStyle, setFillTexture, setForeground, setHorizontalAutoResizeMargin, setHorizontalAutoResizeMode, setIcon, setIconPosition, setKeepingAspectRatio, setLabel, setLabelAlignment, setLabelAntialiasing, setLabelColor, setLabelFont, setLabelMargin, setLabelMode, setLabelPosition, setLabelScaleFactor, setLabelSpacing, setLabelZoomable, setLineSpacing, setMaxLabelZoom, setMinLabelZoom, setShape, setShapeAspectRatio, setShapeHeight, setShapeType, setShapeWidth, setStrokeColor, setStrokeDashArray, setStrokeDashPhase, setStrokeEndCaps, setStrokeLineJoins, setStrokeMiterLimit, setStrokeWidth, setTruncatedLabelSuffix, setUseIlvText, setUseIlvTextDefault, setVerticalAutoResizeMargin, setVerticalAutoResizeMode, setWordWrapChars, setWordWrapMargin, setWordWrapMode, shouldElementBePartOfClip, shouldRestrictListOfElementsForClip, supportMultiline, updateLabelingModel, zoomable
addGraphicBagHierarchyListener, addManagerViewsHierarchyListener, addObject, addObjectAt, applyToObject, applyToObjectImpl, baseTextDirectionChanged, componentOrientationChanged, contains, contains, draw, enableGraphicBagHierarchyEventForwarding, enableManagerViewsHierarchyEventForwarding, fireGraphicBagHierarchyEvent, fireManagerViewsHierarchyEvent, firstContains, getAlpha, getCardinal, getClip, getIndex, getIntersectionWithOutline, getObject, getObject, getObjectName, getObjects, getOriginalPopupMenu, getPopupMenu, getToolTipText, invalidateAndApplyToObject, isBaseTextDirectionSensitive, isComponentOrientationSensitive, isLocaleSensitive, isPersistent, moveObject, needsGraphicBagHierarchyEvent, needsManagerViewsHierarchyEvent, reDrawObj, reDrawRegion, removeAll, removeGraphicBagHierarchyListener, removeManagerViewsHierarchyListener, removeObject, removeObjectAt, reshapeObject, setAlpha, setBaseTextDirection, setClip, setGraphicBag, setInsideApply, setObjectName
calcResolvedBaseTextDirection, getBaseTextDirection, getComponentOrientation, getResolvedBaseTextDirection, getULocale, invalidateBidiCache, setBaseTextDirection, setBaseTextDirectionDuringConstruction
addActionListener, addNamedPropertyListener, allViewsRemoved, blinkingStateOn, boundingBox, callDraw, getAndAssociateObjectInteractor, getBlinkingAction, getBlinkingObjectOwner, getBlinkingOffPeriod, getBlinkingOnPeriod, getCenter, getDefaultInteractor, getGraphicBag, GetGraphicObject, getLocale, getName, getNamedProperty, getObjectInteractor, getPopupMenu, getPopupMenuName, getProperty, getToolTipBaseTextDirection, getToolTipText, getTopLevelGraphicBag, getTransferData, getTransferDataFlavors, getZOrderIndex, hasProperty, inside, intersects, isDataFlavorSupported, isEditable, isInApplyToObject, isMovable, isSelectable, isVisible, localeChanged, makeSelection, move, move, needsViewNotification, notifyObjectInteractorToManager, processActionEvent, reDraw, registerBlinkingResource, removeActionListener, removeNamedProperty, removeNamedPropertyListener, removeProperty, replaceProperty, resize, rotate, scale, setBlinkingAction, setBlinkingOffPeriod, setBlinkingOnPeriod, setEditable, setFillOn, setInApplyToObject, setMovable, setName, setNamedProperty, setNameImpl, setObjectInteractor, setPopupMenu, setPopupMenuName, setProperty, setSelectable, setStrokeOn, setToolTipBaseTextDirection, setToolTipText, setVisible, setZOrderIndex, toString, translate, updateNeedsViewNotification, usesBidiMarkers, viewAddedOrRemoved
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getGraphicBag
public DefaultSwimLaneGraphic()
public DefaultSwimLaneGraphic(IlvInputStream stream) throws IOException, IlvReadFileException
stream
- The input stream.IOException
IlvReadFileException
public void write(IlvOutputStream stream) throws IOException
write
in interface IlvPersistentObject
write
in class IlvGeneralNode
stream
- The output stream.IOException
- if a write error occurred.public Color getBackground()
protected void realize()
realize
in class IlvGeneralNode
© Copyright 2024 Rogue Wave Software, Inc., a Perforce company.. All Rights Reserved.