Class GraphLayoutConnection
- java.lang.Object
-
- org.processmining.framework.connections.impl.AbstractConnection
-
- org.processmining.models.connections.GraphLayoutConnection
-
- All Implemented Interfaces:
org.processmining.framework.connections.Connection,org.processmining.framework.connections.DynamicConnection
public class GraphLayoutConnection extends org.processmining.framework.connections.impl.AbstractConnection implements org.processmining.framework.connections.DynamicConnection
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceGraphLayoutConnection.Listener
-
Field Summary
Fields Modifier and Type Field Description protected static java.lang.StringCOLLAPSEDprotected static java.lang.StringEDGEPOINTSA Listof points, which are the inner points of the spline. static java.lang.StringGRAPHprotected static java.lang.StringMULTIGRAPHELEMENTSprotected static java.lang.StringPORTOFFSETprotected static java.lang.StringPOSITIONa get on size returns a java.awt.geom.Point2D.protected static java.lang.StringSIZEa get on size returns a java.awt.geom.Dimension2D.
-
Constructor Summary
Constructors Constructor Description GraphLayoutConnection(GraphLayoutConnection cloneFrom)GraphLayoutConnection(DirectedGraph<?,?> graph)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddListener(GraphLayoutConnection.Listener listener)booleancollapse(AttributeMapOwner owner)voidcollapse(Expandable expandable)voidcollapseAll()voidcollapseAll(java.util.Collection<Expandable> toCollapse)booleanexpand(AttributeMapOwner owner)voidexpand(Expandable expandable)voidexpandAll()voidexpandAll(java.util.Collection<Expandable> toExpand)java.util.List<java.awt.geom.Point2D>getEdgePoints(AttributeMapOwner owner)ExpansionListener.ListenerListgetExpansionListeners()DirectedGraph<?,?>getGraph()java.util.List<DirectedGraphElement>getMultiGraphElements(AttributeMapOwner owner)java.awt.geom.Point2DgetPortOffset(AttributeMapOwner owner)java.awt.geom.Point2DgetPosition(AttributeMapOwner owner)java.awt.DimensiongetSize(AttributeMapOwner owner)booleanisCollapsed(AttributeMapOwner owner)booleanisLayedOut()voidremoveListener(GraphLayoutConnection.Listener listener)booleansetEdgePoints(AttributeMapOwner owner, java.util.List<java.awt.geom.Point2D> edgepoints)voidsetLayedOut(boolean layedOut)booleansetMultiGraphElements(AttributeMapOwner owner, java.util.List<DirectedGraphElement> tempGraphElements)booleansetPortOffset(AttributeMapOwner owner, java.awt.geom.Point2D position)booleansetPosition(AttributeMapOwner owner, java.awt.geom.Point2D position)booleansetSize(AttributeMapOwner owner, java.awt.geom.Dimension2D size)voidupdatedAttributes(AttributeMapOwner... owners)
-
-
-
Field Detail
-
EDGEPOINTS
protected static final java.lang.String EDGEPOINTS
A Listof points, which are the inner points of the spline. - See Also:
- Constant Field Values
-
SIZE
protected static final java.lang.String SIZE
a get on size returns a java.awt.geom.Dimension2D.- See Also:
- Constant Field Values
-
POSITION
protected static final java.lang.String POSITION
a get on size returns a java.awt.geom.Point2D.- See Also:
- Constant Field Values
-
COLLAPSED
protected static final java.lang.String COLLAPSED
- See Also:
- Constant Field Values
-
PORTOFFSET
protected static final java.lang.String PORTOFFSET
- See Also:
- Constant Field Values
-
GRAPH
public static final java.lang.String GRAPH
- See Also:
- Constant Field Values
-
MULTIGRAPHELEMENTS
protected static final java.lang.String MULTIGRAPHELEMENTS
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
GraphLayoutConnection
public GraphLayoutConnection(GraphLayoutConnection cloneFrom)
-
GraphLayoutConnection
public GraphLayoutConnection(DirectedGraph<?,?> graph)
-
-
Method Detail
-
setEdgePoints
public boolean setEdgePoints(AttributeMapOwner owner, java.util.List<java.awt.geom.Point2D> edgepoints)
-
getEdgePoints
public java.util.List<java.awt.geom.Point2D> getEdgePoints(AttributeMapOwner owner)
-
setSize
public boolean setSize(AttributeMapOwner owner, java.awt.geom.Dimension2D size)
-
getSize
public java.awt.Dimension getSize(AttributeMapOwner owner)
-
setPosition
public boolean setPosition(AttributeMapOwner owner, java.awt.geom.Point2D position)
-
getPosition
public java.awt.geom.Point2D getPosition(AttributeMapOwner owner)
-
collapse
public boolean collapse(AttributeMapOwner owner)
-
expand
public boolean expand(AttributeMapOwner owner)
-
isCollapsed
public boolean isCollapsed(AttributeMapOwner owner)
-
setPortOffset
public boolean setPortOffset(AttributeMapOwner owner, java.awt.geom.Point2D position)
-
getPortOffset
public java.awt.geom.Point2D getPortOffset(AttributeMapOwner owner)
-
getGraph
public DirectedGraph<?,?> getGraph()
-
setLayedOut
public void setLayedOut(boolean layedOut)
-
isLayedOut
public boolean isLayedOut()
-
expandAll
public void expandAll()
-
collapseAll
public void collapseAll()
-
expandAll
public void expandAll(java.util.Collection<Expandable> toExpand)
-
collapseAll
public void collapseAll(java.util.Collection<Expandable> toCollapse)
-
expand
public void expand(Expandable expandable)
-
collapse
public void collapse(Expandable expandable)
-
getExpansionListeners
public ExpansionListener.ListenerList getExpansionListeners()
-
addListener
public void addListener(GraphLayoutConnection.Listener listener)
-
removeListener
public void removeListener(GraphLayoutConnection.Listener listener)
-
updatedAttributes
public void updatedAttributes(AttributeMapOwner... owners)
-
setMultiGraphElements
public boolean setMultiGraphElements(AttributeMapOwner owner, java.util.List<DirectedGraphElement> tempGraphElements)
-
getMultiGraphElements
public java.util.List<DirectedGraphElement> getMultiGraphElements(AttributeMapOwner owner)
-
-