|
||||||||||
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.parcoord.ParallelCoordinatesPlotter
public class ParallelCoordinatesPlotter
Nested Class Summary | |
---|---|
class |
ParallelCoordinatesPlotter.TransformationMouseListener
MouseListener to change the order of the ParallelAxis . |
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 |
MISSING
Constant for a missing value. |
static int |
SENSITIVITY
Constant for the sensitivity area around the axis for selection. |
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 | |
---|---|
ParallelCoordinatesPlotter()
Registers listeners to the control elements of the .ParallelCoordinatePlotterProperties . |
Method Summary | |
---|---|
void |
clearSelection()
Clears current selection. |
void |
fillPopupMenu(JPopupMenu popupMenu)
Fills the popup menu with (additional) elements. |
Action |
getFadeAction()
|
Action |
getHideAction()
|
Action |
getShowAllAction()
|
JMenu |
getShowHideMenu()
|
void |
hiLite(KeyEvent event)
Invoked when some item(s) were hilit. |
void |
hiLiteSelected()
Is called from the menu entry hilite selected. |
void |
reset()
Sets the axes, the selected data points, the selected columns and the calculated lines null , triggers a repaint in the
.ParallelCoordinateDrawingPane . |
void |
selectClickedElement(Point clicked)
Implementing classes mayxselect the elements depending on the clicked position. |
void |
selectElementsIn(Rectangle selectionRectangle)
Implementing classes may select the elements in the selection rectangle obtained from the mouse dragging in selection mode. |
void |
unHiLite(KeyEvent event)
Invoked when some item(s) were unhilit. |
void |
unHiLiteAll(KeyEvent event)
Invoked, when everything (all rows) are unhilit. |
void |
unHiLiteSelected()
Is called by the menu entry unhilite selected. |
void |
updatePaintModel()
Creates a nominal x axis with the names of the selected columns, the referring ParallelAxis for each
column and calculates the lines with the mapped values which are passed
together with the axes to the
.ParallelCoordinateDrawingPane . |
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.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 SENSITIVITY
public static final int MISSING
Constructor Detail |
---|
public ParallelCoordinatesPlotter()
.ParallelCoordinatePlotterProperties
.
Method Detail |
---|
public void reset()
null
, triggers a repaint in the
.ParallelCoordinateDrawingPane
.
reset
in class BasicPlotter
AbstractPlotter.reset()
public Action getShowAllAction()
public Action getHideAction()
public Action getFadeAction()
public JMenu getShowHideMenu()
public void fillPopupMenu(JPopupMenu popupMenu)
fillPopupMenu
in class AbstractPlotter
popupMenu
- the popup menu to fill.public void clearSelection()
clearSelection
in class AbstractPlotter
public void selectClickedElement(Point clicked)
selectClickedElement
in class AbstractPlotter
clicked
- the clicked pointpublic void selectElementsIn(Rectangle selectionRectangle)
selectElementsIn
in class AbstractPlotter
selectionRectangle
- the selection rectangle from the dragged mouse
in selection modepublic void hiLite(KeyEvent event)
hiLite
in interface HiLiteListener
hiLite
in class AbstractPlotter
event
- contains a list of row keys that were hilitpublic void unHiLite(KeyEvent event)
unHiLite
in interface HiLiteListener
unHiLite
in class AbstractPlotter
event
- contains a list of row keys that were unhilitpublic void unHiLiteAll(KeyEvent event)
event
- contains a list of row key that were unhilitpublic void hiLiteSelected()
hiLiteSelected
in class AbstractPlotter
public void unHiLiteSelected()
unHiLiteSelected
in class AbstractPlotter
public void updatePaintModel()
ParallelAxis
for each
column and calculates the lines with the mapped values which are passed
together with the axes to the
.ParallelCoordinateDrawingPane
.
updatePaintModel
in class AbstractPlotter
AbstractPlotter.updatePaintModel()
public void updateSize()
BasicDrawingElement
s
to the drawing pane's dimension.
updateSize
in class BasicPlotter
AbstractPlotter.updateSize()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |