Package com.yworks.xml.graphml
Interface EdgeType
- All Superinterfaces:
org.apache.xmlbeans.XmlObject,org.apache.xmlbeans.XmlTokenSource
- All Known Subinterfaces:
ArcEdgeType,GenericEdgeType,PolyLineEdgeType,QuadCurveEdgeType
- All Known Implementing Classes:
ArcEdgeTypeImpl,EdgeTypeImpl,GenericEdgeTypeImpl,PolyLineEdgeTypeImpl,QuadCurveEdgeTypeImpl
public interface EdgeType
extends org.apache.xmlbeans.XmlObject
An XML Edge.type(@http://www.yworks.com/xml/graphml).
This is a complex type.
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic interfaceAn XML Arrows(@http://www.yworks.com/xml/graphml).static final classA factory class with static methods for creating instances of this type. -
Field Summary
FieldsFields inherited from interface org.apache.xmlbeans.XmlObject
EQUAL, GREATER_THAN, LESS_THAN, NOT_EQUAL -
Method Summary
Modifier and TypeMethodDescriptionAppends and returns a new empty "Arrows" elementAppends and returns a new empty value (as xml) as the last "EdgeLabel" elementAppends and returns a new empty "LineStyle" elementAppends and returns a new empty "Path" elementAppends and returns a new empty "SourcePort" elementAppends and returns a new empty "TargetPort" elementGets the "Arrows" elementGets array of all "EdgeLabel" elementsgetEdgeLabelArray(int i) Gets ith "EdgeLabel" elementGets the "LineStyle" elementgetPath()Gets the "Path" elementbooleanGets the "selected" attributeGets the "SourcePort" elementGets the "TargetPort" elementinsertNewEdgeLabel(int i) Inserts and returns a new empty value (as xml) as the ith "EdgeLabel" elementbooleanTrue if has "Arrows" elementbooleanTrue if has "LineStyle" elementbooleanTrue if has "Path" elementbooleanTrue if has "selected" attributebooleanTrue if has "SourcePort" elementbooleanTrue if has "TargetPort" elementvoidremoveEdgeLabel(int i) Removes the ith "EdgeLabel" elementvoidsetArrows(EdgeType.Arrows arrows) Sets the "Arrows" elementvoidsetEdgeLabelArray(int i, EdgeLabelType edgeLabel) Sets ith "EdgeLabel" elementvoidsetEdgeLabelArray(EdgeLabelType[] edgeLabelArray) Sets array of all "EdgeLabel" elementvoidsetLineStyle(LineStyleType lineStyle) Sets the "LineStyle" elementvoidSets the "Path" elementvoidsetSelected(boolean selected) Sets the "selected" attributevoidsetSourcePort(EdgePortType sourcePort) Sets the "SourcePort" elementvoidsetTargetPort(EdgePortType targetPort) Sets the "TargetPort" elementintReturns number of "EdgeLabel" elementvoidUnsets the "Arrows" elementvoidUnsets the "LineStyle" elementvoidUnsets the "Path" elementvoidUnsets the "selected" attributevoidUnsets the "SourcePort" elementvoidUnsets the "TargetPort" elementorg.apache.xmlbeans.XmlBooleanGets (as xml) the "selected" attributevoidxsetSelected(org.apache.xmlbeans.XmlBoolean selected) Sets (as xml) the "selected" attributeMethods inherited from interface org.apache.xmlbeans.XmlObject
changeType, compareTo, compareValue, copy, copy, execQuery, execQuery, isImmutable, isNil, schemaType, selectAttribute, selectAttribute, selectAttributes, selectChildren, selectChildren, selectChildren, selectPath, selectPath, set, setNil, substitute, toString, validate, validate, valueEquals, valueHashCodeMethods inherited from interface org.apache.xmlbeans.XmlTokenSource
documentProperties, dump, getDomNode, monitor, newCursor, newDomNode, newDomNode, newInputStream, newInputStream, newReader, newReader, newXMLInputStream, newXMLInputStream, newXMLStreamReader, newXMLStreamReader, save, save, save, save, save, save, save, save, xmlText, xmlText
-
Field Details
-
type
static final org.apache.xmlbeans.SchemaType type
-
-
Method Details
-
getPath
PathType getPath()Gets the "Path" element -
isSetPath
boolean isSetPath()True if has "Path" element -
setPath
Sets the "Path" element -
addNewPath
PathType addNewPath()Appends and returns a new empty "Path" element -
unsetPath
void unsetPath()Unsets the "Path" element -
getLineStyle
LineStyleType getLineStyle()Gets the "LineStyle" element -
isSetLineStyle
boolean isSetLineStyle()True if has "LineStyle" element -
setLineStyle
Sets the "LineStyle" element -
addNewLineStyle
LineStyleType addNewLineStyle()Appends and returns a new empty "LineStyle" element -
unsetLineStyle
void unsetLineStyle()Unsets the "LineStyle" element -
getArrows
EdgeType.Arrows getArrows()Gets the "Arrows" element -
isSetArrows
boolean isSetArrows()True if has "Arrows" element -
setArrows
Sets the "Arrows" element -
addNewArrows
EdgeType.Arrows addNewArrows()Appends and returns a new empty "Arrows" element -
unsetArrows
void unsetArrows()Unsets the "Arrows" element -
getEdgeLabelArray
EdgeLabelType[] getEdgeLabelArray()Gets array of all "EdgeLabel" elements -
getEdgeLabelArray
Gets ith "EdgeLabel" element -
sizeOfEdgeLabelArray
int sizeOfEdgeLabelArray()Returns number of "EdgeLabel" element -
setEdgeLabelArray
Sets array of all "EdgeLabel" element -
setEdgeLabelArray
Sets ith "EdgeLabel" element -
insertNewEdgeLabel
Inserts and returns a new empty value (as xml) as the ith "EdgeLabel" element -
addNewEdgeLabel
EdgeLabelType addNewEdgeLabel()Appends and returns a new empty value (as xml) as the last "EdgeLabel" element -
removeEdgeLabel
void removeEdgeLabel(int i) Removes the ith "EdgeLabel" element -
getSourcePort
EdgePortType getSourcePort()Gets the "SourcePort" element -
isSetSourcePort
boolean isSetSourcePort()True if has "SourcePort" element -
setSourcePort
Sets the "SourcePort" element -
addNewSourcePort
EdgePortType addNewSourcePort()Appends and returns a new empty "SourcePort" element -
unsetSourcePort
void unsetSourcePort()Unsets the "SourcePort" element -
getTargetPort
EdgePortType getTargetPort()Gets the "TargetPort" element -
isSetTargetPort
boolean isSetTargetPort()True if has "TargetPort" element -
setTargetPort
Sets the "TargetPort" element -
addNewTargetPort
EdgePortType addNewTargetPort()Appends and returns a new empty "TargetPort" element -
unsetTargetPort
void unsetTargetPort()Unsets the "TargetPort" element -
getSelected
boolean getSelected()Gets the "selected" attribute -
xgetSelected
org.apache.xmlbeans.XmlBoolean xgetSelected()Gets (as xml) the "selected" attribute -
isSetSelected
boolean isSetSelected()True if has "selected" attribute -
setSelected
void setSelected(boolean selected) Sets the "selected" attribute -
xsetSelected
void xsetSelected(org.apache.xmlbeans.XmlBoolean selected) Sets (as xml) the "selected" attribute -
unsetSelected
void unsetSelected()Unsets the "selected" attribute
-