Connection

Inheritance: java.lang.Object

public class Connection

Contains elements for one connection point defined for the shape.

Constructors

Constructor Description
Connection() Constructor.

Methods

Method Description
deepClone() Creates deep copy of this instance.
equals(Object arg0)
getAutoGen() Specifies if the connection point is generated automatically.
getClass()
getDel() A flag indicating whether the element has been deleted locally.
getDirX() Specifies the x-component for the required alignment vector of a matching connection point.
getDirY() Specifies the y-component for the required alignment vector of a matching connection point.
getID() The unique ID of the element within its parent element.
getIX() The zero-based index of the element within its parent element.
getName() The name of the element.
getNameU() The universal name of the element.
getPrompt() Contains varying prompt information, based on the element in which it is contained.
getType() Specifies various types, based on the element in which it is contained.
getX() Specifies an x-coordinate on a shape in local coordinates.
getY() Specifies a y-coordinate on a shape in local coordinates.
hashCode()
notify()
notifyAll()
setDel(int value) For the description of this property, please see getDel()
setID(int value) For the description of this property, please see getID()
setIX(int value) For the description of this property, please see getIX()
setName(String value) For the description of this property, please see getName()
setNameU(String value) For the description of this property, please see getNameU()
toString()
wait()
wait(long arg0)
wait(long arg0, int arg1)

Connection()

public Connection()

Constructor.

deepClone()

public Object deepClone()

Creates deep copy of this instance.

Returns: java.lang.Object -

equals(Object arg0)

public boolean equals(Object arg0)

Parameters:

Parameter Type Description
arg0 java.lang.Object

Returns: boolean

getAutoGen()

public BoolValue getAutoGen()

Specifies if the connection point is generated automatically. A value of 1 indicates that the connection point is generated automatically.

Returns: BoolValue

getClass()

public final native Class<?> getClass()

Returns: java.lang.Class

getDel()

public int getDel()

A flag indicating whether the element has been deleted locally. A value of 1 indicates that the element was deleted locally.

Returns: int

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.

Returns: DoubleValue

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.

Returns: DoubleValue

getID()

public int getID()

The unique ID of the element within its parent element.

Returns: int

getIX()

public int getIX()

The zero-based index of the element within its parent element.

Returns: int

getName()

public String getName()

The name of the element.

Returns: java.lang.String

getNameU()

public String getNameU()

The universal name of the element.

Returns: java.lang.String

getPrompt()

public Str2Value getPrompt()

Contains varying prompt information, based on the element in which it is contained.

Returns: Str2Value

getType()

public TypeConnection getType()

Specifies various types, based on the element in which it is contained.

Returns: TypeConnection

getX()

public DoubleValue getX()

Specifies an x-coordinate on a shape in local coordinates.

Returns: DoubleValue

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.

Returns: DoubleValue

hashCode()

public native int hashCode()

Returns: int

notify()

public final native void notify()

notifyAll()

public final native void notifyAll()

setDel(int value)

public void setDel(int value)

For the description of this property, please see getDel()

Parameters:

Parameter Type Description
value int

setID(int value)

public void setID(int value)

For the description of this property, please see getID()

Parameters:

Parameter Type Description
value int

setIX(int value)

public void setIX(int value)

For the description of this property, please see getIX()

Parameters:

Parameter Type Description
value int

setName(String value)

public void setName(String value)

For the description of this property, please see getName()

Parameters:

Parameter Type Description
value java.lang.String

setNameU(String value)

public void setNameU(String value)

For the description of this property, please see getNameU()

Parameters:

Parameter Type Description
value java.lang.String

toString()

public String toString()

Returns: java.lang.String

wait()

public final void wait()

wait(long arg0)

public final native void wait(long arg0)

Parameters:

Parameter Type Description
arg0 long

wait(long arg0, int arg1)

public final void wait(long arg0, int arg1)

Parameters:

Parameter Type Description
arg0 long
arg1 int