JAC project
AOPSYS
CEDRIC & LIP6 labs

org.objectweb.jac.aspects.gui
Interface ViewIdentity

All Known Subinterfaces:
CollectionView, CompositeView, CustomizedView, DialogView, FieldEditor, FieldView, MenuView, MethodView, PanelView, ReferenceEditor, StatusView, TableCellViewer, TabsView, View
All Known Implementing Classes:
AbstractCollection, AbstractCollection, AbstractCompositeView, AbstractCompositeView, AbstractFieldEditor, AbstractFieldEditor, AbstractFieldView, AbstractMenu, AbstractView, AbstractView, AppletView, AttachmentViewer, AttachmentViewer, BooleanEditor, BooleanEditor, CurrencyViewer, Customized, DateEditor, DateHourEditor, DateHourViewer, DateViewer, DesktopView, Dialog, Dialog, EmbeddedMethod, EnumViewer, FileEditor, FloatViewer, ImageURLEditor, ImageURLViewer, IndicesSelector, Menu, Menu, MenuBar, MenuBar, Method, ObjectChooser, Panel, PasswordFieldEditor, PrimitiveFieldEditor, ReferenceView, ReferenceView, StatusBar, StatusBar, SwingCustomized, SwingEmptyView, SwingFieldView, SwingLabel, SwingMethodView, SwingPanelView, SwingTabbedView, Tabs, TextEditor, TextViewer, ToolBar, ToolBar, Tree, Tree, URLEditor, URLEditor

public interface ViewIdentity

This interface allows views comparison. If both parameters and types are equals for the compared views, then the two view are considered as equal.


Method Summary
 Object[] getParameters()
          The parameters that were used to compile the view.
 String getType()
          Gets the view type.
 void setParameters(Object[] parameters)
          Sets the parameters that were used to construct the view.
 void setType(String type)
          Set the view type.
 

Method Detail

setParameters

public void setParameters(Object[] parameters)
Sets the parameters that were used to construct the view.


getParameters

public Object[] getParameters()
The parameters that were used to compile the view.


getType

public String getType()
Gets the view type.

Returns:
view type string as declared in web.acc or swing.acc depending on the GUI target

setType

public void setType(String type)
Set the view type.


Contact JAC development team:
Renaud Pawlak
Lionel Seinturier
Laurent Martelli