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

java.lang.Object
  extended byorg.objectweb.jac.aspects.gui.web.AbstractView
      extended byorg.objectweb.jac.aspects.gui.web.AbstractPage
All Implemented Interfaces:
HTMLViewer, View, ViewIdentity, WindowView
Direct Known Subclasses:
Dialog, Page

public abstract class AbstractPage
extends AbstractView
implements WindowView, HTMLViewer

An HTML page containing a View


Field Summary
protected  View view
           
 
Fields inherited from class org.objectweb.jac.aspects.gui.web.AbstractView
column, context, description, height, isCellViewer, label, parentView, row, table, width
 
Constructor Summary
AbstractPage(View view, boolean newWindow)
           
AbstractPage(ViewFactory factory, DisplayContext context, View view, boolean newWindow)
           
 
Method Summary
 void close(boolean validate)
          Close this view.
 void genHTML(PrintWriter out)
          Generate the HTML code for the editor.
 View getContentView()
          Returns the content view of the window
 
Methods inherited from class org.objectweb.jac.aspects.gui.web.AbstractView
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 class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.objectweb.jac.aspects.gui.View
getContext, getDescription, getFactory, getLabel, getMessage, getParentView, getRootView, getStyle, getViewBorder, isClosed, isDescendantOf, setContext, setDescription, setFactory, setFocus, setLabel, setMessage, setParentView, setSize, setStyle, setViewBorder
 
Methods inherited from interface org.objectweb.jac.aspects.gui.ViewIdentity
equalsView, equalsView, getParameters, getType, setParameters, setType
 
Methods inherited from interface org.objectweb.jac.aspects.gui.web.HTMLViewer
setStyleSheet
 

Field Detail

view

protected View view
Constructor Detail

AbstractPage

public AbstractPage(ViewFactory factory,
                    DisplayContext context,
                    View view,
                    boolean newWindow)

AbstractPage

public AbstractPage(View view,
                    boolean newWindow)
Method Detail

close

public void close(boolean validate)
Description copied from interface: View
Close this view. This should be upcalled when the view is closed in order to free resources or close other dependant views.

Specified by:
close in interface View
Overrides:
close in class AbstractView

getContentView

public View getContentView()
Description copied from interface: WindowView
Returns the content view of the window

Specified by:
getContentView in interface WindowView

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
Parameters:
out - the writer where to write the HTML code.
Throws:
IOException