java.lang.Object
com.aspose.diagram.EventItem
public class EventItem
- extends java.lang.Object
Encapsulates an event code. An EventItem element can trigger two kinds of actions: it can run an add-on, or it can send a notification of the event to the calling program.
|
Property Getters/Setters Summary |
int | getAction() | |
void | setAction(int) | |
|
Specifies the action code of the parent EventItem element.For an EventItem element to be saved in a DatadiagramML file, it must be persistable. Currently, the only valid action code a persistable event can have is 1 (ONEVENT_ACT_RUNADDON).
|
int | getEnabled() | |
void | setEnabled(int) | |
|
Represents a flag indicating if the event is enabled or disabled.
The value of the property is BOOL integer constant. |
int | getEventCode() | |
void | setEventCode(int) | |
|
A code indicating the event that triggers the add-on. For more information on event codes, see Event Codes in the Microsoft Visio 2007 Automation Reference.
|
int | getID() | |
void | setID(int) | |
|
The ID of the event.
|
java.lang.String | getTarget() | |
void | setTarget(java.lang.String) | |
|
Specifies the target of an event.
|
java.lang.String | getTargetArgs() | |
void | setTargetArgs(java.lang.String) | |
|
Specifies a string containing arguments to be sent to the target of an event.
|
EventItem
public EventItem()
-
Constructor.
|
Property Getters/Setters Detail |
getID/setID | |
public int getID() / public void setID(int value)
|
-
The ID of the event.
getAction/setAction | |
public int getAction() / public void setAction(int value)
|
-
Specifies the action code of the parent EventItem element.For an EventItem element to be saved in a DatadiagramML file, it must be persistable. Currently, the only valid action code a persistable event can have is 1 (ONEVENT_ACT_RUNADDON).
getEventCode/setEventCode | |
public int getEventCode() / public void setEventCode(int value)
|
-
A code indicating the event that triggers the add-on. For more information on event codes, see Event Codes in the Microsoft Visio 2007 Automation Reference.
getTarget/setTarget | |
public java.lang.String getTarget() / public void setTarget(java.lang.String value)
|
-
Specifies the target of an event.
getTargetArgs/setTargetArgs | |
public java.lang.String getTargetArgs() / public void setTargetArgs(java.lang.String value)
|
-
Specifies a string containing arguments to be sent to the target of an event.
getEnabled/setEnabled | |
public int getEnabled() / public void setEnabled(int value)
|
-
Represents a flag indicating if the event is enabled or disabled.
The value of the property is BOOL integer constant.
See Also:
Aspose.Diagram Documentation - the home page for the Aspose.Diagram Product Documentation.
Aspose.Diagram Support Forum - our preferred method of support.