org.objectweb.jac.aspects.gui.web
Class Method
java.lang.Object
org.objectweb.jac.aspects.gui.web.AbstractView
org.objectweb.jac.aspects.gui.web.Method
- All Implemented Interfaces:
- HTMLViewer, MethodListener, MethodView, View, ViewIdentity
- public class Method
- extends AbstractView
- implements MethodView, HTMLViewer, MethodListener
Methods inherited from class org.objectweb.jac.aspects.gui.web.AbstractView |
close, closeForm, equalsView, equalsView, eventURL, eventURL, genBody, genEventAndActionButton, genPage, genStyleSheets, getBaseURL, getCloseBorder, getContext, getDescription, getFactory, getId, getId, getLabel, getMessage, getOpenBorder, getParameters, getParentView, getRootView, getStyle, getType, getViewBorder, iconElement, iconElement, isClosed, isDescendantOf, isInForm, openForm, printAttributes, setAttribute, setColumn, setContext, setDescription, setFactory, setFocus, setLabel, setMessage, setParameters, setParentView, setRow, setSize, setStyle, setStyleSheet, setTable, setType, setViewBorder, showButton, showFormButtons, showFormButtons |
Methods inherited from interface org.objectweb.jac.aspects.gui.View |
close, getContext, getDescription, getFactory, getLabel, getMessage, getParentView, getRootView, getStyle, getViewBorder, isClosed, isDescendantOf, setContext, setDescription, setFactory, setFocus, setLabel, setMessage, setParentView, setSize, setStyle, setViewBorder |
substance
protected Object substance
method
protected AbstractMethodItem method
icon
protected String icon
onlyIcon
protected boolean onlyIcon
Method
public Method(Object substance,
AbstractMethodItem method)
setMethod
public void setMethod(AbstractMethodItem method)
- Description copied from interface:
MethodView
- Sets the substance method.
- Specified by:
setMethod
in interface MethodView
setIcon
public void setIcon(String icon)
- Description copied from interface:
MethodView
- Sets the icon.
- Specified by:
setIcon
in interface MethodView
setOnlyIcon
public void setOnlyIcon(boolean onlyIcon)
- Specified by:
setOnlyIcon
in interface MethodView
getText
protected String getText()
- Returns the text of the button
genHTML
public void genHTML(PrintWriter out)
- Description copied from interface:
HTMLViewer
- Generate the HTML code for the editor.
- Specified by:
genHTML
in interface HTMLViewer
- Parameters:
out
- the writer where to write the HTML code.
onInvoke
public void onInvoke()
- Description copied from interface:
MethodListener
- Called when a method is invoked.
- Specified by:
onInvoke
in interface MethodListener
toString
public String toString()