public abstract class AbstractFilterComponent<Component,Color,R,C,V> extends Object implements FilterComponent<Component>
Modifier and Type | Class and Description |
---|---|
protected class |
AbstractFilterComponent.DefaultKeyListener |
class |
AbstractFilterComponent.DefaultMouseListener |
class |
AbstractFilterComponent.DefaultMouseMotionListener |
protected class |
AbstractFilterComponent.FilterIDrawing |
FilterComponent.Orientation, FilterComponent.PropertyType
Modifier and Type | Field and Description |
---|---|
protected List<V> |
activeValues |
protected <any> |
dimension |
protected <any> |
factory |
protected Group |
group |
protected MutableSingleSelection<V> |
probing |
protected <any> |
properties |
protected String |
search |
Constructor and Description |
---|
AbstractFilterComponent(<any> factory,
<any> dimension,
<any> reducer) |
Modifier and Type | Method and Description |
---|---|
protected long |
computeIdealHeight(int actualWidth) |
protected double |
getActiveCount(V o2) |
<any> |
getColorTheme() |
<any> |
getDimension() |
<any> |
getFilterable() |
<any> |
getGapSize() |
Group |
getGroup() |
abstract int |
getHeight() |
<any> |
getHideFiltered() |
<any> |
getMaxItemSize() |
<any> |
getMinItemSize()
Minimum size of each bar
|
<any> |
getOrientation() |
<any> |
getProportional()
Indicates whether the filtered items should be displayed proportionally to maximum value of filtered values (true), or to the maximum value of all values (false).
|
String |
getSearch() |
<any> |
getShowAxis() |
<any> |
getShowCumulative() |
<any> |
getSort() |
protected List<V> |
getValues() |
abstract int |
getWidth() |
void |
probe(CPCanvas.MouseEvent e,
boolean continuous) |
void |
select(CPCanvas.MouseEvent e,
boolean continuous) |
void |
setSearch(String search) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
setLabel, updateLabel
protected final <any> properties
protected final <any> factory
protected final <any> dimension
protected final Group group
protected String search
protected MutableSingleSelection<V> probing
public AbstractFilterComponent(<any> factory, <any> dimension, <any> reducer)
public <any> getColorTheme()
public <any> getDimension()
getDimension
in interface FilterComponent<Component>
public Group getGroup()
public <any> getOrientation()
getOrientation
in interface FilterComponent<Component>
public <any> getMinItemSize()
FilterComponent
getMinItemSize
in interface FilterComponent<Component>
public <any> getMaxItemSize()
getMaxItemSize
in interface FilterComponent<Component>
public <any> getGapSize()
getGapSize
in interface FilterComponent<Component>
public <any> getProportional()
FilterComponent
getProportional
in interface FilterComponent<Component>
public <any> getHideFiltered()
getHideFiltered
in interface FilterComponent<Component>
public <any> getSort()
getSort
in interface FilterComponent<Component>
public <any> getShowAxis()
getShowAxis
in interface FilterComponent<Component>
public <any> getShowCumulative()
getShowCumulative
in interface FilterComponent<Component>
public <any> getFilterable()
getFilterable
in interface FilterComponent<Component>
public String getSearch()
public void setSearch(String search)
protected double getActiveCount(V o2)
protected long computeIdealHeight(int actualWidth)
public void select(CPCanvas.MouseEvent e, boolean continuous)
public void probe(CPCanvas.MouseEvent e, boolean continuous)
public abstract int getWidth()
public abstract int getHeight()
Copyright © 2015 Macrofocus GmbH. All Rights Reserved.