org.objectweb.jac.aspects.gui
Interface FieldView

All Superinterfaces:
View, ViewIdentity
All Known Subinterfaces:
CollectionView, FieldEditor, ReferenceEditor, TableCellViewer
All Known Implementing Classes:
AbstractCollection, AbstractCollection, AbstractFieldEditor, AbstractFieldEditor, AbstractFieldView, AbstractFileEditor, AttachmentViewer, AttachmentViewer, BooleanEditor, BooleanEditor, BooleanViewer, CurrencyViewer, EnumViewer, FileEditor, FilePathEditor, FormatEditor, FormatViewer, ImageURLEditor, ImageURLViewer, ImageViewer, IndicesSelector, ObjectChooser, ObjectChooser, PasswordFieldEditor, PointEditor, PrimitiveFieldEditor, ReferenceView, ReferenceView, SwingEmptyView, SwingFieldView, TextEditor, TextViewer, URLEditor, URLEditor

public interface FieldView
extends View

This interface represents viewers for field items.


Method Summary
 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
 void setValue(Object value)
          Sets the value to display
 
Methods inherited from interface org.objectweb.jac.aspects.gui.View
close, getContext, getDescription, getFactory, getLabel, getMessage, getParentView, getRootView, getStyle, getViewBorder, isClosed, isDescendantOf, setContext, setDescription, setFactory, setFocus, setLabel, setMessage, setParentView, setSize, setStyle, setViewBorder
 
Methods inherited from interface org.objectweb.jac.aspects.gui.ViewIdentity
equalsView, equalsView, getParameters, getType, setParameters, setType
 

Method Detail

setSubstance

public void setSubstance(Object substance)
Sets the substance object holding the field

Parameters:
substance - the substance
See Also:
getSubstance()

getSubstance

public Object getSubstance()
Gets the substance object holding the field

See Also:
setSubstance(Object)

setValue

public void setValue(Object value)
Sets the value to display

Parameters:
value - the value

setField

public void setField(FieldItem field)
Sets the field being displayed

Parameters:
field - the field

getField

public FieldItem getField()
Returns:
the field item

setAutoUpdate

public void setAutoUpdate(boolean autoUpdate)
Sets the auto-update property of the view. If auto-update is true (which is the default), the view registers for changes on field it displays.