Class SwingTableLensView<Row,C>
java.lang.Object
com.macrofocus.high_d.tablelens.AbstractTableLensView<JLayeredPane,Color,Row,C>
com.macrofocus.high_d.tablelens.swing.SwingTableLensView<Row,C>
- All Implemented Interfaces:
com.macrofocus.crossplatform.CPComponent<JLayeredPane>,com.macrofocus.crossplatform.CPInteractiveComponent<JLayeredPane>,TableLensView<JLayeredPane,Color, Row, C>
-
Nested Class Summary
Nested classes/interfaces inherited from interface com.macrofocus.high_d.tablelens.TableLensView
TableLensView.PropertyType -
Field Summary
Fields inherited from class com.macrofocus.high_d.tablelens.AbstractTableLensView
orderListener, properties -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddMouseListener(com.macrofocus.crossplatform.CPCanvas.MouseListener l) voidaddMouseMotionListener(com.macrofocus.crossplatform.CPCanvas.MouseMotionListener l) protected com.macrofocus.high_d.axis.AxisHeaderViewcreateAxisHeaderView(com.macrofocus.high_d.axis.AxisModel axisModel) protected voidgetClosestRow(int x, int y) getHeader(com.macrofocus.high_d.axis.AxisModel axisModel) intgetModel()Returns the ScatterPlotModel that provides the data displayed by this ScatterPlotView.getRows(com.macrofocus.geom.Rectangle2D rect) Returns the nodes overlapping the specified rectangle.intgetWidth()booleanprotected voidrefresh()voidremoveMouseListener(com.macrofocus.crossplatform.CPCanvas.MouseListener l) voidremoveMouseMotionListener(com.macrofocus.crossplatform.CPCanvas.MouseMotionListener l) voidsetLicenseModel(LicenseModel licenseModel) voidsetModel(TableLensModel model) Sets the data model and registers with it for listener notifications from the new data model.voidsetSelectionMode(boolean value) voidsetStyleClass(String... styleClasses) Methods inherited from class com.macrofocus.high_d.tablelens.AbstractTableLensView
getAntialiasing, getColorTheme, getColumnSize, getRendering, getRowSize, getRubberBand, getShowFiltered, isShowTiming, setAntialiasing, setColorTheme, setRendering, setShowFiltered, setShowTiming
-
Constructor Details
-
SwingTableLensView
public SwingTableLensView()
-
-
Method Details
-
addMouseListener
public void addMouseListener(com.macrofocus.crossplatform.CPCanvas.MouseListener l) -
addMouseMotionListener
public void addMouseMotionListener(com.macrofocus.crossplatform.CPCanvas.MouseMotionListener l) -
removeMouseListener
public void removeMouseListener(com.macrofocus.crossplatform.CPCanvas.MouseListener l) -
removeMouseMotionListener
public void removeMouseMotionListener(com.macrofocus.crossplatform.CPCanvas.MouseMotionListener l) -
setStyleClass
-
getNativeComponent
-
getWidth
public int getWidth() -
getHeight
public int getHeight() -
refresh
protected void refresh()- Specified by:
refreshin classAbstractTableLensView<JLayeredPane,Color, Row, C>
-
getHeader
-
createAxisHeaderView
protected com.macrofocus.high_d.axis.AxisHeaderView createAxisHeaderView(com.macrofocus.high_d.axis.AxisModel axisModel) -
getClosestRow
-
getRows
Description copied from interface:TableLensViewReturns the nodes overlapping the specified rectangle.- Parameters:
rect- the rectangle in screen coordinates- Returns:
- the list of nodes
-
isSelectionMode
public boolean isSelectionMode() -
setModel
Description copied from interface:TableLensViewSets the data model and registers with it for listener notifications from the new data model.- Parameters:
model- the new data model- See Also:
-
setSelectionMode
public void setSelectionMode(boolean value) -
getModel
Returns the ScatterPlotModel that provides the data displayed by this ScatterPlotView.- Returns:
- the ScatterPlotModel that provides the data displayed by this ScatterPlotView
- See Also:
-
setLicenseModel
-
createOverplots
protected void createOverplots()- Specified by:
createOverplotsin classAbstractTableLensView<JLayeredPane,Color, Row, C>
-