|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--jadex.swing.classView.ClassView | +--jadex.swing.classView.MapView
This MapView is used to display Genetic_map. Please note: This is not the MapView
for SequenceMap or SequenceView. For SequenceMap, use SequenceMapView
class. For SequenceView, use SequenceView
class.
Constructor Summary | |
MapView()
Default constructor. |
|
MapView(jade.db.AceObject o)
An overloaded constructor. |
|
MapView(jade.db.AceObject o,
java.applet.Applet a)
Another constructor for applet |
Method Summary | |
jade.db.AceObject |
getObject()
Get the Aceobject displayed. |
javax.swing.JComponent |
getView()
Get the JComponent for displaying the AceObject. |
javax.swing.JFrame |
getViewFrame()
Get the JFrame holding all these displays. |
boolean |
isApplet()
See if this MapView is in an applet or not. |
static void |
main(java.lang.String[] args)
A test method for this MapView. |
void |
search(java.lang.String cls,
java.lang.String pattern)
Search Intercal or Locus by their names. |
void |
setFrame()
Setup the JFrame. |
void |
setInterval()
Create the intervalContainer. |
void |
setInterval(java.lang.Object[][] intervals)
Set up the data and create the intervalContainer. |
void |
setLocus()
Set the Locus display. |
void |
setLocus(java.lang.Object[][] loci)
Set the Locus display by using data from loci. |
void |
setMarker()
Set the Marker Panel contents. |
void |
setMarker(java.lang.Object[][] loci)
Set the marker Panel contents by using data from Array loci. |
void |
setObject(jade.db.AceObject object)
Set the AceObject to be displayed. |
void |
setTitle(java.lang.String t)
Set the JFrame's title. |
void |
setView(javax.swing.JComponent comp)
Set the JComponent for displaying the AceObject. |
void |
showInterval(boolean show)
Display intervalContainer or not. |
void |
showLeftScale(boolean show)
Control if the Mapscale on the left should be displayed. |
void |
showLocator(boolean show)
Control if the locator should be displayed. |
void |
showLocus(boolean show)
Control if the Locus Panel should be displayed or not. |
void |
showMarker(boolean show)
Control if the marker should be displayed. |
void |
showRightScale(boolean show)
Control if the MapScale on the right should be displayed. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public MapView()
public MapView(jade.db.AceObject o) throws java.lang.ClassCastException
o
- the AceObject to be displayed.If
- this AceObject is not a genetic_map class, throw a classCastException.public MapView(jade.db.AceObject o, java.applet.Applet a) throws java.lang.ClassCastException
o
- the AceObject to be displayed.a
- the Applet this MapView is in.If
- this AceObject is not a genetic_map class, throw a classCastException.Method Detail |
public void setObject(jade.db.AceObject object)
setObject
in class ClassView
object
- the AceObject to be displayed.public void setTitle(java.lang.String t)
t
- the title for the JFrame.public void setFrame()
public void setMarker()
public void setMarker(java.lang.Object[][] loci)
loci
- the marker data.public void showMarker(boolean show)
show
- true, show Marker; false, turn off marker.public void showLocator(boolean show)
show
- true, show locator; false, turn off locator.public void showLeftScale(boolean show)
show
- true, on; false, off.public void showRightScale(boolean show)
show
- true, on; false, off.public void setLocus()
public void showLocus(boolean show)
show
- true, on; false, off.public void setLocus(java.lang.Object[][] loci)
loci
- the data to be used for locus display.public void setInterval()
public void showInterval(boolean show)
show
- true, on; false, off.public void setInterval(java.lang.Object[][] intervals)
interals
- the data to be used for setup the intercalcontainer.public jade.db.AceObject getObject()
getObject
in class ClassView
public javax.swing.JComponent getView()
getView
in class ClassView
public javax.swing.JFrame getViewFrame()
getViewFrame
in class ClassView
public void setView(javax.swing.JComponent comp)
setView
in class ClassView
comp
- the JComponent displaying the AceObject.public boolean isApplet()
public void search(java.lang.String cls, java.lang.String pattern)
cls
- the class to be searched, either Intercal or Locus.pattern
- the searching key.public static void main(java.lang.String[] args)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |