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 interface
GraphLayoutConnection.Listener
-
Field Summary
Fields Modifier and Type Field Description protected static java.lang.String
COLLAPSED
protected static java.lang.String
EDGEPOINTS
A Listof points, which are the inner points of the spline. static java.lang.String
GRAPH
protected static java.lang.String
MULTIGRAPHELEMENTS
protected static java.lang.String
PORTOFFSET
protected static java.lang.String
POSITION
a get on size returns a java.awt.geom.Point2D.protected static java.lang.String
SIZE
a 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 void
addListener(GraphLayoutConnection.Listener listener)
boolean
collapse(AttributeMapOwner owner)
void
collapse(Expandable expandable)
void
collapseAll()
void
collapseAll(java.util.Collection<Expandable> toCollapse)
boolean
expand(AttributeMapOwner owner)
void
expand(Expandable expandable)
void
expandAll()
void
expandAll(java.util.Collection<Expandable> toExpand)
java.util.List<java.awt.geom.Point2D>
getEdgePoints(AttributeMapOwner owner)
ExpansionListener.ListenerList
getExpansionListeners()
DirectedGraph<?,?>
getGraph()
java.util.List<DirectedGraphElement>
getMultiGraphElements(AttributeMapOwner owner)
java.awt.geom.Point2D
getPortOffset(AttributeMapOwner owner)
java.awt.geom.Point2D
getPosition(AttributeMapOwner owner)
java.awt.Dimension
getSize(AttributeMapOwner owner)
boolean
isCollapsed(AttributeMapOwner owner)
boolean
isLayedOut()
void
removeListener(GraphLayoutConnection.Listener listener)
boolean
setEdgePoints(AttributeMapOwner owner, java.util.List<java.awt.geom.Point2D> edgepoints)
void
setLayedOut(boolean layedOut)
boolean
setMultiGraphElements(AttributeMapOwner owner, java.util.List<DirectedGraphElement> tempGraphElements)
boolean
setPortOffset(AttributeMapOwner owner, java.awt.geom.Point2D position)
boolean
setPosition(AttributeMapOwner owner, java.awt.geom.Point2D position)
boolean
setSize(AttributeMapOwner owner, java.awt.geom.Dimension2D size)
void
updatedAttributes(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)
-
-