com.tensegrity.composite
Interface CompositeSwimLanePool

All Superinterfaces:
Attributable, AttributableOnSet, BaseComposite, BaseCompositeContainer, BaseInteractable, Composite, CompositeGroup, Interactable, InteractionProvider

public interface CompositeSwimLanePool
extends CompositeGroup

A CompositeSwimlanePool is a composition of CompositeSwimLanes. The nested CompositeSwimLanes are arranged parallel.

Version:
$Id: CompositeSwimLanePool.java,v 1.7 2004/09/10 06:52:16 MichaelKegel Exp $
Author:
MichaelKegel
See Also:
CompositeSwimLane

Field Summary
static int LABEL_ADJUSTMENT_BOTTOM
          Adjustment Constants.
static int LABEL_ADJUSTMENT_CENTER
          Adjustment Constants.
static int LABEL_ADJUSTMENT_LEFT
          Adjustment Constants.
static int LABEL_ADJUSTMENT_RIGHT
          Adjustment Constants.
static int LABEL_ADJUSTMENT_TOP
          Adjustment Constants.
static int LABEL_POSITION_BOTTOM
          Positioning Constants.
static int LABEL_POSITION_LEFT
          Positioning Constants.
static int LABEL_POSITION_TOP
          Positioning Constants.
 
Fields inherited from interface com.tensegrity.composite.CompositeGroup
EVENT_MASK_ADD_COMPOSITE, EVENT_MASK_ADD_COMPOSITES, EVENT_MASK_COMPOSITEORDER_CHANGED, EVENT_MASK_FOLDSTATE_CHANGE, EVENT_MASK_REMOVE_COMPOSITE, EVENT_MASK_REMOVE_COMPOSITES, EVENT_MASK_SELECTION_CHANGED, EVENT_MASK_SIZE_ADJUSTMENT, FOLDPLACEMENT_CENTERED, FOLDPLACEMENT_UNKNOWN, FOLDPLACEMENT_UPPERCORNER, FOLDSTATE_FOLDED, FOLDSTATE_UNFOLDED, SIZEADJUSTMENT_COMPOSITES, SIZEADJUSTMENT_COMPOSITESANDLINES, SIZEADJUSTMENT_NONE
 
Fields inherited from interface com.tensegrity.composite.Composite
BBOXMASK_INCLUDE_ALL, BBOXMASK_INCLUDE_EXTERNALS_ALL, BBOXMASK_INCLUDE_EXTERNALS_BACK, BBOXMASK_INCLUDE_EXTERNALS_BOTTOM, BBOXMASK_INCLUDE_EXTERNALS_FRONT, BBOXMASK_INCLUDE_EXTERNALS_LEFT, BBOXMASK_INCLUDE_EXTERNALS_RIGHT, BBOXMASK_INCLUDE_EXTERNALS_TOP, BBOXMASK_INCLUDE_MARKER, BBOXMASK_INCLUDE_SHADOW, BBOXMASK_INCLUDE_STROKE, BBOXMASK_INCLUDE_TEXT_OUTSIDE_OF_LABELS, EVENT_MASK_CHANGE, EVENT_MASK_MOVE, EVENT_MASK_RESIZE, TRANSFORMFROM_COMPOSITE, TRANSFORMTO_COMPOSITE
 
Fields inherited from interface com.tensegrity.composite.BaseComposite
DELEGATE_INFOVALUE, EVENT_MASK_MOUSE, EVENT_MASK_SELECT, GENERAL_INFOVALUE, NON_INFOVALUE
 
Fields inherited from interface com.tensegrity.generic.attribute.AttributableOnSet
TREE_SUBSET_POSTFIX
 
