|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.awt.Component
java.awt.Container
javax.swing.JComponent
javax.swing.JPanel
org.knime.base.node.viz.plotter.AbstractPlotter
org.knime.base.node.viz.plotter.basic.BasicPlotter
org.knime.base.node.viz.plotter.columns.TwoColumnPlotter
org.knime.base.node.viz.plotter.scatter.ScatterPlotter
org.knime.base.node.viz.plotter.scattermatrix.ScatterMatrixPlotter
public class ScatterMatrixPlotter
Creates the scatter matrix elements as rectangles with a x and y coordinates,
passes these
ScatterMatrixElement
s
to the
ScatterMatrixDrawingPane
.
The x and y axis of the plotter axes are nominal with the column names as
values.
Nested Class Summary | |
---|---|
class |
ScatterMatrixPlotter.TransformationMouseListener
Mouse listener for changing the column position. |
Nested classes/interfaces inherited from class org.knime.base.node.viz.plotter.AbstractPlotter |
---|
AbstractPlotter.MovingMouseListener, AbstractPlotter.SelectionMouseListener, AbstractPlotter.ZoomMouseListener |
Nested classes/interfaces inherited from class javax.swing.JPanel |
---|
JPanel.AccessibleJPanel |
Nested classes/interfaces inherited from class javax.swing.JComponent |
---|
JComponent.AccessibleJComponent |
Nested classes/interfaces inherited from class java.awt.Container |
---|
Container.AccessibleAWTContainer |
Nested classes/interfaces inherited from class java.awt.Component |
---|
Component.AccessibleAWTComponent, Component.BaselineResizeBehavior, Component.BltBufferStrategy, Component.FlipBufferStrategy |
Field Summary | |
---|---|
static int |
DOT_SIZE
The dot size for the scatter matrix dots. |
static int |
GAP
space between the single scatter matrix elements. |
Fields inherited from class org.knime.base.node.viz.plotter.AbstractPlotter |
---|
DEFAULT_ZOOM_FACTOR, FADE_UNHILITED, HIDE_UNHILITED, SHOW_ALL, SHOW_HIDE |
Fields inherited from class javax.swing.JComponent |
---|
accessibleContext, listenerList, TOOL_TIP_TEXT_KEY, ui, UNDEFINED_CONDITION, WHEN_ANCESTOR_OF_FOCUSED_COMPONENT, WHEN_FOCUSED, WHEN_IN_FOCUSED_WINDOW |
Fields inherited from class java.awt.Component |
---|
BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT |
Fields inherited from interface java.awt.image.ImageObserver |
---|
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH |
Constructor Summary | |
---|---|
ScatterMatrixPlotter()
|
Method Summary | |
---|---|
void |
reset()
Resets the selected columns. |
void |
updatePaintModel()
Creates the nominal coordinates with the selected column names, calculates the surrounding rectangle for the scatter matrix elements, then maps the points to the screen coordinates, associates the DotInfo s with the
referring
ScatterMatrixElement
and passes them to the
ScatterMatrixDrawingPane . |
void |
updateSize()
Updates the size by mapping the domain values of the BasicDrawingElement s
to the drawing pane's dimension. |
Methods inherited from class org.knime.base.node.viz.plotter.scatter.ScatterPlotter |
---|
calculateCoordinates, clearSelection, dispose, fillPopupMenu, getDotSize, getFadeAction, getHideAction, getJitterRate, getMappedXValue, getMappedYValue, getShowAllAction, getShowHideMenu, hiLite, hiLiteSelected, isHideMode, isScatterPlotterDrawingPane, isScatterPlotterProperties, jitterDots, selectClickedElement, selectElementsIn, setDotSize, setHideMode, setJitterRate, unHiLite, unHiLiteAll, unHiLiteSelected |
Methods inherited from class org.knime.base.node.viz.plotter.columns.TwoColumnPlotter |
---|
getSelectedXColumn, getSelectedXColumnIndex, getSelectedYColumn, getSelectedYColumnIndex, setDataProvider, setSelectableColumns |
Methods inherited from class org.knime.base.node.viz.plotter.basic.BasicPlotter |
---|
addBasicDrawingElement, addEllipse, addLine, addLine, addLine, addLine, addRectangle, addText |
Methods inherited from class javax.swing.JPanel |
---|
getAccessibleContext, getUI, getUIClassID, paramString, setUI, updateUI |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final int GAP
public static final int DOT_SIZE
Constructor Detail |
---|
public ScatterMatrixPlotter()
Method Detail |
---|
public void reset()
reset
in class ScatterPlotter
ScatterPlotter.reset()
public void updatePaintModel()
DotInfo
s with the
referring
ScatterMatrixElement
and passes them to the
ScatterMatrixDrawingPane
.
The ScatterMatrixDrawingPane
then extracts the dots from the
ScatterMatrixElement
and stores them in a
DotInfoArray
.
updatePaintModel
in class ScatterPlotter
AbstractPlotter.updatePaintModel()
public void updateSize()
BasicDrawingElement
s
to the drawing pane's dimension.
updateSize
in class ScatterPlotter
AbstractPlotter.updateSize()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |