Package org.pathvisio.libgpml.model
Class GraphicalLine
java.lang.Object
org.pathvisio.libgpml.model.PathwayObject
org.pathvisio.libgpml.model.PathwayElement
org.pathvisio.libgpml.model.LineElement
org.pathvisio.libgpml.model.GraphicalLine
- All Implemented Interfaces:
java.lang.Cloneable
,ConnectorRestrictions
,Drawable
,Groupable
,Referenceable
,Referenceable.Annotatable
,Referenceable.Citable
,Referenceable.Evidenceable
public class GraphicalLine extends LineElement
This class stores information for GraphicalLine pathway element.
- Author:
- finterly
-
Nested Class Summary
Nested classes/interfaces inherited from class org.pathvisio.libgpml.model.LineElement
LineElement.Anchor, LineElement.GenericPoint, LineElement.LinePoint
Nested classes/interfaces inherited from class org.pathvisio.libgpml.model.PathwayElement
PathwayElement.AnnotationRef, PathwayElement.CitationRef, PathwayElement.Comment, PathwayElement.EvidenceRef, PathwayElement.InfoRef
Nested classes/interfaces inherited from interface org.pathvisio.libgpml.model.Referenceable
Referenceable.Annotatable, Referenceable.Citable, Referenceable.Evidenceable
-
Field Summary
Fields inherited from class org.pathvisio.libgpml.model.LineElement
shape
Fields inherited from class org.pathvisio.libgpml.model.PathwayObject
noFire, pathwayModel
Fields inherited from interface org.pathvisio.libgpml.model.connector.ConnectorRestrictions
SIDE_EAST, SIDE_NORTH, SIDE_SOUTH, SIDE_WEST
-
Constructor Summary
Constructors Constructor Description GraphicalLine()
Instantiates a GraphicalLine pathway element given all possible parameters. -
Method Summary
Modifier and Type Method Description CopyElement
copy()
Copies this pathway element.void
copyValuesFrom(DataNode.State src)
Copies values from the given source pathway element.ObjectType
getObjectType()
Returns the object type of this pathway element.Methods inherited from class org.pathvisio.libgpml.model.LineElement
addAnchor, addAnchor, addAnchor, adjustWayPointPreferences, copyValuesFrom, getAnchors, getBounds, getCenterX, getCenterY, getConnectorShape, getConnectorType, getEndArrowHeadType, getEndElementRef, getEndLinePoint, getEndLinePointX, getEndLinePointY, getEndPoint2D, getEndSide, getGroupRef, getHeight, getLeft, getLineColor, getLinePoints, getLineStyle, getLineWidth, getPoints2D, getRotatedBounds, getStartArrowHeadType, getStartElementRef, getStartLinePoint, getStartLinePointX, getStartLinePointY, getStartPoint2D, getStartSide, getStaticProperty, getStaticPropertyKeys, getTop, getWayPointPreferences, getWidth, getZOrder, hasAnchor, hasGroupRef, mayCross, removeAnchor, resetWayPointPreferences, setCenterX, setCenterY, setConnectorType, setEndArrowHeadType, setEndElementRef, setEndLinePoint, setEndLinePointX, setEndLinePointY, setGroupRefTo, setLeft, setLineColor, setLinePoints, setLineStyle, setLineWidth, setPathwayModelTo, setStartArrowHeadType, setStartElementRef, setStartLinePoint, setStartLinePointX, setStartLinePointY, setStaticProperty, setTop, setZOrder, terminate, toAbsoluteCoordinate, toRelativeCoordinate, unsetGroupRef
Methods inherited from class org.pathvisio.libgpml.model.PathwayElement
addAnnotation, addAnnotation, addAnnotation, addCitation, addCitation, addCitation, addComment, addComment, addEvidence, addEvidence, addEvidence, copyReferencesFrom, copyValuesFrom, findComment, getAnnotationRefs, getCitationRefs, getComments, getDynamicProperties, getDynamicProperty, getDynamicPropertyKeys, getEvidenceRefs, getPropertyEx, getPropertyKeys, hasAnnotationRef, hasCitationRef, hasEvidenceRef, removeAnnotationRef, removeAnnotationRefs, removeCitationRef, removeCitationRefs, removeComment, removeEvidenceRef, removeEvidenceRefs, setComments, setDynamicProperty, setPropertyEx
Methods inherited from class org.pathvisio.libgpml.model.PathwayObject
addListener, dontFireEvents, fireObjectModifiedEvent, getElementId, getListeners, getPathwayModel, hasPathwayModel, removeListener, setElementId, setGeneratedElementId, setPathwayModel, unsetPathwayModel
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.pathvisio.libgpml.model.Drawable
getPathwayModel
-
Constructor Details
-
GraphicalLine
public GraphicalLine()Instantiates a GraphicalLine pathway element given all possible parameters.
-
-
Method Details
-
getObjectType
Returns the object type of this pathway element.- Specified by:
getObjectType
in interfaceDrawable
- Specified by:
getObjectType
in classPathwayObject
- Returns:
- the object type.
-
copyValuesFrom
Copies values from the given source pathway element.- Parameters:
src
- the source pathway element.
-
copy
Copies this pathway element.- Specified by:
copy
in classPathwayElement
- Returns:
- the copyElement for the new pathway element and this source pathway element.
-