com.tensegrity.graph.view
Interface VisualEdgeComposite

All Superinterfaces:
Attributable, AttributableOnSet, BaseComposite, BaseInteractable, CompositeLine, InteractableLine, VisualGraphObjectComposite

public interface VisualEdgeComposite
extends VisualGraphObjectComposite, CompositeLine

The VisualEdgeComposite interface is a generalization of the CompositeLine interface. This generalization is needed because in the context of the Graph API it is needed to gain access from the composite to the VisualEdge it is assigned to.

Version:
$Id: VisualEdgeComposite.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.CompositeLine
EVENT_MASK_CHANGE, EVENT_MASK_MANIPULATE, EVENT_MASK_MOVE, LABEL_POSITION_CENTER, LABEL_POSITION_CENTER_END, LABEL_POSITION_CENTER_START, LABEL_POSITION_FREE, LABEL_POSITION_HEAD, LABEL_POSITION_HEAD_END, LABEL_POSITION_HEAD_START, LABEL_POSITION_TAIL, LABEL_POSITION_TAIL_END, LABEL_POSITION_TAIL_START, LABEL_POSITION_UNKNOWN, SIGN_ANCHOR_BEGIN, SIGN_ANCHOR_CENTER, SIGN_ANCHOR_END, SIGN_ANCHOR_FREE, SIGN_PLACEMENT_CENTER, SIGN_PLACEMENT_FREE, SIGN_PLACEMENT_HEAD, SIGN_PLACEMENT_TAIL, TYPE_CURVED, TYPE_DYNAMIC, TYPE_ORTHOGONAL, TYPE_STRAIGHT
 
Method Summary
 VisualEdgeComposite deepCopyProxy(VisualEdge visualedge)
          Returns a new instance of a VisualEdgeComposite which is an exact copy of this instance except that it is assigned to another VisualEdge.
 VisualEdge getVisualEdge()
          Returns the VisualEdge the VisualEdgeComposite 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.CompositeLine
addCompositeLineListener, addCoordinate, addVetoableCompositeLineListener, applyState, deepCopy, getCoordinateAt, getCoordinateCount, getCoordinates, getEndingLocation, getLabel, getLabelLocation, getLabelPositioning, getLabelSize, getMarkerBegin, getMarkerEnd, getReferenceCoordinates, getSegmentTypes, getSign, getSignAnchor, getSignPlacement, getStartingLocation, getState, getStroke, getType, insertCoordinate, insertCoordinate, isEachPointInteractionAllowed, isSignVisible, layoutLabel, removeCompositeLineListener, removeCoordinate, removeCoordinates, removeVetoableCompositeLineListener, setCoordinateAt, setCoordinates, setEachPointInteractionAllowed, setEndingLocation, setLabel, setLabel, setLabelPositioning, setLabelVisible, setMarkerBegin, setMarkerEnd, setReferenceCoordinates, setSegmentTypes, setSign, setSignAnchor, setSignPlacement, setSignVisible, setStartingLocation, setStroke, setType, translatePoints
 
Methods inherited from interface com.tensegrity.graphics.interaction.InteractableLine
calculateCoordinates, getActionMode, isManipulable, setManipulable
 

Method Detail

getVisualEdge

public VisualEdge getVisualEdge()
Returns the VisualEdge the VisualEdgeComposite is assigned to. This is necessary because in some situations it is needed to have access to the VisualEdge from the VisualEdgeComposite.

Returns:
the VisualEdge the VisualEdgeComposite is assigned to

deepCopyProxy

public VisualEdgeComposite deepCopyProxy(VisualEdge visualedge)
Returns a new instance of a VisualEdgeComposite which is an exact copy of this instance except that it is assigned to another VisualEdge.

Parameters:
visualedge - the VisualEdge instance the new VisualEdgeComposite should be assigned to.
Returns:
the deep copied instance of this VisualEdgeComposite instance


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