Class PlotView

All Implemented Interfaces:
ComponentListener, KeyListener, MouseListener, MouseMotionListener, MouseWheelListener, ImageObserver, MenuContainer, Serializable, EventListener, Accessible

public final class PlotView extends View
A scatter plot visualization of the database.
Author:
BaseX Team 2005-21, BSD License, Lukas Kircher
See Also:
  • Constructor Details

    • PlotView

      public PlotView(ViewNotifier notifier)
      Default constructor.
      Parameters:
      notifier - view notifier
  • Method Details

    • paintComponent

      public void paintComponent(Graphics g)
      Overrides:
      paintComponent in class BaseXBack
    • refreshContext

      public void refreshContext(boolean more, boolean quick)
      Description copied from class: View
      Called when a new context set has been chosen.
      Specified by:
      refreshContext in class View
      Parameters:
      more - show more details
      quick - perform a quick context switch
    • refreshFocus

      public void refreshFocus()
      Description copied from class: View
      Called when a new focus has been chosen.
      Specified by:
      refreshFocus in class View
    • refreshInit

      public void refreshInit()
      Description copied from class: View
      Called when the data reference has changed.
      Specified by:
      refreshInit in class View
    • refreshLayout

      public void refreshLayout()
      Description copied from class: View
      Called when GUI design has changed.
      Specified by:
      refreshLayout in class View
    • refreshMark

      public void refreshMark()
      Description copied from class: View
      Called when a context set has been marked.
      Specified by:
      refreshMark in class View
    • refreshUpdate

      public void refreshUpdate()
      Description copied from class: View
      Called when updates have been done in the data structure.
      Specified by:
      refreshUpdate in class View
    • visible

      public boolean visible()
      Description copied from class: View
      Tests if this view is currently marked as visible.
      Specified by:
      visible in class View
      Returns:
      result of check
    • visible

      public void visible(boolean v)
      Description copied from class: View
      Sets a flag denoting the visibility of the view.
      Specified by:
      visible in class View
      Parameters:
      v - visibility flag
    • db

      protected boolean db()
      Description copied from class: View
      Tests if this view relies on a database instance.
      Specified by:
      db in class View
      Returns:
      result of check
    • mouseMoved

      public void mouseMoved(MouseEvent e)
      Specified by:
      mouseMoved in interface MouseMotionListener
      Overrides:
      mouseMoved in class BaseXPanel
    • mouseDragged

      public void mouseDragged(MouseEvent e)
      Specified by:
      mouseDragged in interface MouseMotionListener
      Overrides:
      mouseDragged in class BaseXPanel
    • mouseReleased

      public void mouseReleased(MouseEvent e)
      Specified by:
      mouseReleased in interface MouseListener
      Overrides:
      mouseReleased in class BaseXPanel
    • mousePressed

      public void mousePressed(MouseEvent e)
      Specified by:
      mousePressed in interface MouseListener
      Overrides:
      mousePressed in class View
    • componentResized

      public void componentResized(ComponentEvent e)
      Specified by:
      componentResized in interface ComponentListener
      Overrides:
      componentResized in class BaseXPanel