Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

jac.aspects.gui.web
Class EmbeddedMethod  view EmbeddedMethod download EmbeddedMethod.java

java.lang.Object
  extended byjac.aspects.gui.web.AbstractView
      extended byjac.aspects.gui.web.AbstractCompositeView
          extended byjac.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


Field Summary
(package private)  java.lang.String icon
           
(package private)  jac.core.rtti.AbstractMethodItem method
           
(package private)  jac.aspects.gui.EditorContainer parameters
           
(package private)  java.lang.Object substance
           
 
Fields inherited from class jac.aspects.gui.web.AbstractCompositeView
components
 
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
 
Constructor Summary
EmbeddedMethod(java.lang.Object substance, jac.core.rtti.AbstractMethodItem method, jac.aspects.gui.EditorContainer parameters)
           
 
Method Summary
 void genHTML(java.io.PrintWriter out)
          Generate the HTML code for the editor.
protected  java.lang.String getText()
          Returns the text of the button
 void onInvoke()
          Called when a method is invoked.
 void setIcon(java.lang.String icon)
          Sets the icon.
 void setMethod(jac.core.rtti.AbstractMethodItem method)
          Sets the substance method.
 
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
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface jac.aspects.gui.View
close, getParentView, getSubstance, refreshView, refreshViewItem, setFocus
 
Methods inherited from interface jac.aspects.gui.web.HTMLViewer
setStyleSheet
 

Field Detail

substance

java.lang.Object substance

method

jac.core.rtti.AbstractMethodItem method

icon

java.lang.String icon

parameters

jac.aspects.gui.EditorContainer parameters
Constructor Detail

EmbeddedMethod

public EmbeddedMethod(java.lang.Object substance,
                      jac.core.rtti.AbstractMethodItem method,
                      jac.aspects.gui.EditorContainer parameters)
Method Detail

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