Class SwingTableLensView<Row,​C>

  • All Implemented Interfaces:
    com.macrofocus.crossplatform.CPComponent<javax.swing.JLayeredPane>, com.macrofocus.crossplatform.CPInteractiveComponent<javax.swing.JLayeredPane>, TableLensView<javax.swing.JLayeredPane,​java.awt.Color,​Row,​C>

    public class SwingTableLensView<Row,​C>
    extends AbstractTableLensView<javax.swing.JLayeredPane,​java.awt.Color,​Row,​C>
    • Constructor Detail

      • SwingTableLensView

        public SwingTableLensView()
    • Method Detail

      • 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

        public void setStyleClass​(java.lang.String... styleClasses)
      • getNativeComponent

        public javax.swing.JLayeredPane getNativeComponent()
      • getWidth

        public int getWidth()
      • getHeight

        public int getHeight()
      • getHeader

        public javax.swing.JButton getHeader​(com.macrofocus.high_d.axis.AxisModel axisModel)
      • createAxisHeaderView

        protected com.macrofocus.high_d.axis.AxisHeaderView createAxisHeaderView​(com.macrofocus.high_d.axis.AxisModel axisModel)
      • getClosestRow

        public Row getClosestRow​(int x,
                                 int y)
      • getRows

        public java.util.List<Row> getRows​(com.macrofocus.igraphics.Rectangle2D rect)
        Description copied from interface: TableLensView
        Returns the nodes overlapping the specified rectangle.
        Parameters:
        rect - the rectangle in screen coordinates
        Returns:
        the list of nodes
      • isSelectionMode

        public boolean isSelectionMode()
      • setModel

        public void setModel​(TableLensModel model)
        Description copied from interface: TableLensView
        Sets the data model and registers with it for listener notifications from the new data model.
        Parameters:
        model - the new data model
        See Also:
        TableLensView.getModel()
      • setSelectionMode

        public void setSelectionMode​(boolean value)
      • getModel

        public TableLensModel 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:
        TableLensView.setModel(TableLensModel)
      • setLicenseModel

        public void setLicenseModel​(LicenseModel licenseModel)