jadex.swing.classView
Class ClassView

java.lang.Object
  |
  +--jadex.swing.classView.ClassView
Direct Known Subclasses:
DumpClassView, MapView, SequenceMapView, SequenceView, TreeClassView

public abstract class ClassView
extends java.lang.Object

This is the super class for all ClassView. Each specific classView, e.g., MapView, SequenceView, or SequenceMapView, should be subclassed it for automatically loading.


Constructor Summary
ClassView()
           
 
Method Summary
abstract  jade.db.AceObject getObject()
          Get the displayed AceObject.
abstract  javax.swing.JComponent getView()
          Get the JComponent used to display the AceObject.
 javax.swing.JFrame getViewFrame()
          Get a self-showable JFrame displaying the AceObject.
abstract  void setObject(jade.db.AceObject object)
          Set the AceObject to be displayed by this ClassView.
abstract  void setView(javax.swing.JComponent comp)
          Set a JComponent for displaying the AceObject.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ClassView

public ClassView()
Method Detail

setObject

public abstract void setObject(jade.db.AceObject object)
Set the AceObject to be displayed by this ClassView.
Parameters:
object - the AceObject to be displayed.

getObject

public abstract jade.db.AceObject getObject()
Get the displayed AceObject.
Returns:
the AceObject displayed.

getView

public abstract javax.swing.JComponent getView()
Get the JComponent used to display the AceObject.
Returns:
the JComponent displaying this AceObject.

setView

public abstract void setView(javax.swing.JComponent comp)
Set a JComponent for displaying the AceObject.
Parameters:
comp - the JComponent to be used for displaying this AceObject.

getViewFrame

public javax.swing.JFrame getViewFrame()
Get a self-showable JFrame displaying the AceObject.
Returns:
The JFrame displaying the AceObject.