org.knime.base.node.viz.plotter.scattermatrix
Class ScatterMatrixElement

java.lang.Object
  extended by org.knime.base.node.viz.plotter.scattermatrix.ScatterMatrixElement

public class ScatterMatrixElement
extends Object

Represents one matrix element in a scatter plot matrix, with the upper left corner, the width and height of the surrounding rectangle, the x and y coordinate of the scatter plot and a list of the contained DotInfos.

Author:
Fabian Dill, University of Konstanz

Constructor Summary
ScatterMatrixElement(Point upperLeftCorner, int width, int height, Coordinate xCoordinate, Coordinate yCoordinate)
           
 
Method Summary
 void addDot(DotInfo dot)
           
 Point getCorner()
           
 List<DotInfo> getDots()
           
 int getHeight()
           
 int getWidth()
           
 Coordinate getXCoordinate()
           
 Coordinate getYCoordinate()
           
 void setDots(List<DotInfo> dots)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ScatterMatrixElement

public ScatterMatrixElement(Point upperLeftCorner,
                            int width,
                            int height,
                            Coordinate xCoordinate,
                            Coordinate yCoordinate)
Parameters:
upperLeftCorner - the upper left corner.
width - the width.
height - the height.
xCoordinate - the x coordinate
yCoordinate - the y coordinate
Method Detail

addDot

public void addDot(DotInfo dot)
Parameters:
dot - adds a dot for this matrix element.

setDots

public void setDots(List<DotInfo> dots)
Parameters:
dots - the dots in this matrix element.

getDots

public List<DotInfo> getDots()
Returns:
the dots of this matrix element

getCorner

public Point getCorner()
Returns:
upper left corner

getHeight

public int getHeight()
Returns:
height.

getWidth

public int getWidth()
Returns:
width.

getXCoordinate

public Coordinate getXCoordinate()
Returns:
the x coordinate.

getYCoordinate

public Coordinate getYCoordinate()
Returns:
y coordinate.


Copyright, 2003 - 2010. All rights reserved.
University of Konstanz, Germany.
Chair for Bioinformatics and Information Mining, Prof. Dr. Michael R. Berthold.
You may not modify, publish, transmit, transfer or sell, reproduce, create derivative works from, distribute, perform, display, or in any way exploit any of the content, in whole or in part, except as otherwise expressly permitted in writing by the copyright owner or as specified in the license file distributed with this product.