Act

Inheritance: java.lang.Object

public class Act

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

Constructors

ConstructorDescription
Act()Constructor.

Methods

MethodDescription
deepClone()Creates deep copy of this instance.
equals(Object arg0)
getAction()Contains the formula to execute when a user clicks the command name defined in the corresponding Menu element.
getBeginGroup()Indicates whether a separator is inserted into the menu above this action.
getButtonFace()It identifies the icon that appears next to an item on a shortcut menu.
getChecked()Determines whether a check mark is displayed beside the command name on a shape’s shortcut menu.
getClass()
getDel()A flag indicating whether the element has been deleted locally.
getDisabled()Disabled element determines whether the command name is displayed on the shortcut menu.
getFlyoutChild()Determines whether the action row is a child flyout menu of the last row above it that is not a flyout child.
getID()The unique ID of the element within its parent element.
getIX()The zero-based index of the element within its parent element.
getInvisible()Invisible element indicates whether the action is visible on the smart tag or shortcut menu.
getMenu()Specifies the name of the command that appears on the shortcut menu for a shape or page.
getName()The name of the element.
getNameU()The universal name of the element.
getReadOnly()Determines whether the action on a smart tag or shortcut menu is read-only.
getSortKey()It specifies a number that determines the order of actions that appear on a shortcut or smart tag menu.
getTagName()It contains the name of the smart tag that the action is associated with.
hashCode()
notify()
notifyAll()
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()
toString()
wait()
wait(long arg0)
wait(long arg0, int arg1)

Act()

public Act()

Constructor.

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

getAction()

public DoubleValue getAction()

Contains the formula to execute when a user clicks the command name defined in the corresponding Menu element.

Returns: DoubleValue

getBeginGroup()

public BoolValue getBeginGroup()

Indicates whether a separator is inserted into the menu above this action.

Returns: BoolValue

getButtonFace()

public Str2Value getButtonFace()

It identifies the icon that appears next to an item on a shortcut menu.

Returns: Str2Value

getChecked()

public BoolValue getChecked()

Determines whether a check mark is displayed beside the command name on a shape’s shortcut menu.

Returns: BoolValue

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

getDisabled()

public BoolValue getDisabled()

Disabled element determines whether the command name is displayed on the shortcut menu.

Returns: BoolValue

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.

Returns: BoolValue

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

getInvisible()

public BoolValue getInvisible()

Invisible element indicates whether the action is visible on the smart tag or shortcut menu.

Returns: BoolValue

getMenu()

public Str2Value getMenu()

Specifies the name of the command that appears on the shortcut menu for a shape or page.

Returns: Str2Value

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

getReadOnly()

public BoolValue getReadOnly()

Determines whether the action on a smart tag or shortcut menu is read-only.

Returns: BoolValue

getSortKey()

public Str2Value getSortKey()

It specifies a number that determines the order of actions that appear on a shortcut or smart tag menu.

Returns: Str2Value

getTagName()

public Str2Value getTagName()

It contains the name of the smart tag that the action is associated with.

Returns: Str2Value

hashCode()

public native int hashCode()

Returns: int

notify()

public final native void notify()

notifyAll()

public final native void notifyAll()

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

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