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
Constructor | Description |
---|---|
Control() | Constructor. |
Methods
Method | Description |
---|---|
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:
Parameter | Type | Description |
---|---|---|
arg0 | java.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:
Parameter | Type | Description |
---|---|---|
value | BoolValue |
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 |
setPrompt(Str2Value value)
public void setPrompt(Str2Value value)
For the description of this property, please see getPrompt()
Parameters:
Parameter | Type | Description |
---|---|---|
value | Str2Value |
setX(DoubleValue value)
public void setX(DoubleValue value)
For the description of this property, please see getX()
Parameters:
Parameter | Type | Description |
---|---|---|
value | DoubleValue |
setXCon(ConType value)
public void setXCon(ConType value)
For the description of this property, please see getXCon()
Parameters:
Parameter | Type | Description |
---|---|---|
value | ConType |
setXDyn(DoubleValue value)
public void setXDyn(DoubleValue value)
For the description of this property, please see getXDyn()
Parameters:
Parameter | Type | Description |
---|---|---|
value | DoubleValue |
setY(DoubleValue value)
public void setY(DoubleValue value)
For the description of this property, please see getY()
Parameters:
Parameter | Type | Description |
---|---|---|
value | DoubleValue |
setYCon(ConType value)
public void setYCon(ConType value)
For the description of this property, please see getYCon()
Parameters:
Parameter | Type | Description |
---|---|---|
value | ConType |
setYDyn(DoubleValue value)
public void setYDyn(DoubleValue value)
For the description of this property, please see getYDyn()
Parameters:
Parameter | Type | Description |
---|---|---|
value | DoubleValue |
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 |