KEY_ENABLED, KEY_ICON, KEY_LARGE_ICON, KEY_NAME, KEY_SELECTED, KEY_SHORT_DESCRIPTION
Constructor and Description |
---|
CallMethodAction() |
CallMethodAction(java.lang.Object delegate,
java.lang.String methodName) |
CallMethodAction(java.lang.String name,
java.lang.Object delegate,
java.lang.String methodName) |
Modifier and Type | Method and Description |
---|---|
protected void |
appendFields(java.lang.StringBuilder sb) |
void |
execute(com.simsilica.lemur.Button source)
Subclasses must override this to perform the action.
|
protected void |
findMethod() |
protected void |
findMethod(java.lang.Class type) |
java.lang.Object |
getDelegate() |
java.lang.String |
getMethodName() |
protected boolean |
isValidArgument(java.lang.Class type) |
protected boolean |
isValidArgumentList(java.lang.Class[] types) |
protected static java.lang.String |
methodToName(java.lang.String m) |
void |
setMethod(java.lang.Object object,
java.lang.String methodName) |
protected java.lang.Object |
toParm(com.simsilica.lemur.Button source,
java.lang.Class type) |
createReference, getIcon, getLargeIcon, getName, getObject, getValue, getValue, getVersion, incrementVersion, isEnabled, isSelected, putValue, setEnabled, setIcon, setLargeIcon, setName, setSelected, toString
public CallMethodAction()
public CallMethodAction(java.lang.String name, java.lang.Object delegate, java.lang.String methodName)
public CallMethodAction(java.lang.Object delegate, java.lang.String methodName)
protected static java.lang.String methodToName(java.lang.String m)
protected boolean isValidArgument(java.lang.Class type)
protected boolean isValidArgumentList(java.lang.Class[] types)
protected java.lang.Object toParm(com.simsilica.lemur.Button source, java.lang.Class type)
protected void findMethod()
protected void findMethod(java.lang.Class type)
public void setMethod(java.lang.Object object, java.lang.String methodName)
public java.lang.String getMethodName()
public java.lang.Object getDelegate()
public void execute(com.simsilica.lemur.Button source)
Action
protected void appendFields(java.lang.StringBuilder sb)
appendFields
in class Action