com.aspose.diagram

  • java.lang.Object
    • com.aspose.diagram.Control
  • All Implemented Interfaces:
    com.aspose.diagram.b.a.h, 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()
void
           Determines whether a control handle can be glued to other shapes.
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.
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()
void
           Prompt element specifies descriptive text that appears as a tool tip when the mouse pointer is paused over a shape's control handle.
DoubleValuegetX()
void
           The x-coordinate that indicates the location of a shape's control handle.
ConTypegetXCon()
void
           Specifies the type of behavior the x-coordinate of the control handle exhibits after the handle is moved.
DoubleValuegetXDyn()
void
           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()
void
           The y-coordinate that indicates the location of a shape's control handle.
ConTypegetYCon()
void
           Specifies the type of behavior the x-coordinate of the control handle exhibits after the handle is moved.
DoubleValuegetYDyn()
void
           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: