|
|||||||||||
| 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.ObjectView
| 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 | |
ObjectView()
|
|
| Method Summary | |
void |
genHTML(PrintWriter out)
Generate the HTML code for the editor. |
JacRequest |
getRequest()
Gets the current JacRequest of this dialog |
HttpServletResponse |
getResponse()
Gets the current HttpServletResponse of this dialog |
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 |
onRefresh(JacRequest request)
Called when the Refresh button was pressed by the user. |
void |
onValidate(JacRequest request)
Validates inputs, but creates no HTML. |
void |
removeAllViews(boolean validate)
Removes all the views in this composite. |
void |
removeView(View component,
boolean validate)
Removes a component view in this composite. |
void |
restoreContext()
Restore context attributes stored at creation time |
| Methods inherited from class org.objectweb.jac.aspects.gui.web.Container |
genItemsHTML |
| Methods inherited from class org.objectweb.jac.aspects.gui.web.AbstractCompositeView |
add, addHorizontalStrut, addVerticalStrut, addView, addView, close, closeAllViews, containsView, genDescription, genMessage, getView, getViews, setContext |
| 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, setDescription, setFactory, setFocus, setHeight, setLabel, setMessage, setParameters, setParentView, setRow, setStyle, setStyleSheet, setTable, setType, setViewBorder, setWidth, 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.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 |
| Methods inherited from interface org.objectweb.jac.aspects.gui.ViewIdentity |
equalsView, equalsView, getParameters, getType, setParameters, setType |
| Constructor Detail |
public ObjectView()
| Method Detail |
public void removeAllViews(boolean validate)
CompositeView
removeAllViews in interface CompositeViewremoveAllViews in class AbstractCompositeViewvalidate - wether to validate values in editors
public void removeView(View component,
boolean validate)
CompositeView
removeView in interface CompositeViewremoveView in class AbstractCompositeViewcomponent - the component view to removevalidate - wether to validate values in editors
public void genHTML(PrintWriter out)
throws IOException
HTMLViewer
genHTML in interface HTMLViewergenHTML in class Containerout - the writer where to write the HTML code.
IOExceptionpublic void onOK(JacRequest request)
WindowListener
onOK in interface WindowListenerrequest - the servlet requestpublic void onRefresh(JacRequest request)
WindowListener
onRefresh in interface WindowListenerrequest - the servlet requestpublic void onValidate(JacRequest request)
WindowListener
onValidate in interface WindowListenerpublic void onCancel()
WindowListener
onCancel in interface WindowListenerpublic void restoreContext()
DialogListener
restoreContext in interface DialogListenerpublic HttpServletResponse getResponse()
DialogListener
getResponse in interface DialogListenerpublic JacRequest getRequest()
DialogListener
getRequest in interface DialogListener
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||