public class ActionMacro
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static interface |
ActionMacro.ActionDescriptor |
static class |
ActionMacro.IdActionDescriptor |
static class |
ActionMacro.ShortcutActionDesciption |
static class |
ActionMacro.TypedDescriptor |
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
MACRO_ACTION_PREFIX |
Constructor and Description |
---|
ActionMacro() |
ActionMacro(java.lang.String name) |
Modifier and Type | Method and Description |
---|---|
void |
appendAction(java.lang.String actionId) |
void |
appendKeytyped(char c,
int keyCode,
int modifiers) |
void |
appendShortcut(java.lang.String text) |
protected java.lang.Object |
clone() |
void |
deleteAction(int idx) |
boolean |
equals(java.lang.Object o) |
java.lang.String |
getActionId() |
ActionMacro.ActionDescriptor[] |
getActions() |
java.lang.String |
getName() |
int |
hashCode() |
void |
readExternal(Element macro) |
void |
setName(java.lang.String name) |
java.lang.String |
toString() |
static java.lang.String |
unparseKeyCodes(Couple<java.util.List<java.lang.Integer>> keyCodes) |
void |
writeExternal(Element macro) |
public static final java.lang.String MACRO_ACTION_PREFIX
public ActionMacro()
public ActionMacro(java.lang.String name)
public java.lang.String getName()
public void setName(java.lang.String name)
public ActionMacro.ActionDescriptor[] getActions()
public void readExternal(Element macro)
public static java.lang.String unparseKeyCodes(Couple<java.util.List<java.lang.Integer>> keyCodes)
public void writeExternal(Element macro)
public java.lang.String toString()
toString
in class java.lang.Object
protected java.lang.Object clone()
clone
in class java.lang.Object
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public void deleteAction(int idx)
public void appendAction(java.lang.String actionId)
public void appendShortcut(java.lang.String text)
public void appendKeytyped(char c, int keyCode, int modifiers)
public java.lang.String getActionId()