java.lang.Object
jac.aspects.gui.web.AbstractView
jac.aspects.gui.web.AbstractCompositeView
jac.aspects.gui.web.EmbeddedMethod
- All Implemented Interfaces:
- jac.aspects.gui.CompositeView, HTMLViewer, MethodListener, jac.aspects.gui.MethodView, jac.aspects.gui.View
- public class EmbeddedMethod
- extends AbstractCompositeView
- implements jac.aspects.gui.MethodView, MethodListener
| Fields inherited from class jac.aspects.gui.web.AbstractView |
closed, column, context, description, factory, height, isCellViewer, javascript, label, message, parentView, row, style, styleSheet, table, type, viewBorder, width |
| Methods inherited from class jac.aspects.gui.web.AbstractCompositeView |
add, addHorizontalStrut, addVerticalStrut, addView, addView, close, genDescription, genMessage, getView, getViews, removeAllViews, removeView, setContext |
| Methods inherited from class jac.aspects.gui.web.AbstractView |
equals, eventURL, eventURL, genBody, genPage, getCloseBorder, getContext, getDescription, getFactory, getId, getId, getLabel, getMessage, getOpenBorder, getParameters, getParentView, getRootView, getStyle, getType, getViewBorder, iconElement, iconElement, isClosed, isInForm, setColumn, setDescription, setFactory, setFocus, setHeight, setLabel, setMessage, setParameters, setParentView, setRow, setStyle, setStyleSheet, setTable, setType, setViewBorder, setWidth, validate |
substance
java.lang.Object substance
method
jac.core.rtti.AbstractMethodItem method
icon
java.lang.String icon
parameters
jac.aspects.gui.EditorContainer parameters
EmbeddedMethod
public EmbeddedMethod(java.lang.Object substance,
jac.core.rtti.AbstractMethodItem method,
jac.aspects.gui.EditorContainer parameters)
setMethod
public void setMethod(jac.core.rtti.AbstractMethodItem method)
- Description copied from interface:
jac.aspects.gui.MethodView
- Sets the substance method.
- Specified by:
setMethod in interface jac.aspects.gui.MethodView
setIcon
public void setIcon(java.lang.String icon)
- Description copied from interface:
jac.aspects.gui.MethodView
- Sets the icon.
- Specified by:
setIcon in interface jac.aspects.gui.MethodView
getText
protected java.lang.String getText()
- Returns the text of the button
genHTML
public void genHTML(java.io.PrintWriter out)
throws java.io.IOException
- Description copied from interface:
HTMLViewer
- Generate the HTML code for the editor.
- Specified by:
genHTML in interface HTMLViewer- Overrides:
genHTML in class AbstractCompositeView
onInvoke
public void onInvoke()
- Description copied from interface:
MethodListener
- Called when a method is invoked.
- Specified by:
onInvoke in interface MethodListener