|
||||||||||
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.JTabbedPane
org.knime.base.node.viz.plotter.AbstractPlotterProperties
org.knime.base.node.viz.plotter.columns.TwoColumnProperties
org.knime.base.node.viz.plotter.scatter.ScatterPlotterProperties
org.knime.base.node.mine.regression.linear.view.LinRegLinePlotterProperties
public class LinRegLinePlotterProperties
Properties for the LinRegLinePlotter
which ensures
that the y axis is fixed to the target column and the x column selection box
only contains the columns used for the model calculation.
Nested Class Summary |
---|
Nested classes/interfaces inherited from class javax.swing.JTabbedPane |
---|
JTabbedPane.AccessibleJTabbedPane, JTabbedPane.ModelListener |
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 |
---|
Fields inherited from class org.knime.base.node.viz.plotter.scatter.ScatterPlotterProperties |
---|
DEFAULT_DOT_SIZE |
Fields inherited from class org.knime.base.node.viz.plotter.columns.TwoColumnProperties |
---|
COMPONENT_WIDTH, m_xSelector, m_ySelector, SMALL_SPACE, SPACE |
Fields inherited from class javax.swing.JTabbedPane |
---|
changeEvent, changeListener, model, SCROLL_TAB_LAYOUT, tabPlacement, WRAP_TAB_LAYOUT |
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 javax.swing.SwingConstants |
---|
BOTTOM, CENTER, EAST, HORIZONTAL, LEADING, LEFT, NEXT, NORTH, NORTH_EAST, NORTH_WEST, PREVIOUS, RIGHT, SOUTH, SOUTH_EAST, SOUTH_WEST, TOP, TRAILING, VERTICAL, WEST |
Fields inherited from interface java.awt.image.ImageObserver |
---|
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH |
Constructor Summary | |
---|---|
LinRegLinePlotterProperties()
Creates the same properties as the ScatterPlotterProperties but
with different functionality. |
Method Summary | |
---|---|
void |
setIncludedColumns(String[] includedColumns)
Sets the columns which were used for model calculation. |
void |
setTargetColumn(String targetColumnName)
Sets the target column. |
void |
update(DataTableSpec spec)
Updates the selection boxes with the passed DataTableSpec and sets 0 as x and the y
column to the target column. |
void |
update(DataTableSpec spec,
int xPreSelect,
int yPreSelect)
Updates the selection boxes with the new DataTableSpec and selects the passed indices. |
Methods inherited from class org.knime.base.node.viz.plotter.scatter.ScatterPlotterProperties |
---|
addDotSizeChangeListener, getDotSize, getJitterSlider |
Methods inherited from class org.knime.base.node.viz.plotter.columns.TwoColumnProperties |
---|
addXColumnListener, addXMaxListener, addXMinListener, addYColumnListener, addYMaxListener, addYMinListener, getSelectedXColumn, getSelectedYColumn, getXMaxValue, getXMinValue, getYMaxValue, getYMinValue, updateRangeSpinner |
Methods inherited from class org.knime.base.node.viz.plotter.AbstractPlotterProperties |
---|
getAntialiasButton, getChooseBackgroundButton, getColorChooser, getFitToScreenButton, getMouseSelectionBox |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public LinRegLinePlotterProperties()
ScatterPlotterProperties
but
with different functionality. Only DoubleValue
s are allowed and
the y column selection box is fixed and the x column selection box
contains only the columns used for the model calulation.
Method Detail |
---|
public void setTargetColumn(String targetColumnName)
targetColumnName
- the name of the target columnpublic void setIncludedColumns(String[] includedColumns)
includedColumns
- columns used for model calculationpublic void update(DataTableSpec spec)
DataTableSpec
and sets 0 as x and the y
column to the target column.
update
in class TwoColumnProperties
spec
- the new DataTableSpec
public void update(DataTableSpec spec, int xPreSelect, int yPreSelect)
DataTableSpec
and selects the passed indices.
Takes care, that the x column selection box only contains the columns
used for model calculation. For this purpose the ItemListeners of this
box are removed and afterwards added again in order to avoid event loops.
update
in class TwoColumnProperties
spec
- the new data table spec.xPreSelect
- the x column index (-1 if unknown)yPreSelect
- the y column (-1 if unknown)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |