Package com.macrofocus.high_d.tablelens
Class AbstractTableLensView<Component,Color,Row,Column>
- java.lang.Object
-
- com.macrofocus.high_d.tablelens.AbstractTableLensView<Component,Color,Row,Column>
-
- All Implemented Interfaces:
com.macrofocus.crossplatform.CPComponent<Component>,com.macrofocus.crossplatform.CPInteractiveComponent<Component>,TableLensView<Component,Color,Row,Column>
- Direct Known Subclasses:
SwingTableLensView
public abstract class AbstractTableLensView<Component,Color,Row,Column> extends java.lang.Object implements TableLensView<Component,Color,Row,Column>
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface com.macrofocus.high_d.tablelens.TableLensView
TableLensView.PropertyType
-
-
Field Summary
Fields Modifier and Type Field Description protected OrderListenerorderListenerprotected MutableProperties<TableLensView.PropertyType>properties
-
Constructor Summary
Constructors Modifier Constructor Description protectedAbstractTableLensView(com.macrofocus.igraphics.CPColorFactory<Color> factory)
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description protected abstract voidcreateOverplots()MutableProperty<java.lang.Boolean>getAntialiasing()MutableProperty<com.macrofocus.igraphics.colortheme.ColorTheme<Color>>getColorTheme()Returns the color theme to use.MutableProperty<java.lang.Integer>getColumnSize()MutableProperty<com.macrofocus.crossplatform.CPCanvas.Rendering>getRendering()MutableProperty<java.lang.Integer>getRowSize()com.macrofocus.rubberband.RubberBandgetRubberBand()Property<java.lang.Boolean>getShowFiltered()booleanisShowTiming()Returns whether information about refresh rate should be displayed.protected abstract voidrefresh()voidsetAntialiasing(MutableProperty<java.lang.Boolean> antialiasing)voidsetColorTheme(MutableProperty<com.macrofocus.igraphics.colortheme.ColorTheme<Color>> colorTheme)Sets the color theme to use.voidsetRendering(MutableProperty<com.macrofocus.crossplatform.CPCanvas.Rendering> rendering)voidsetShowFiltered(MutableProperty<java.lang.Boolean> showFiltered)voidsetShowTiming(boolean showTiming)Sets whether information about refresh rate should be displayed.-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface com.macrofocus.crossplatform.CPInteractiveComponent
addMouseListener, addMouseMotionListener, removeMouseListener, removeMouseMotionListener
-
Methods inherited from interface com.macrofocus.high_d.tablelens.TableLensView
getClosestRow, getHeight, getModel, getNativeComponent, getRows, getWidth, isSelectionMode, setLicenseModel, setModel, setSelectionMode
-
-
-
-
Field Detail
-
properties
protected final MutableProperties<TableLensView.PropertyType> properties
-
orderListener
protected final OrderListener orderListener
-
-
Constructor Detail
-
AbstractTableLensView
protected AbstractTableLensView(com.macrofocus.igraphics.CPColorFactory<Color> factory)
-
-
Method Detail
-
getColorTheme
public MutableProperty<com.macrofocus.igraphics.colortheme.ColorTheme<Color>> getColorTheme()
Description copied from interface:TableLensViewReturns the color theme to use.- Specified by:
getColorThemein interfaceTableLensView<Component,Color,Row,Column>- Returns:
- the color theme
-
setColorTheme
public void setColorTheme(MutableProperty<com.macrofocus.igraphics.colortheme.ColorTheme<Color>> colorTheme)
Description copied from interface:TableLensViewSets the color theme to use.- Specified by:
setColorThemein interfaceTableLensView<Component,Color,Row,Column>- Parameters:
colorTheme- the color theme to use
-
isShowTiming
public boolean isShowTiming()
Description copied from interface:TableLensViewReturns whether information about refresh rate should be displayed.- Specified by:
isShowTimingin interfaceTableLensView<Component,Color,Row,Column>- Returns:
- true to display refresh rate information, false otherwise
-
setShowTiming
public void setShowTiming(boolean showTiming)
Description copied from interface:TableLensViewSets whether information about refresh rate should be displayed.- Specified by:
setShowTimingin interfaceTableLensView<Component,Color,Row,Column>- Parameters:
showTiming- true to display refresh rate information, false otherwise
-
getShowFiltered
public Property<java.lang.Boolean> getShowFiltered()
- Specified by:
getShowFilteredin interfaceTableLensView<Component,Color,Row,Column>
-
setShowFiltered
public void setShowFiltered(MutableProperty<java.lang.Boolean> showFiltered)
- Specified by:
setShowFilteredin interfaceTableLensView<Component,Color,Row,Column>
-
getAntialiasing
public MutableProperty<java.lang.Boolean> getAntialiasing()
- Specified by:
getAntialiasingin interfaceTableLensView<Component,Color,Row,Column>
-
setAntialiasing
public void setAntialiasing(MutableProperty<java.lang.Boolean> antialiasing)
- Specified by:
setAntialiasingin interfaceTableLensView<Component,Color,Row,Column>
-
getRendering
public MutableProperty<com.macrofocus.crossplatform.CPCanvas.Rendering> getRendering()
- Specified by:
getRenderingin interfaceTableLensView<Component,Color,Row,Column>
-
setRendering
public void setRendering(MutableProperty<com.macrofocus.crossplatform.CPCanvas.Rendering> rendering)
- Specified by:
setRenderingin interfaceTableLensView<Component,Color,Row,Column>
-
getColumnSize
public MutableProperty<java.lang.Integer> getColumnSize()
- Specified by:
getColumnSizein interfaceTableLensView<Component,Color,Row,Column>
-
getRowSize
public MutableProperty<java.lang.Integer> getRowSize()
- Specified by:
getRowSizein interfaceTableLensView<Component,Color,Row,Column>
-
createOverplots
protected abstract void createOverplots()
-
refresh
protected abstract void refresh()
-
getRubberBand
public com.macrofocus.rubberband.RubberBand getRubberBand()
- Specified by:
getRubberBandin interfaceTableLensView<Component,Color,Row,Column>
-
-