|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.knime.base.node.viz.histogram.datamodel.AbstractHistogramVizModel
org.knime.base.node.viz.histogram.datamodel.FixedHistogramVizModel
public class FixedHistogramVizModel
This class holds all visualization data of a histogram.
Nested Class Summary |
---|
Nested classes/interfaces inherited from class org.knime.base.node.viz.histogram.datamodel.AbstractHistogramVizModel |
---|
AbstractHistogramVizModel.HistogramHiliteCalculator |
Field Summary |
---|
Fields inherited from class org.knime.base.node.viz.histogram.datamodel.AbstractHistogramVizModel |
---|
BAR_SURROUNDING_SPACE, BIN_SURROUNDING_SPACE, DEFAULT_NO_OF_BINS, HILITE_RECT_WIDTH_FACTOR, INTERVAL_DIGITS, MIN_BIN_WIDTH, MINIMUM_BAR_HEIGHT, MINIMUM_ELEMENT_WIDTH, MISSING_VAL_BAR_CAPTION, SPACE_BETWEEN_BARS, SPACE_BETWEEN_BINS, SPACE_BETWEEN_ELEMENTS |
Constructor Summary | |
---|---|
FixedHistogramVizModel(List<Color> rowColors,
List<BinDataModel> bins,
BinDataModel missingValueBin,
DataColumnSpec xColSpec,
Collection<ColorColumn> aggrColumns,
AggregationMethod aggrMethod,
HistogramLayout layout)
Constructor for class HistogramVizModel. |
Method Summary | |
---|---|
Collection<ColorColumn> |
getAggrColumns()
|
Set<RowKey> |
getHilitedKeys()
|
Set<RowKey> |
getSelectedKeys()
|
String |
getXColumnName()
|
DataColumnSpec |
getXColumnSpec()
|
boolean |
supportsHiliting()
|
void |
unHiliteAll()
Unhilites all rows. |
void |
updateHiliteInfo(Set<RowKey> hilited,
boolean hilite)
This method un/hilites all rows with the given key. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public FixedHistogramVizModel(List<Color> rowColors, List<BinDataModel> bins, BinDataModel missingValueBin, DataColumnSpec xColSpec, Collection<ColorColumn> aggrColumns, AggregationMethod aggrMethod, HistogramLayout layout)
rowColors
- the different row colorsbins
- the binsmissingValueBin
- the bin with the rows with missing x valuesxColSpec
- the column specification of the selected x columnaggrColumns
- the selected aggregation columns. Could be
null
aggrMethod
- the AggregationMethod
to uselayout
- HistogramLayout
to useMethod Detail |
---|
public String getXColumnName()
getXColumnName
in class AbstractHistogramVizModel
public DataColumnSpec getXColumnSpec()
getXColumnSpec
in class AbstractHistogramVizModel
public Collection<ColorColumn> getAggrColumns()
getAggrColumns
in class AbstractHistogramVizModel
public boolean supportsHiliting()
supportsHiliting
in class AbstractHistogramVizModel
true
if the bins support hiliting otherwise
false
public Set<RowKey> getHilitedKeys()
getHilitedKeys
in class AbstractHistogramVizModel
public Set<RowKey> getSelectedKeys()
getSelectedKeys
in class AbstractHistogramVizModel
public void unHiliteAll()
unHiliteAll
in class AbstractHistogramVizModel
public void updateHiliteInfo(Set<RowKey> hilited, boolean hilite)
updateHiliteInfo
in class AbstractHistogramVizModel
hilited
- the rowKeys of the rows to un/hilitehilite
- if the given keys should be hilited true
or unhilited false
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |