com.tensegrity.graph.view
Interface VisualSubgraphComposite

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

public interface VisualSubgraphComposite
extends VisualGraphObjectComposite, CompositeGroup

The VisualSubgraphComposite interface is a generalization of the CompositeGroup interface. This generalization is needed because in the context of the Graph API it is needed to gain access from the composite to the VisualSubgraph it is assigned to.

Version:
$Id: VisualSubgraphComposite.java,v 1.2 2003/10/24 13:15:49 MichaelKegel Exp $
Author:
MichaelKegel

Field Summary
 
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
 
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
 
Method Summary
 VisualSubgraphComposite deepCopyProxy(VisualSubgraph visualsubgraph)
          Returns a new instance of a VisualSubgraphComposite which is an exact copy of this instance except that it is assigned to another VisualSubgraph.
 VisualSubgraph getVisualSubgraph()
          Returns the VisualSubgraph the VisualSubgraphCompositeGroupProxy is assigned to.
 
Methods inherited from interface com.tensegrity.graph.view.VisualGraphObjectComposite
getVisualGraphObject
 
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.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.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
 

Method Detail

getVisualSubgraph

public VisualSubgraph getVisualSubgraph()
Returns the VisualSubgraph the VisualSubgraphCompositeGroupProxy is assigned to. This is necessary because in some situations it is needed to have access to the VisualSubgraph from the VisualSubgraphCompositeGroupProxy.

Returns:
the VisualSubgraph the VisualSubgraphCompositeGroupProxy is assigned to

deepCopyProxy

public VisualSubgraphComposite deepCopyProxy(VisualSubgraph visualsubgraph)
Returns a new instance of a VisualSubgraphComposite which is an exact copy of this instance except that it is assigned to another VisualSubgraph.

Parameters:
visualsubgraph - the VisualSubgraph instance the copied VisualSubgraphComposite should be assigned to.
Returns:
the deep copied instance of this VisualSubgraphComposite instance


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