|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.cybertory.MSS.GridMaLayout
This class encapsulates the layout of a microarray with zones on a uniform grid, and where each zone has the same number of rows and columns.
Constructor Summary | |
GridMaLayout(int numMetacols,
int numMetarows,
int numCols,
int numRows,
float leftMargin,
float rightMargin,
float topMargin,
float bottomMargin,
float gapBetweenZonesX,
float gapBetweenZonesY,
float featureCellSizeX,
float featureCellSizeY)
|
Method Summary | |
void |
addZonesGridLocations(java.awt.Point[] zoneGridLocations)
|
MaDimensions |
getDimensions()
|
float |
getHeight()
Returns image height in pixels |
java.lang.Object |
getScaled(float pixelSize)
|
float |
getWidth()
Returns image width in pixels |
java.awt.geom.Point2D |
getZoneLocation(int zoneIndex)
Get the location of a zone, given the index. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public GridMaLayout(int numMetacols, int numMetarows, int numCols, int numRows, float leftMargin, float rightMargin, float topMargin, float bottomMargin, float gapBetweenZonesX, float gapBetweenZonesY, float featureCellSizeX, float featureCellSizeY)
Method Detail |
public java.lang.Object getScaled(float pixelSize)
getScaled
in interface SelfScaler
public void addZonesGridLocations(java.awt.Point[] zoneGridLocations)
public MaDimensions getDimensions()
getDimensions
in interface MaLayout
public float getWidth()
MaLayout
getWidth
in interface MaLayout
public float getHeight()
MaLayout
getHeight
in interface MaLayout
public java.awt.geom.Point2D getZoneLocation(int zoneIndex)
MaLayout
getZoneLocation
in interface MaLayout
zoneIndex
- the zero-based index of the zone of interest.
Point2D
object with the pixel coordinates of the
upper-left corner of the zone.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |