|
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 | +--org.objectweb.jac.aspects.gui.web.Customized
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 | |
Customized(ViewFactory factory,
DisplayContext context,
CustomizedGUI customized,
Map panels)
Builds a customized view. |
Method Summary | |
void |
addView(View view)
Adds a component view in the composite. |
void |
addView(View view,
Object extraInfos)
Adds a component view in the composite. |
void |
close()
Close this view. |
protected void |
genBody(PrintWriter out)
Override this method to generate the body of an HTML page. |
void |
genHTML(PrintWriter out)
Generate the HTML code for the editor. |
MenuView |
getBottomMenuBar()
|
CustomizedGUI |
getCustomizedGUI()
Returns the customized GUI, i.e. |
MenuView |
getLeftMenuBar()
|
PanelView |
getPanelView()
Returns the content pane of the customized, i.e. |
MenuView |
getRightMenuBar()
|
MenuView |
getTopMenuBar()
|
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 |
requestFocus()
|
void |
setContext(DisplayContext context)
Sets the display context for this view. |
void |
setMenuBar(MenuView menuBar,
String position)
Set a menu bar to the customized. |
void |
setStatusBar(StatusView statusBar,
String position)
Set a status bar to the customized. |
void |
setToolBar(MenuView toolBar)
Set a tool bar to the customized. |
void |
showStatus(String message)
Show a message on the customized's status bar. |
Methods inherited from class org.objectweb.jac.aspects.gui.web.AbstractCompositeView |
add, addHorizontalStrut, addVerticalStrut, genDescription, genMessage, removeView |
Methods inherited from class org.objectweb.jac.aspects.gui.web.AbstractView |
equals, eventURL, eventURL, 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.CompositeView |
addHorizontalStrut, addVerticalStrut, removeView |
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 Customized(ViewFactory factory, DisplayContext context, CustomizedGUI customized, Map panels)
factory
- the view factorycontext
- the display contextcustomized
- the customized GUI to build a view ofpanels
- if not null, overrides the content of the view
(panelID -> PanelContent)Method Detail |
public void close()
View
close
in interface View
close
in class AbstractCompositeView
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 AbstractCompositeView
public void addView(View view, Object extraInfos)
CompositeView
addView
in interface CompositeView
addView
in class AbstractCompositeView
view
- the component viewextraInfos
- some positionning infos on where the component
should be added in the compositepublic void addView(View view)
CompositeView
addView
in interface CompositeView
addView
in class AbstractCompositeView
view
- the component viewpublic Collection getViews()
CompositeView
getViews
in interface CompositeView
getViews
in class AbstractCompositeView
public View getView(Object id)
CompositeView
getView
in interface CompositeView
getView
in class AbstractCompositeView
public void removeAllViews()
CompositeView
removeAllViews
in interface CompositeView
removeAllViews
in class AbstractCompositeView
public CustomizedGUI getCustomizedGUI()
CustomizedView
getCustomizedGUI
in interface CustomizedView
public void setMenuBar(MenuView menuBar, String position)
CustomizedView
setMenuBar
in interface CustomizedView
position
- (TOP||BOTTOM)public MenuView getTopMenuBar()
public MenuView getBottomMenuBar()
public MenuView getLeftMenuBar()
public MenuView getRightMenuBar()
public void setToolBar(MenuView toolBar)
CustomizedView
setToolBar
in interface CustomizedView
public void setStatusBar(StatusView statusBar, String position)
CustomizedView
setStatusBar
in interface CustomizedView
statusBar
- the abstract status barposition
- (TOP||BOTTOM)public void showStatus(String message)
CustomizedView
showStatus
in interface CustomizedView
message
- the message to showpublic PanelView getPanelView()
CustomizedView
getPanelView
in interface CustomizedView
public void requestFocus()
requestFocus
in interface CustomizedView
public void genHTML(PrintWriter out) throws IOException
HTMLViewer
genHTML
in interface HTMLViewer
genHTML
in class AbstractCompositeView
out
- the writer where to write the HTML code.
IOException
protected void genBody(PrintWriter out) throws IOException
AbstractView
genBody
in class AbstractView
IOException
AbstractView.genPage(PrintWriter)
|
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 |