com.aspose.diagram

  • java.lang.Object
    • com.aspose.diagram.Act
  • All Implemented Interfaces:
    java.lang.Cloneable
    public class Act 
    extends java.lang.Object

Defines custom command names that appear on an object's shortcut menu and specifies the actions that the commands take.

Constructor Summary
Act()
Constructor.
 
Property Getters/Setters Summary
DoubleValuegetAction()
Contains the formula to execute when a user clicks the command name defined in the corresponding Menu element.
BoolValuegetBeginGroup()
Indicates whether a separator is inserted into the menu above this action.
Str2ValuegetButtonFace()
It identifies the icon that appears next to an item on a shortcut menu.
BoolValuegetChecked()
Determines whether a check mark is displayed beside the command name on a shape's shortcut menu.
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.
BoolValuegetDisabled()
Disabled element determines whether the command name is displayed on the shortcut menu.
BoolValuegetFlyoutChild()
Determines whether the action row is a child flyout menu of the last row above it that is not a flyout child.
intgetID()
void
setID(intvalue)
           The unique ID of the element within its parent element.
BoolValuegetInvisible()
Invisible element indicates whether the action is visible on the smart tag or shortcut menu.
intgetIX()
void
setIX(intvalue)
           The zero-based index of the element within its parent element.
Str2ValuegetMenu()
Specifies the name of the command that appears on the shortcut menu for a shape or page.
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.
BoolValuegetReadOnly()
Determines whether the action on a smart tag or shortcut menu is read-only.
Str2ValuegetSortKey()
It specifies a number that determines the order of actions that appear on a shortcut or smart tag menu.
Str2ValuegetTagName()
It contains the name of the smart tag that the action is associated with.
 
Method Summary
java.lang.ObjectdeepClone()
Creates deep copy of this instance.
 

    • Constructor Detail

      • Act

        public Act()
        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.
      • getMenu

        public Str2Value getMenu()
        
        Specifies the name of the command that appears on the shortcut menu for a shape or page.
      • getAction

        public DoubleValue getAction()
        
        Contains the formula to execute when a user clicks the command name defined in the corresponding Menu element.
      • getChecked

        public BoolValue getChecked()
        
        Determines whether a check mark is displayed beside the command name on a shape's shortcut menu.
      • getDisabled

        public BoolValue getDisabled()
        
        Disabled element determines whether the command name is displayed on the shortcut menu.
      • getReadOnly

        public BoolValue getReadOnly()
        
        Determines whether the action on a smart tag or shortcut menu is read-only.
      • getInvisible

        public BoolValue getInvisible()
        
        Invisible element indicates whether the action is visible on the smart tag or shortcut menu.
      • getBeginGroup

        public BoolValue getBeginGroup()
        
        Indicates whether a separator is inserted into the menu above this action.
      • getFlyoutChild

        public BoolValue getFlyoutChild()
        
        Determines whether the action row is a child flyout menu of the last row above it that is not a flyout child.
      • getTagName

        public Str2Value getTagName()
        
        It contains the name of the smart tag that the action is associated with.
      • getButtonFace

        public Str2Value getButtonFace()
        
        It identifies the icon that appears next to an item on a shortcut menu.
      • getSortKey

        public Str2Value getSortKey()
        
        It specifies a number that determines the order of actions that appear on a shortcut or smart tag menu.
    • Method Detail

      • deepClone

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