Method Summary
 PaintFormat getBackgroundPaint()
          Returns the backgrounds PaintFormat.
 StrokeFormat getBackgroundStroke()
          Returns the backgrounds StrokeFormat.
 int getLabelAdjustment()
          Returns the adjustment of the label.
 FontFormat getLabelFont()
          Returns the FontFormat of the label.
 PaintFormat getLabelPaint()
          Returns the PaintFormat of the label.
 int getLabelPosition()
          Returns the position of the label.
 StrokeFormat getLabelStroke()
          Returns the StrokeFormat of the label.
 java.lang.String getLabelText()
          Returns the labels text.
 int getMinimumSwimLaneLength()
          Returns the minimum length of a lane.
 CompositeSwimLane getSwimLane(int index)
           
 int getSwimLaneCount()
           
 java.util.Collection getSwimLanes()
           
 boolean isAutomaticSwimLaneIndexing()
           
 boolean isAutomaticSwimLaneLayouting()
           
 boolean isTitleVisible()
          Returns true, if the title is visible.
 void layoutSwimLanes()
           
 void reIndexSwimLanes()
           
 void setAutomaticSwimLaneIndexing(boolean automaticSwimLaneIndexing)
           
 void setAutomaticSwimLaneLayouting(boolean automaticSwimLaneLayouting)
           
 void setBackgroundPaint(PaintFormat paint)
          Set the PaintFormat of the background.
 void setBackgroundStroke(StrokeFormat stroke)
          Set the StrokeFormat of the background.
 void setLabelAdjustment(int adjustment)
          Sets the adjustment of the label.
 void setLabelFont(FontFormat font)
          Sets the FontFormat of the label.
 void setLabelPaint(PaintFormat paint)
          Sets the PaintFormat of the label.
 void setLabelPosition(int position)
          Sets the position of the label.
 void setLabelStroke(StrokeFormat stroke)
          Sets the StrokeFormat of the label.
 void setLabelText(java.lang.String text)
          Sets the text for the label.
 void setMinimumSwimLaneLength(int minLaneLength)
          Sets the minimum length of a lane.
 void setTitleVisible(boolean visible)
          Set the title visible / invisible.
 
Methods inherited from interface com.tensegrity.composite.CompositeGroup
addCompositeGroupListener, addVetoableCompositeGroupListener, adjustBoundingBoxToContent, computeCompositeBoundingBox, deepCopy, enableChildManipulation, enableChildMovement, enableChildSelection, getContentBorderBottom, getContentBorderLeft, getContentBorderRight, getContentBorderTop, getFoldedGeometry, getFoldedStyle, getFoldingAnchor, getFoldPlacement, getFoldState, getFoldStateButtonAnchor, getFoldStateButtonCursor, getFoldStateButtonSize, getFoldStateSize, getHorizontalContentBorder, getSizeAdjustment, getVerticalContentBorder, internalEnabledSizeAdjustment, internalEnableSizeAdjustment, internalFireCompositesAddedEvent, internalFireCompositesRemovedEvent, internalFireSelectionChangeEvent, isAdjustSizeToSingleChild, isChildManipulationEnabled, isChildMovementEnabled, isChildSelectionEnabled, isDragSource, isDropTarget, isFoldable, layout, registerAdditionalInteractionHandler, removeCompositeGroupListener, removeVetoableCompositeGroupListener, setAdjustSizeToSingleChild, setContentBorderBottom, setContentBorderLeft, setContentBorderRight, setContentBorderTop, setDragSource, setDropTarget, setFoldable, setFoldedGeometry, setFoldedStyle, setFoldingAnchor, setFoldPlacement, setFoldState, setFoldStateButtonAnchor, setFoldStateButtonCursor, setFoldStateButtonSize, setFoldStateSize, setHorizontalContentBorder, setSizeAdjustment, setVerticalContentBorder, toggleFoldState
 
Methods inherited from interface com.tensegrity.composite.BaseCompositeContainer
addComposite, addComposites, getCompositeCount, getCompositeIterator, removeAllComposites, removeComposite, removeComposites, setComposites
 
Methods inherited from interface com.tensegrity.composite.Composite
addCompositeListener, addToLocation, addVetoableCompositeListener, applyState, centerAtLocation, deepCopy, getBackgroundCursorID, getBoundingBox, getCoordinateSystem, getCoordinateSytemTransform, getLocation, getMinimumSize, getSize, getState, getTransform, internalGetHasSideHandles, internalGetKeepAspectRatioAtCornerHandles, internalSetHasSideHandles, internalSetKeepAspectRatioAtCornerHandles, layout, removeCompositeListener, removeVetoableCompositeListener, setBackgroundCursorID, setBoundingBox, setCoordinateSystem, setLocation, setMinimumSize, setSize, setTransform
 
