com.aspose.diagram
Class Control

java.lang.Object
    extended by com.aspose.diagram.Control
All Implemented Interfaces:
java.lang.Cloneable

public class Control 
extends java.lang.Object

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.


Constructor Summary
Control()
           Constructor.
 
Property Getters/Setters Summary
BoolValuecanGlue()
voidsetCanGlue(BoolValue)
           Determines whether a control handle can be glued to other shapes.
intgetDel()
voidsetDel(int)
           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.
intgetID()
voidsetID(int)
           The unique ID of the element within its parent element.
intgetIX()
voidsetIX(int)
           The zero-based index of the element within its parent element.
java.lang.StringgetName()
voidsetName(java.lang.String)
           The name of the element.
java.lang.StringgetNameU()
voidsetNameU(java.lang.String)
           The universal name of the element.
Str2ValuegetPrompt()
voidsetPrompt(Str2Value)
           Prompt element specifies descriptive text that appears as a tool tip when the mouse pointer is paused over a shape's control handle.
DoubleValuegetX()
voidsetX(DoubleValue)
           The x-coordinate that indicates the location of a shape's control handle.
ConTypegetXCon()
voidsetXCon(ConType)
           Specifies the type of behavior the x-coordinate of the control handle exhibits after the handle is moved.
DoubleValuegetXDyn()
voidsetXDyn(DoubleValue)
           Specifies the x-coordinate for a control handle's anchor point in local coordinates. The anchor point is used for rubber-banding during dynamics.
DoubleValuegetY()
voidsetY(DoubleValue)
           The y-coordinate that indicates the location of a shape's control handle.
ConTypegetYCon()
voidsetYCon(ConType)
           Specifies the type of behavior the x-coordinate of the control handle exhibits after the handle is moved.
DoubleValuegetYDyn()
voidsetYDyn(DoubleValue)
           Specifies the y-coordinate for a control handle's anchor point in local coordinates. The anchor point is used for rubber-banding during dynamics.
 
Method Summary
java.lang.ObjectdeepClone()
           Creates deep copy of this instance.
 

Constructor Detail

Control

public Control()
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/setX

public DoubleValue getX() / public void setX(DoubleValue value)
The x-coordinate that indicates the location of a shape's control handle.

getY/setY

public DoubleValue getY() / public void setY(DoubleValue value)
The y-coordinate that indicates the location of a shape's control handle.

getXDyn/setXDyn

public DoubleValue getXDyn() / public void setXDyn(DoubleValue value)
Specifies the x-coordinate for a control handle's anchor point in local coordinates. The anchor point is used for rubber-banding during dynamics.

getYDyn/setYDyn

public DoubleValue getYDyn() / public void setYDyn(DoubleValue value)
Specifies the y-coordinate for a control handle's anchor point in local coordinates. The anchor point is used for rubber-banding during dynamics.

getXCon/setXCon

public ConType getXCon() / public void setXCon(ConType value)
Specifies the type of behavior the x-coordinate of the control handle exhibits after the handle is moved.

getYCon/setYCon

public ConType getYCon() / public void setYCon(ConType value)
Specifies the type of behavior the x-coordinate of the control handle exhibits after the handle is moved.

canGlue/setCanGlue

public BoolValue canGlue() / public void setCanGlue(BoolValue value)
Determines whether a control handle can be glued to other shapes.

getPrompt/setPrompt

public Str2Value getPrompt() / public void setPrompt(Str2Value value)
Prompt element specifies descriptive text that appears as a tool tip when the mouse pointer is paused over a shape's control handle.

Method Detail

deepClone

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

See Also:
          Aspose.Diagram Documentation - the home page for the Aspose.Diagram Product Documentation.
          Aspose.Diagram Support Forum - our preferred method of support.