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:
JavaFXTableLensView
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 OrderListener
protected final MutableProperties<TableLensView.PropertyType>
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected
AbstractTableLensView
(com.macrofocus.igraphics.CPColorFactory<Color> factory) -
Method Summary
Modifier and TypeMethodDescriptionprotected abstract void
MutableProperty<com.macrofocus.igraphics.colortheme.ColorTheme<Color>>
Returns the color theme to use.MutableProperty<com.macrofocus.crossplatform.CPCanvas.Rendering>
com.macrofocus.rubberband.RubberBand
boolean
Returns whether information about refresh rate should be displayed.protected abstract void
refresh()
void
setAntialiasing
(MutableProperty<Boolean> antialiasing) void
setColorTheme
(MutableProperty<com.macrofocus.igraphics.colortheme.ColorTheme<Color>> colorTheme) Sets the color theme to use.void
setRendering
(MutableProperty<com.macrofocus.crossplatform.CPCanvas.Rendering> rendering) void
setShowFiltered
(MutableProperty<Boolean> showFiltered) void
setShowTiming
(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.CPComponent
setStyleClass
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 Details
-
properties
-
orderListener
-
-
Constructor Details
-
AbstractTableLensView
-
-
Method Details
-
getColorTheme
Description copied from interface:TableLensView
Returns the color theme to use.- Specified by:
getColorTheme
in 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:TableLensView
Sets the color theme to use.- Specified by:
setColorTheme
in interfaceTableLensView<Component,
Color, Row, Column> - Parameters:
colorTheme
- the color theme to use
-
isShowTiming
public boolean isShowTiming()Description copied from interface:TableLensView
Returns whether information about refresh rate should be displayed.- Specified by:
isShowTiming
in interfaceTableLensView<Component,
Color, Row, Column> - Returns:
- true to display refresh rate information, false otherwise
-
setShowTiming
public void setShowTiming(boolean showTiming) Description copied from interface:TableLensView
Sets whether information about refresh rate should be displayed.- Specified by:
setShowTiming
in interfaceTableLensView<Component,
Color, Row, Column> - Parameters:
showTiming
- true to display refresh rate information, false otherwise
-
getShowFiltered
- Specified by:
getShowFiltered
in interfaceTableLensView<Component,
Color, Row, Column>
-
setShowFiltered
- Specified by:
setShowFiltered
in interfaceTableLensView<Component,
Color, Row, Column>
-
getAntialiasing
- Specified by:
getAntialiasing
in interfaceTableLensView<Component,
Color, Row, Column>
-
setAntialiasing
- Specified by:
setAntialiasing
in interfaceTableLensView<Component,
Color, Row, Column>
-
getRendering
- Specified by:
getRendering
in interfaceTableLensView<Component,
Color, Row, Column>
-
setRendering
public void setRendering(MutableProperty<com.macrofocus.crossplatform.CPCanvas.Rendering> rendering) - Specified by:
setRendering
in interfaceTableLensView<Component,
Color, Row, Column>
-
getColumnSize
- Specified by:
getColumnSize
in interfaceTableLensView<Component,
Color, Row, Column>
-
getRowSize
- Specified by:
getRowSize
in interfaceTableLensView<Component,
Color, Row, Column>
-
createOverplots
protected abstract void createOverplots() -
refresh
protected abstract void refresh() -
getRubberBand
public com.macrofocus.rubberband.RubberBand getRubberBand()- Specified by:
getRubberBand
in interfaceTableLensView<Component,
Color, Row, Column>
-