Methods inherited from interface com.tensegrity.composite.BaseComposite
addPrimitive, adjustGeometry, adjustGeometry, applyGeometry, applyStyle, areEventsEnabled, disableEvents, draw, draw, drawComposite, enableEvents, getBaseCompositeContainer, getEventMask, getGeometryName, getInfoValue, getInfoValueIdentifier, getName, getPrimitiveIterator, getShadowColor, getShadowDirection, getStyleName, internalSetGeometryName, internalSetStyleName, isDeletable, isShadowVisible, registerAttributeConstraint, registerEventMediator, registerVetoableEventMediator, removeAllPrimitives, removePrimitive, setBaseCompositeContainer, setDeletable, setEventMask, setInfoValue, setInfoValue, setName, setShadowColor, setShadowDirection, setShadowVisible, unregisterAttributeConstraint
 
Methods inherited from interface com.tensegrity.generic.attribute.AttributableOnSet
addAttributableOnSetListener, areAttributableEventsEnabled, disableAttributableEvents, enableAttributableEvents, getAttributes, getAttributesTree, removeAttributableOnSetListener, setAttributes, setAttributesTree
 
Methods inherited from interface com.tensegrity.generic.attribute.Attributable
getAttribute, getAttributeType, getAttributeValue, setAttribute, setAttributeValue
 
Methods inherited from interface com.tensegrity.graphics.interaction.BaseInteractable
getBoundingBox, getInteractionDescriptor, getMoveItem, hits, internalEnableSelection, internalSelect, internalSetSelected, isMovable, isSelectable, isSelected, mouseClick, mouseDown, mouseEnter, mouseExit, mouseUp, postActing, preActing, select, setMovable, setSelectable, setSelected, startAction, stopAction
 
Methods inherited from interface com.tensegrity.graphics.interaction.Interactable
calculateBoundingBox, isResizable, setResizable
 
Methods inherited from interface com.tensegrity.graphics.interaction.InteractionProvider
actAt, descriptorChanged, dismissFromInteractionCycle, getCurrentInteractionItemFor, getCursorID, getInteractionProviders, getSelection, getSelectionBoundingBox, hasMultiSelection, hasSelection, hasSubSelection, hitsAt, mouseClickAt, mouseDownAt, mouseMoveAt, mouseUpAt, postAction, preAction, select, selectAll, selectAt, selectContaining, selectSubsequent, setSelection, startActionAt, stopActionAt, unselect, unselect, unselectAll, unselectSubsequent
 

Field Detail

LABEL_POSITION_TOP

public static final int LABEL_POSITION_TOP
Positioning Constants. Used by get / setLabelPosition.

See Also:
Constant Field Values

LABEL_POSITION_BOTTOM

public static final int LABEL_POSITION_BOTTOM
Positioning Constants. Used by get / setLabelPosition.

See Also:
Constant Field Values

LABEL_POSITION_LEFT

public static final int LABEL_POSITION_LEFT
Positioning Constants. Used by get / setLabelPosition.

See Also:
Constant Field Values

LABEL_ADJUSTMENT_LEFT

public static final int LABEL_ADJUSTMENT_LEFT
Adjustment Constants. Used by get / setLabelAdjustment.

See Also:
Constant Field Values

LABEL_ADJUSTMENT_RIGHT

public static final int LABEL_ADJUSTMENT_RIGHT
Adjustment Constants. Used by get / setLabelAdjustment.

See Also:
Constant Field Values

LABEL_ADJUSTMENT_TOP

public static final int LABEL_ADJUSTMENT_TOP
Adjustment Constants. Used by get / setLabelAdjustment.

See Also:
Constant Field Values

LABEL_ADJUSTMENT_BOTTOM

public static final int LABEL_ADJUSTMENT_BOTTOM
Adjustment Constants. Used by get / setLabelAdjustment.

See Also:
Constant Field Values

LABEL_ADJUSTMENT_CENTER

