public class BeanShellAction extends EditAction
actions.xml and
browser.actions.xml files; see ActionSet for syntax
information.EditAction.Wrapperargs, name| Constructor and Description |
|---|
BeanShellAction(java.lang.String name,
java.lang.String code,
java.lang.String isSelected,
boolean noRepeat,
boolean noRecord,
boolean noRememberLast) |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getCode()
Returns the BeanShell code that will replay this action.
|
void |
invoke(View view)
Invokes the action.
|
boolean |
isSelected(java.awt.Component comp)
If this edit action is a toggle, returns if it is selected or not.
|
boolean |
noRecord()
Returns if this edit action should not be recorded.
|
boolean |
noRememberLast()
Returns if this edit action should not be remembered as the most
recently invoked action.
|
boolean |
noRepeat()
Returns if this edit action should not be repeated.
|
getLabel, getMouseOverText, isTogglegetName, invoke, setName, toStringpublic BeanShellAction(java.lang.String name,
java.lang.String code,
java.lang.String isSelected,
boolean noRepeat,
boolean noRecord,
boolean noRememberLast)
public void invoke(View view)
EditActioninvoke in class EditActionview - The viewpublic boolean isSelected(java.awt.Component comp)
EditActionisSelected in class EditActioncomp - The componentpublic boolean noRepeat()
EditActionnoRepeat in class EditActionpublic boolean noRecord()
EditActionnoRecord in class EditActionpublic boolean noRememberLast()
noRememberLast in class EditActionpublic java.lang.String getCode()
EditActiongetCode in class EditAction