com.aspose.diagram

Class Connection

  • java.lang.Object
    • com.aspose.diagram.Connection
public class Connection 
extends java.lang.Object

Contains elements for one connection point defined for the shape.

Constructor Summary
Connection()
Constructor.
 
Property Getters/Setters Summary
BoolValuegetAutoGen()
Specifies if the connection point is generated automatically. A value of 1 indicates that the connection point is generated automatically.
intgetDel()
void
setDel(intvalue)
           A flag indicating whether the element has been deleted locally. A value of 1 indicates that the element was deleted locally. The value of the property is BOOL integer constant.
DoubleValuegetDirX()
Specifies the x-component for the required alignment vector of a matching connection point. The DirX element is also used to orient the attached leg of a dynamic connector.
DoubleValuegetDirY()
Specifies the y-component for the required alignment vector of a matching connection point. The DirY element is also used to orient the attached leg of a dynamic connector.
intgetID()
void
setID(intvalue)
           The unique ID of the element within its parent element.
intgetIX()
void
setIX(intvalue)
           The zero-based index of the element within its parent element.
java.lang.StringgetName()
void
setName(java.lang.Stringvalue)
           The name of the element.
java.lang.StringgetNameU()
void
setNameU(java.lang.Stringvalue)
           The universal name of the element.
Str2ValuegetPrompt()
Contains varying prompt information, based on the element in which it is contained.
TypeConnectiongetType()
Specifies various types, based on the element in which it is contained.
DoubleValuegetX()
Specifies an x-coordinate on a shape in local coordinates.
DoubleValuegetY()
Specifies a y-coordinate on a shape in local coordinates. Local coordinates are those whose frame of reference is the shape, instead of the page.
 
Method Summary
java.lang.ObjectdeepClone()
Creates deep copy of this instance.
 

    • Constructor Detail

      • Connection

        public Connection()
        Constructor.
    • Property Getters/Setters Detail

      • getName/setName

        public java.lang.String getName() / public void setName(java.lang.String value)
        
        The name of the element.
      • getNameU/setNameU

        public java.lang.String getNameU() / public void setNameU(java.lang.String value)
        
        The universal name of the element.
      • getID/setID

        public int getID() / public void setID(int value)
        
        The unique ID of the element within its parent element.
      • getIX/setIX

        public int getIX() / public void setIX(int value)
        
        The zero-based index of the element within its parent element.
      • getDel/setDel

        public int getDel() / public void setDel(int value)
        
        A flag indicating whether the element has been deleted locally. A value of 1 indicates that the element was deleted locally. The value of the property is BOOL integer constant.
      • getX

        public DoubleValue getX()
        
        Specifies an x-coordinate on a shape in local coordinates.
      • getY

        public DoubleValue getY()
        
        Specifies a y-coordinate on a shape in local coordinates. Local coordinates are those whose frame of reference is the shape, instead of the page.
      • getDirX

        public DoubleValue getDirX()
        
        Specifies the x-component for the required alignment vector of a matching connection point. The DirX element is also used to orient the attached leg of a dynamic connector.
      • getDirY

        public DoubleValue getDirY()
        
        Specifies the y-component for the required alignment vector of a matching connection point. The DirY element is also used to orient the attached leg of a dynamic connector.
      • getType

        public TypeConnection getType()
        
        Specifies various types, based on the element in which it is contained.
      • getAutoGen

        public BoolValue getAutoGen()
        
        Specifies if the connection point is generated automatically. A value of 1 indicates that the connection point is generated automatically.
      • getPrompt

        public Str2Value getPrompt()
        
        Contains varying prompt information, based on the element in which it is contained.
    • Method Detail

      • deepClone

        public java.lang.Object deepClone()
                        throws java.lang.Exception
        Creates deep copy of this instance.
        Returns: