|
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.Container | +--org.objectweb.jac.aspects.gui.web.EditorContainer
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 | |
EditorContainer(boolean showButtons)
|
Method Summary | |
void |
addEditor(Object editor)
Add an editor to the container. |
void |
genHTML(PrintWriter out)
Generate the HTML code for the editor. |
List |
getEditors()
Get the list of all editors of this container. |
boolean |
hasEnabledEditor()
Returns true if at least one editor is enabled. |
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 |
removeEditor(Object editor)
Remove an editor from the container. |
void |
restoreContext()
Restore context attributes stored at creation time |
void |
setShowButtons(boolean value)
Sets the showButtons property of the container. |
boolean |
showButtons()
Gets the value of showButtons |
Methods inherited from class org.objectweb.jac.aspects.gui.web.AbstractCompositeView |
add, addHorizontalStrut, addVerticalStrut, addView, addView, close, genDescription, 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 |
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 |
public EditorContainer(boolean showButtons)
showButtons
- wether to show an OK and a Cancel buttonMethod Detail |
public void addEditor(Object editor)
EditorContainer
addEditor
in interface EditorContainer
public void removeEditor(Object editor)
EditorContainer
removeEditor
in interface EditorContainer
public List getEditors()
EditorContainer
getEditors
in interface EditorContainer
public boolean hasEnabledEditor()
EditorContainer
hasEnabledEditor
in interface EditorContainer
public void setShowButtons(boolean value)
EditorContainer
setShowButtons
in interface EditorContainer
public boolean showButtons()
EditorContainer
showButtons
in interface EditorContainer
EditorContainer.setShowButtons(boolean)
public void genHTML(PrintWriter out) throws IOException
HTMLViewer
genHTML
in interface HTMLViewer
genHTML
in class Container
out
- the writer where to write the HTML code.
IOException
public void onOK(JacRequest request)
DialogListener
onOK
in interface DialogListener
request
- the servlet requestpublic void onValidate(JacRequest request)
DialogListener
onValidate
in interface DialogListener
public void onCancel()
DialogListener
onCancel
in interface DialogListener
public void restoreContext()
DialogListener
restoreContext
in interface DialogListener
|
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 |