JAC project
AOPSYS
CEDRIC & LIP6 labs

org.objectweb.jac.aspects.gui.web
Class ObjectView

java.lang.Object
  |
  +--org.objectweb.jac.aspects.gui.web.AbstractView
        |
        +--org.objectweb.jac.aspects.gui.web.AbstractCompositeView
              |
              +--org.objectweb.jac.aspects.gui.web.Container
                    |
                    +--org.objectweb.jac.aspects.gui.web.ObjectView
All Implemented Interfaces:
CompositeView, DialogListener, HTMLViewer, View, ViewIdentity

public class ObjectView
extends Container
implements DialogListener


Field Summary
 
Fields inherited from class org.objectweb.jac.aspects.gui.web.AbstractView
column, context, description, height, isCellViewer, label, parentView, row, table, width
 
Constructor Summary
ObjectView()
           
 
Method Summary
 void genHTML(PrintWriter out)
          Generate the HTML code for the editor.
 void onCancel()
          Called when the Cancel button was pressed by the user
 void onOK(JacRequest request)
          Called when the OK button was pressed by the user
 void onValidate(JacRequest request)
          Validates inputs, but creates no HTML.
 void removeAllViews()
          Removes all the views in this composite.
 void removeView(View component)
          Removes a component view in this composite.
 void restoreContext()
          Restore context attributes stored at creation time
 
Methods inherited from class org.objectweb.jac.aspects.gui.web.AbstractCompositeView
add, addHorizontalStrut, addVerticalStrut, addView, addView, close, genDescription, genMessage, getView, getViews, setContext
 
Methods inherited from class org.objectweb.jac.aspects.gui.web.AbstractView
equals, eventURL, eventURL, genBody, genPage, genStyleSheets, getCloseBorder, getContext, getDescription, getFactory, getId, getId, getLabel, getMessage, getOpenBorder, getParameters, getParentView, getRootView, getStyle, getType, getViewBorder, hashCode, iconElement, iconElement, isClosed, isDescendantOf, isInForm, printAttributes, setAttribute, 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, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.objectweb.jac.aspects.gui.web.HTMLViewer
setStyleSheet
 
Methods inherited from interface org.objectweb.jac.aspects.gui.View
getContext, getDescription, getFactory, getLabel, getMessage, getParentView, getRootView, getStyle, getViewBorder, isClosed, isDescendantOf, setDescription, setFactory, setFocus, setHeight, setLabel, setMessage, setParentView, setStyle, setViewBorder, setWidth, validate
 
Methods inherited from interface org.objectweb.jac.aspects.gui.ViewIdentity
getParameters, getType, setParameters, setType
 

Constructor Detail

ObjectView

public ObjectView()
Method Detail

removeAllViews

public void removeAllViews()
Description copied from interface: CompositeView
Removes all the views in this composite.

Specified by:
removeAllViews in interface CompositeView
Overrides:
removeAllViews in class AbstractCompositeView

removeView

public void removeView(View component)
Description copied from interface: CompositeView
Removes a component view in this composite.

Specified by:
removeView in interface CompositeView
Overrides:
removeView in class AbstractCompositeView
Parameters:
component - the component view to remove

genHTML

public void genHTML(PrintWriter out)
             throws IOException
Description copied from interface: HTMLViewer
Generate the HTML code for the editor.

Specified by:
genHTML in interface HTMLViewer
Overrides:
genHTML in class Container
Parameters:
out - the writer where to write the HTML code.
IOException

onOK

public void onOK(JacRequest request)
Description copied from interface: DialogListener
Called when the OK button was pressed by the user

Specified by:
onOK in interface DialogListener
Parameters:
request - the servlet request

onValidate

public void onValidate(JacRequest request)
Description copied from interface: DialogListener
Validates inputs, but creates no HTML.

Specified by:
onValidate in interface DialogListener

onCancel

public void onCancel()
Description copied from interface: DialogListener
Called when the Cancel button was pressed by the user

Specified by:
onCancel in interface DialogListener

restoreContext

public void restoreContext()
Description copied from interface: DialogListener
Restore context attributes stored at creation time

Specified by:
restoreContext in interface DialogListener

Contact JAC development team:
Renaud Pawlak
Lionel Seinturier
Laurent Martelli