jadex.swing
Class ObjectViewController

java.lang.Object
  |
  +--jadex.swing.ObjectViewController

public class ObjectViewController
extends java.lang.Object

This class is used to control the display for individual AceObject.


Constructor Summary
ObjectViewController()
          Default constructor.
ObjectViewController(jade.db.AceObject obj)
          A overloaded construcotr.
 
Method Summary
 jade.db.AceObject getAceObject()
          Get the AceObject.
 javax.swing.JFrame getObjectView()
          Based on the types of AceObject, privide different views of AceObjects.
 void setAceObject(jade.db.AceObject obj)
          Set the Aceobject to be displayed.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ObjectViewController

public ObjectViewController()
Default constructor.

ObjectViewController

public ObjectViewController(jade.db.AceObject obj)
A overloaded construcotr.
Parameters:
obj - the AceObject to be displayed.
Method Detail

getAceObject

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

getObjectView

public javax.swing.JFrame getObjectView()
Based on the types of AceObject, privide different views of AceObjects. The default view is JTree. JTextArea is used to show the longtext AceObject.
Returns:
A JFrame showing the information on the AceObject.

setAceObject

public void setAceObject(jade.db.AceObject obj)
Set the Aceobject to be displayed.