|
|||||||||||
| 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.AbstractFieldView
Base class for field views
| Field Summary | |
protected boolean |
autoUpdate
|
protected FieldItem |
field
|
protected Object |
substance
|
| Fields inherited from class org.objectweb.jac.aspects.gui.web.AbstractView |
column, context, description, height, isCellViewer, label, parentView, row, table, width |
| Constructor Summary | |
AbstractFieldView()
|
|
AbstractFieldView(Object substance,
FieldItem field)
|
|
| Method Summary | |
void |
close(boolean validate)
Close this view. |
void |
fieldUpdated(Object substance,
FieldItem field,
Object value,
Object param)
Upcalled when a field was modified. |
FieldItem |
getField()
|
Object |
getSubstance()
Gets the substance object holding the field |
void |
setAutoUpdate(boolean autoUpdate)
Sets the auto-update property of the view. |
void |
setField(FieldItem field)
Sets the field being displayed |
void |
setSubstance(Object substance)
Sets the substance object holding the field |
abstract void |
setValue(Object value)
Sets the value to display |
| 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, setContext, 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.View |
getContext, getDescription, getFactory, getLabel, getMessage, getParentView, getRootView, getStyle, getViewBorder, isClosed, isDescendantOf, setContext, 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 |
| Field Detail |
protected Object substance
protected FieldItem field
protected boolean autoUpdate
| Constructor Detail |
public AbstractFieldView(Object substance,
FieldItem field)
public AbstractFieldView()
| Method Detail |
public abstract void setValue(Object value)
FieldView
setValue in interface FieldViewvalue - the valuepublic void setSubstance(Object substance)
FieldView
setSubstance in interface FieldViewsubstance - the substanceFieldView.getSubstance()public Object getSubstance()
FieldView
getSubstance in interface FieldViewFieldView.setSubstance(Object)public void setField(FieldItem field)
FieldView
setField in interface FieldViewfield - the fieldpublic FieldItem getField()
getField in interface FieldViewpublic void setAutoUpdate(boolean autoUpdate)
FieldView
setAutoUpdate in interface FieldViewpublic void close(boolean validate)
View
close in interface Viewclose in class AbstractView
public void fieldUpdated(Object substance,
FieldItem field,
Object value,
Object param)
FieldUpdate
fieldUpdated in interface FieldUpdatesubstance - the object of which a field was updatedfield - the updated fieldvalue - new value of the vieldparam - extra infos (unused)ViewControlWrapper.registerField(Wrappee,FieldItem,FieldUpdate,Object)
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||