Control

Inheritance: java.lang.Object

public class Control

Contains elements for the x- and y-coordinates of each control handle defined for a shape, and elements that specify the way the control handle should behave.

Constructors

ConstructorDescription
Control()Constructor.

Methods

MethodDescription
canGlue()Determines whether a control handle can be glued to other shapes.
deepClone()Creates deep copy of this instance.
equals(Object arg0)
getClass()
getDel()A flag indicating whether the element has been deleted locally.
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()Prompt element specifies descriptive text that appears as a tool tip when the mouse pointer is paused over a shape’s control handle.
getX()The x-coordinate that indicates the location of a shape’s control handle.
getXCon()Specifies the type of behavior the x-coordinate of the control handle exhibits after the handle is moved.
getXDyn()Specifies the x-coordinate for a control handle’s anchor point in local coordinates.
getY()The y-coordinate that indicates the location of a shape’s control handle.
getYCon()Specifies the type of behavior the x-coordinate of the control handle exhibits after the handle is moved.
getYDyn()Specifies the y-coordinate for a control handle’s anchor point in local coordinates.
hashCode()
notify()
notifyAll()
setCanGlue(BoolValue value)For the description of this property, please see canGlue()
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()
setPrompt(Str2Value value)For the description of this property, please see getPrompt()
setX(DoubleValue value)For the description of this property, please see getX()
setXCon(ConType value)For the description of this property, please see getXCon()
setXDyn(DoubleValue value)For the description of this property, please see getXDyn()
setY(DoubleValue value)For the description of this property, please see getY()
setYCon(ConType value)For the description of this property, please see getYCon()
setYDyn(DoubleValue value)For the description of this property, please see getYDyn()
toString()
wait()
wait(long arg0)
wait(long arg0, int arg1)

Control()

public Control()

Constructor.

canGlue()

public BoolValue canGlue()

Determines whether a control handle can be glued to other shapes.

Returns: BoolValue

deepClone()

public Object deepClone()

Creates deep copy of this instance.

Returns: java.lang.Object -

equals(Object arg0)

public boolean equals(Object arg0)

Parameters:

ParameterTypeDescription
arg0java.lang.Object

Returns: boolean

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

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()

Prompt element specifies descriptive text that appears as a tool tip when the mouse pointer is paused over a shape’s control handle.

Returns: Str2Value

getX()

public DoubleValue getX()

The x-coordinate that indicates the location of a shape’s control handle.

Returns: DoubleValue

getXCon()

public ConType getXCon()

Specifies the type of behavior the x-coordinate of the control handle exhibits after the handle is moved.

Returns: ConType

getXDyn()

public DoubleValue getXDyn()

Specifies the x-coordinate for a control handle’s anchor point in local coordinates. The anchor point is used for rubber-banding during dynamics.

Returns: DoubleValue

getY()

public DoubleValue getY()

The y-coordinate that indicates the location of a shape’s control handle.

Returns: DoubleValue

getYCon()

public ConType getYCon()

Specifies the type of behavior the x-coordinate of the control handle exhibits after the handle is moved.

Returns: ConType

getYDyn()

public DoubleValue getYDyn()

Specifies the y-coordinate for a control handle’s anchor point in local coordinates. The anchor point is used for rubber-banding during dynamics.

Returns: DoubleValue

hashCode()

public native int hashCode()

Returns: int

notify()

public final native void notify()

notifyAll()

public final native void notifyAll()

setCanGlue(BoolValue value)

public void setCanGlue(BoolValue value)

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

Parameters:

ParameterTypeDescription
valueBoolValue

setDel(int value)

public void setDel(int value)

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

Parameters:

ParameterTypeDescription
valueint

setID(int value)

public void setID(int value)

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

Parameters:

ParameterTypeDescription
valueint

setIX(int value)

public void setIX(int value)

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

Parameters:

ParameterTypeDescription
valueint

setName(String value)

public void setName(String value)

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

Parameters:

ParameterTypeDescription
valuejava.lang.String

setNameU(String value)

public void setNameU(String value)

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

Parameters:

ParameterTypeDescription
valuejava.lang.String

setPrompt(Str2Value value)

public void setPrompt(Str2Value value)

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

Parameters:

ParameterTypeDescription
valueStr2Value

setX(DoubleValue value)

public void setX(DoubleValue value)

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

Parameters:

ParameterTypeDescription
valueDoubleValue

setXCon(ConType value)

public void setXCon(ConType value)

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

Parameters:

ParameterTypeDescription
valueConType

setXDyn(DoubleValue value)

public void setXDyn(DoubleValue value)

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

Parameters:

ParameterTypeDescription
valueDoubleValue

setY(DoubleValue value)

public void setY(DoubleValue value)

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

Parameters:

ParameterTypeDescription
valueDoubleValue

setYCon(ConType value)

public void setYCon(ConType value)

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

Parameters:

ParameterTypeDescription
valueConType

setYDyn(DoubleValue value)

public void setYDyn(DoubleValue value)

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

Parameters:

ParameterTypeDescription
valueDoubleValue

toString()

public String toString()

Returns: java.lang.String

wait()

public final void wait()

wait(long arg0)

public final native void wait(long arg0)

Parameters:

ParameterTypeDescription
arg0long

wait(long arg0, int arg1)

public final void wait(long arg0, int arg1)

Parameters:

ParameterTypeDescription
arg0long
arg1int