jadex.swing.classView
Class SequenceMapView

java.lang.Object
  |
  +--jadex.swing.classView.ClassView
        |
        +--jadex.swing.classView.SequenceMapView

public class SequenceMapView
extends ClassView

All object views should be a subclss of classView


Constructor Summary
SequenceMapView()
          Default constructor
SequenceMapView(java.lang.String name)
          An overloaded constructor with name as the Argument.
SequenceMapView(java.lang.String name, java.applet.Applet a)
          An overloaded constructor.
 
Method Summary
 CloneControl getCloneControl()
          Get the CloneControl used in this SequenceMapView.
 java.lang.String getName()
          Get the name of the Sequence_map displayed in the SequenceMapView.
 jade.db.AceObject getObject()
          Deprecated. the AceObject will be null.
 javax.swing.JComponent getView()
          Get the JComponent displaying the AceObject.
 javax.swing.JFrame getViewFrame()
          Get the JFrame holding this SequenceMapView.
static void main(java.lang.String[] args)
          A test method.
 void search(java.lang.String cls, java.lang.String pattern)
          Search a clone displayed in this SequenceMapView.
 void setCloneControl(CloneControl c)
          Set the CloneControl for this SequenceMapView.
 void setName(java.lang.String name)
          Implement name as a property of this class.
 void setObject(jade.db.AceObject object)
          aceobject is implemented as a property of this class
 void setView(javax.swing.JComponent comp)
          Set the JComponent displaying the AceObject.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SequenceMapView

public SequenceMapView()
Default constructor

SequenceMapView

public SequenceMapView(java.lang.String name)
An overloaded constructor with name as the Argument.
Parameters:
name - the name of the Sequence_map to be displayed, e.g., Sequence-I.

SequenceMapView

public SequenceMapView(java.lang.String name,
                       java.applet.Applet a)
An overloaded constructor.
Parameters:
name - the name of the Sequence_Map to be displayed, e.g., Sequence_I.
a - the Applet this Sequence_map is in.
Method Detail

setObject

public void setObject(jade.db.AceObject object)
aceobject is implemented as a property of this class
Overrides:
setObject in class ClassView
Following copied from class: jadex.swing.classView.ClassView
Parameters:
object - the AceObject to be displayed.

setName

public void setName(java.lang.String name)
Implement name as a property of this class. Temporarily, I will dump all sequence_map informaion into six static files to increase the performance

getName

public java.lang.String getName()
Get the name of the Sequence_map displayed in the SequenceMapView.
Returns:
the name of the Sequence_map displayed.

getView

public javax.swing.JComponent getView()
Get the JComponent displaying the AceObject.
Overrides:
getView in class ClassView
Returns:
the JComponent displaying the AceObject.

setView

public void setView(javax.swing.JComponent comp)
Set the JComponent displaying the AceObject.
Overrides:
setView in class ClassView
Parameters:
comp - the JComponent displaying the AceObject.

getObject

public jade.db.AceObject getObject()
Deprecated. the AceObject will be null.

Get the AceObject displayed.
Overrides:
getObject in class ClassView
Returns:
the AceObject displayed.

setCloneControl

public void setCloneControl(CloneControl c)
Set the CloneControl for this SequenceMapView.
Parameters:
c - the cloneContorl used to coordinate all zooming activities.

getCloneControl

public CloneControl getCloneControl()
Get the CloneControl used in this SequenceMapView.
Returns:
the CloneControl used in this SequenceMapView.

search

public void search(java.lang.String cls,
                   java.lang.String pattern)
Search a clone displayed in this SequenceMapView.
Parameters:
cls - the class of the searched AceObject, i.e., clone.
patter - the seached key.

getViewFrame

public javax.swing.JFrame getViewFrame()
Get the JFrame holding this SequenceMapView.
Overrides:
getViewFrame in class ClassView
Returns:
the JFrame displaying the SequenceMap.

main

public static void main(java.lang.String[] args)
A test method.