public class CommandEvent
extends java.util.EventObject
Constructor and Description |
---|
CommandEvent(CommandProcessor processor,
java.lang.Runnable command,
Project project,
UndoConfirmationPolicy undoConfirmationPolicy) |
CommandEvent(CommandProcessor processor,
java.lang.Runnable command,
java.lang.String commandName,
java.lang.Object commandGroupId,
Project project,
UndoConfirmationPolicy undoConfirmationPolicy) |
CommandEvent(CommandProcessor processor,
java.lang.Runnable command,
java.lang.String commandName,
java.lang.Object commandGroupId,
Project project,
UndoConfirmationPolicy undoConfirmationPolicy,
boolean shouldRecordActionForActiveDocument,
Document document) |
Modifier and Type | Method and Description |
---|---|
java.lang.Runnable |
getCommand() |
java.lang.Object |
getCommandGroupId() |
java.lang.String |
getCommandName() |
CommandProcessor |
getCommandProcessor() |
Document |
getDocument() |
Project |
getProject() |
UndoConfirmationPolicy |
getUndoConfirmationPolicy() |
boolean |
shouldRecordActionForOriginalDocument() |
public CommandEvent(CommandProcessor processor, java.lang.Runnable command, Project project, UndoConfirmationPolicy undoConfirmationPolicy)
public CommandEvent(CommandProcessor processor, java.lang.Runnable command, java.lang.String commandName, java.lang.Object commandGroupId, Project project, UndoConfirmationPolicy undoConfirmationPolicy)
public CommandEvent(CommandProcessor processor, java.lang.Runnable command, java.lang.String commandName, java.lang.Object commandGroupId, Project project, UndoConfirmationPolicy undoConfirmationPolicy, boolean shouldRecordActionForActiveDocument, Document document)
public CommandProcessor getCommandProcessor()
public java.lang.Runnable getCommand()
public Project getProject()
public java.lang.String getCommandName()
public java.lang.Object getCommandGroupId()
public UndoConfirmationPolicy getUndoConfirmationPolicy()
public boolean shouldRecordActionForOriginalDocument()
public Document getDocument()