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 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
FieldsModifier and TypeFieldDescriptionprotected final OrderListenerprotected final MutableProperties<TableLensView.PropertyType> -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedAbstractTableLensView(com.macrofocus.igraphics.CPColorFactory<Color> factory) -
Method Summary
Modifier and TypeMethodDescriptionprotected abstract voidMutableProperty<com.macrofocus.igraphics.colortheme.ColorTheme<Color>> Returns the color theme to use.MutableProperty<com.macrofocus.crossplatform.CPCanvas.Rendering> com.macrofocus.rubberband.RubberBandbooleanReturns whether information about refresh rate should be displayed.protected abstract voidrefresh()voidsetAntialiasing(MutableProperty<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<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, waitMethods inherited from interface com.macrofocus.crossplatform.CPComponent
setStyleClassMethods inherited from interface com.macrofocus.crossplatform.CPInteractiveComponent
addMouseListener, addMouseMotionListener, removeMouseListener, removeMouseMotionListenerMethods inherited from interface com.macrofocus.high_d.tablelens.TableLensView
getClosestRow, getHeight, getModel, getNativeComponent, getRows, getWidth, isSelectionMode, setLicenseModel, setModel, setSelectionMode
-
Field Details
-
properties
-
orderListener
-
-
Constructor Details
-
AbstractTableLensView
-
-
Method Details
-
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
- Specified by:
getShowFilteredin interfaceTableLensView<Component,Color, Row, Column>
-
setShowFiltered
- Specified by:
setShowFilteredin interfaceTableLensView<Component,Color, Row, Column>
-
getAntialiasing
- Specified by:
getAntialiasingin interfaceTableLensView<Component,Color, Row, Column>
-
setAntialiasing
- Specified by:
setAntialiasingin interfaceTableLensView<Component,Color, Row, Column>
-
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
- Specified by:
getColumnSizein interfaceTableLensView<Component,Color, Row, Column>
-
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>
-