|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--MJAbase | +--MJAplot
MAExplorer Open Java API class to access MJAplot methods and data structures. [Future]
List of methods available to Plugin-writers
lookupOverlayMapIdx() - lookup named scatterplot overlay map index isOverlayMap() - test if a scatterplot named overlay map exists createNewOverlayMap() - define a scatterplot named overlay map setOverlayMapData() - set xy data into named scatterplot overlay map removeOverlayMap() - remove named scatterplot overlay map enableOverlayMapDisplay() - enable/disable display of named named overlay map setOverlayMapDisplayColor() - set named scatterplot overlay map display color setOverlayMapDisplayType() - set line type for named scatterplot overlay mapy
This work was produced by Peter Lemkin of the National Cancer Institute, an agency of the United States Government. As a work of the United States Government there is no associated copyright. It is offered as open source software under the Mozilla Public License (version 1.1) subject to the limitations noted in the accompanying LEGAL file. This notice must be included with the code. The MAExplorer Mozilla and Legal files are available on http://maexplorer.sourceforge.net/.
Method Summary | |
static int |
createNewOverlayMap(java.lang.String overlayMapName)
createNewOverlayMap() - define a scatterplot named overlay map. |
static boolean |
enableOverlayMapDisplay(java.lang.String overlayMapName,
boolean enableFlag)
enableOverlayMapDisplay() - enable/disable display of named scatterplot named overlay map. |
static boolean |
isOverlayMap(java.lang.String overlayMapName)
isOverlayMap() - test if a scatterplot named overlay map exists [TODO] does not exist yet |
static int |
lookupOverlayMapIdx(java.lang.String overlayMapName)
lookupOverlayMapIdx() - lookup named scatterplot overlay map index [TODO] does not exist yet |
static boolean |
removeOverlayMap(java.lang.String overlayMapName)
removeOverlayMap() - remove named scatterplot overlay map. |
static boolean |
setOverlayMapData(java.lang.String overlayMapName,
float[] xyMap,
int nPoints)
setOverlayMapData() - set xy data into named scatterplot overlay map |
static boolean |
setOverlayMapDisplayChars(java.lang.String overlayMapName,
char[] overlayChars)
setOverlayMapDisplayChars() - set overlay characters for named scatterplot overlay map |
static boolean |
setOverlayMapDisplayColor(java.lang.String overlayMapName,
java.awt.Color overlayColor)
setOverlayMapDisplayColor() - set named scatterplot overlay map display color |
static boolean |
setOverlayMapDisplayType(java.lang.String overlayMapName,
int overlayType)
setOverlayMapDisplayType() - set line type for named scatterplot overlay map |
Methods inherited from class MJAbase |
cvtHashtable2SimpleTable, cvtTable2Hashtable |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
public static final int lookupOverlayMapIdx(java.lang.String overlayMapName)
overlayMapName
- to either lookuppublic static final boolean isOverlayMap(java.lang.String overlayMapName)
overlayMapName
- to either lookup if it existspublic static final int createNewOverlayMap(java.lang.String overlayMapName)
overlayMapName
- to either lookup if it exists or create if not.public static final boolean removeOverlayMap(java.lang.String overlayMapName)
overlayMapName
- to removepublic static final boolean setOverlayMapData(java.lang.String overlayMapName, float[] xyMap, int nPoints)
overlayMapName
- to set the xyMap dataxyMap
- is array of (x,y) plot pairs in expression data
space. xyMap is [0:(nPoints*2)-1] in size and the
successive pairs are stored as: x1,y1,x2,y2,x3,y3, ...nPoints
- is the number of points in xyMap.public static final boolean enableOverlayMapDisplay(java.lang.String overlayMapName, boolean enableFlag)
overlayMapName
- to use in overlaying the scatterplotenableFlag
- is true to enable the display, false do disable
the overlay.public static final boolean setOverlayMapDisplayColor(java.lang.String overlayMapName, java.awt.Color overlayColor)
overlayMapName
- to use in overlaying the scatterplotoverlayColor
- to use when drawing the datapublic static final boolean setOverlayMapDisplayType(java.lang.String overlayMapName, int overlayType)
overlayMapName
- to use in overlaying the scatterplotoverlayType
- is 0 for 'o', 1 for continuous line between points,
2 for square, 3 for overlay characters (must setOverlayMapChars() )public static final boolean setOverlayMapDisplayChars(java.lang.String overlayMapName, char[] overlayChars)
overlayMapName
- to use in overlaying the scatterplotoverlayChars
- are the overlay characters for overlayType 3 - 1 for each
point displayed
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |