JAC project
AOPSYS
CEDRIC & LIP6 labs

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

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

public class SingleSlotContainer
extends AbstractCompositeView
implements HTMLViewer

This composite viewonly show the last view that was added to it. So it will never contain more than of view.


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
SingleSlotContainer()
           
 
Method Summary
 void addView(View view, Object extraInfo)
          Adds a component view in the composite.
 
Methods inherited from class org.objectweb.jac.aspects.gui.web.AbstractCompositeView
add, addHorizontalStrut, addVerticalStrut, addView, close, genDescription, genHTML, genMessage, getView, getViews, removeAllViews, removeView, 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
genHTML, 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

SingleSlotContainer

public SingleSlotContainer()
Method Detail

addView

public void addView(View view,
                    Object extraInfo)
Description copied from interface: CompositeView
Adds a component view in the composite.

Specified by:
addView in interface CompositeView
Overrides:
addView in class AbstractCompositeView
Parameters:
view - the component view
extraInfo - some positionning infos on where the component should be added in the composite

Contact JAC development team:
Renaud Pawlak
Lionel Seinturier
Laurent Martelli