public static final int LABEL_ADJUSTMENT_CENTER
Adjustment Constants. Used by get / setLabelAdjustment.

See Also:
Constant Field Values
Method Detail

getBackgroundStroke

public StrokeFormat getBackgroundStroke()
Returns the backgrounds StrokeFormat.

Returns:
the backgrounds StrokeFormat.

setBackgroundStroke

public void setBackgroundStroke(StrokeFormat stroke)
Set the StrokeFormat of the background.

Parameters:
stroke - the StrokeFormat to set for the background.

getBackgroundPaint

public PaintFormat getBackgroundPaint()
Returns the backgrounds PaintFormat.

Returns:
the backgrounds PaintFormat.

setBackgroundPaint

public void setBackgroundPaint(PaintFormat paint)
Set the PaintFormat of the background.

Parameters:
paint - the PaintFormat to set for the background.

isTitleVisible

public boolean isTitleVisible()
Returns true, if the title is visible.

Returns:
true, if the title is visible.

setTitleVisible

public void setTitleVisible(boolean visible)
Set the title visible / invisible.

Parameters:
visible - true, if the title shall be visible.

getLabelPosition

public int getLabelPosition()
Returns the position of the label.

Returns:
the position of the label.

setLabelPosition

public void setLabelPosition(int position)
Sets the position of the label. Valid values are LABEL_POSITION_TOP, LABEL_POSITION_BOTTOM and LABEL_POSITION_LEFT.

Parameters:
position - the position to set.

getLabelAdjustment

public int getLabelAdjustment()
Returns the adjustment of the label.

Returns:
the adjustment of the label.

setLabelAdjustment

public void setLabelAdjustment(int adjustment)
Sets the adjustment of the label. Valid values are

getLabelStroke

public StrokeFormat getLabelStroke()
Returns the StrokeFormat of the label.

Returns:
the StrokeFormat of the label.

setLabelStroke

public void setLabelStroke(StrokeFormat stroke)
Sets the StrokeFormat of the label.

Parameters:
stroke - the StrokeFormat to set for the label.

getLabelPaint

public PaintFormat getLabelPaint()
Returns the PaintFormat of the label.

Returns:
the PaintFormat of the label.

setLabelPaint

public void setLabelPaint(PaintFormat paint)
Sets the PaintFormat of the label.

Parameters:
paint - the PaintFormat to set for the label.

getLabelFont

public FontFormat getLabelFont()
Returns the FontFormat of the label.

Returns:
the FontFormat of the label.

setLabelFont

public void setLabelFont(FontFormat font)
Sets the FontFormat of the label.

Parameters:
font - the FontFormat to set for the label.

getLabelText

public java.lang.String getLabelText()
Returns the labels text.

Returns:
the labels text.

setLabelText

public void setLabelText(java.lang.String text)
Sets the text for the label.

Parameters:
text - the text for the label.

getMinimumSwimLaneLength

public int getMinimumSwimLaneLength()
Returns the minimum length of a lane.

Returns:
the minimum length of a lane.

setMinimumSwimLaneLength

public void setMinimumSwimLaneLength(int minLaneLength)
Sets the minimum length of a lane.

Parameters:
minLaneLength - minimum length to set.

getSwimLaneCount

public int getSwimLaneCount()

getSwimLane

public CompositeSwimLane getSwimLane(int index)

getSwimLanes

public java.util.Collection getSwimLanes()

isAutomaticSwimLaneIndexing

public boolean isAutomaticSwimLaneIndexing()

setAutomaticSwimLaneIndexing

public void setAutomaticSwimLaneIndexing(boolean automaticSwimLaneIndexing)

isAutomaticSwimLaneLayouting

public boolean isAutomaticSwimLaneLayouting()

setAutomaticSwimLaneLayouting

public void setAutomaticSwimLaneLayouting(boolean automaticSwimLaneLayouting)

reIndexSwimLanes

public void reIndexSwimLanes()

layoutSwimLanes

public void layoutSwimLanes()


Copyright © 2005 Tensegrity Software GmbH. All Rights Reserved. Date of creation: 09.06.2006.