|
||||||||||
| 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
nullaggrMethod - the AggregationMethod to uselayout - HistogramLayout to use| Method Detail |
|---|
public String getXColumnName()
getXColumnName in class AbstractHistogramVizModelpublic DataColumnSpec getXColumnSpec()
getXColumnSpec in class AbstractHistogramVizModelpublic Collection<ColorColumn> getAggrColumns()
getAggrColumns in class AbstractHistogramVizModelpublic boolean supportsHiliting()
supportsHiliting in class AbstractHistogramVizModeltrue if the bins support hiliting otherwise
falsepublic Set<RowKey> getHilitedKeys()
getHilitedKeys in class AbstractHistogramVizModelpublic Set<RowKey> getSelectedKeys()
getSelectedKeys in class AbstractHistogramVizModelpublic void unHiliteAll()
unHiliteAll in class AbstractHistogramVizModel
public void updateHiliteInfo(Set<RowKey> hilited,
boolean hilite)
updateHiliteInfo in class AbstractHistogramVizModelhilited - 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 | |||||||||