|
JAC project AOPSYS CEDRIC & LIP6 labs |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.objectweb.jac.aspects.gui.web.AbstractView | +--org.objectweb.jac.aspects.gui.web.AbstractCompositeView
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 | |
AbstractCompositeView()
|
Method Summary | |
protected void |
add(View component)
|
void |
addHorizontalStrut(int width)
Adds an horizontal separator in the composite in order to insert blanks between components. |
void |
addVerticalStrut(int height)
Adds a vertical separator in the composite in order to insert blanks between components. |
void |
addView(View view)
Adds a component view in the composite. |
void |
addView(View view,
Object extraInfo)
Adds a component view in the composite. |
void |
close()
Close this view. |
void |
genDescription(PrintWriter out)
|
void |
genHTML(PrintWriter out)
Generate the HTML code for the editor. |
void |
genMessage(PrintWriter out)
|
View |
getView(Object id)
Gets a component view from an id object. |
Collection |
getViews()
Gets all the component views in this composite. |
void |
removeAllViews()
Removes all the views in this composite. |
void |
removeView(View component)
Removes a component view in this composite. |
void |
setContext(DisplayContext context)
Sets the display context for this view. |
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.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 |
Methods inherited from interface org.objectweb.jac.aspects.gui.web.HTMLViewer |
setStyleSheet |
Constructor Detail |
public AbstractCompositeView()
Method Detail |
public void setContext(DisplayContext context)
View
The display context contains the factory that is used for this view.
setContext
in interface View
setContext
in class AbstractView
public void addHorizontalStrut(int width)
CompositeView
addHorizontalStrut
in interface CompositeView
public void addVerticalStrut(int height)
CompositeView
addVerticalStrut
in interface CompositeView
public void addView(View view, Object extraInfo)
CompositeView
addView
in interface CompositeView
view
- the component viewextraInfo
- some positionning infos on where the component
should be added in the compositepublic void addView(View view)
CompositeView
addView
in interface CompositeView
view
- the component viewpublic Collection getViews()
CompositeView
getViews
in interface CompositeView
public View getView(Object id)
CompositeView
getView
in interface CompositeView
public void removeView(View component)
CompositeView
removeView
in interface CompositeView
component
- the component view to removepublic void removeAllViews()
CompositeView
removeAllViews
in interface CompositeView
public void close()
View
close
in interface View
close
in class AbstractView
protected void add(View component)
public void genDescription(PrintWriter out)
public void genMessage(PrintWriter out)
public void genHTML(PrintWriter out) throws IOException
HTMLViewer
genHTML
in interface HTMLViewer
out
- the writer where to write the HTML code.
IOException
|
Contact JAC development team: Renaud Pawlak Lionel Seinturier Laurent Martelli |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |