org.concord.util.script
Class HandlerDeclaration
java.lang.Object
|
+--org.concord.util.script.ScriptObject
|
+--org.concord.util.script.Statement
|
+--org.concord.util.script.MethodDeclaration
|
+--org.concord.util.script.HandlerDeclaration
- All Implemented Interfaces:
- java.beans.BeanInfo
- public class HandlerDeclaration
- extends MethodDeclaration
The HandlerDeclaration class holds the state asscociated with
the definition of a script event handler. A script method consists of
a list of formal parameters (variable names) and a statement.
The method declaration is not interpreted, it is used by the
method invocation expression to retrieve the statement and formal
parameters.
- Version:
- $Revision: 1.1.1.1 $ $Date: 2001/04/28 00:39:30 $
- Author:
- $Author: ed $
Fields inherited from class org.concord.util.script.ScriptObject |
beginColumn, beginLine, debug, deleted, doConversion, endColumn, endLine, name, nil, runtimeTable, script |
Fields inherited from interface java.beans.BeanInfo |
ICON_COLOR_16x16, ICON_COLOR_32x32, ICON_MONO_16x16, ICON_MONO_32x32 |
Methods inherited from class org.concord.util.script.ScriptObject |
findConstructor, findMethod, getAdditionalBeanInfo, getArrayValue, getAtom, getBeanDescriptor, getCurrentFrame, getDefaultEventIndex, getDefaultPropertyIndex, getEventSetDescriptors, getField, getFieldValue, getIcon, getMethodDescriptors, getName, getPropertyDescriptors, getScript, popFrame, pushFrame, setArrayValue, setCurrentFrame, setFieldValue, setName, setScript, setSourceBounds |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
className
protected java.lang.String className
handlerName
protected java.lang.String handlerName
prefix
protected java.lang.String prefix
handler
protected EventHandler handler
HandlerDeclaration
public HandlerDeclaration(Script script)
delete
public void delete()
- Overrides:
delete
in class MethodDeclaration
setClassName
public void setClassName(java.lang.String className)
setHandlerName
public void setHandlerName(java.lang.String handlerName)
getHandlerName
public java.lang.String getHandlerName()
getMethodName
public java.lang.String getMethodName(boolean addName)
getHandler
public EventHandler getHandler()