Class SequencePlotterPanel

    • Constructor Detail

      • SequencePlotterPanel

        public SequencePlotterPanel​(String title)
        Initializes the panel with the specified title.
        Parameters:
        title - the title to use
    • Method Detail

      • newMarkerContainerManager

        protected XYSequenceContainerManager newMarkerContainerManager()
        Returns the manager for the marker sequences.
        Returns:
        the new container manager
      • getMarkerContainerManager

        public XYSequenceContainerManager getMarkerContainerManager()
        Returns the marker container manager in use.
        Returns:
        the container manager
      • newOverlayContainerManager

        protected XYSequenceContainerManager newOverlayContainerManager()
        Returns the manager for the overlay data.
        Returns:
        the new container manager
      • getOverlayContainerManager

        public XYSequenceContainerManager getOverlayContainerManager()
        Returns the overlay container manager in use.
        Returns:
        the container manager
      • setMarkerPaintlet

        public void setMarkerPaintlet​(MarkerPaintlet value)
        Sets the marker paintlet to use.
        Parameters:
        value - the marker paintlet
      • getMarkerPaintlet

        public MarkerPaintlet getMarkerPaintlet()
        Returns the marker paintlet to use.
        Returns:
        the marker paintlet
      • setOverlayPaintlet

        public void setOverlayPaintlet​(XYSequencePaintlet value)
        Sets the overlay paintlet to use.
        Parameters:
        value - the overlay paintlet
      • getOverlayPaintlet

        public XYSequencePaintlet getOverlayPaintlet()
        Returns the overlay paintlet to use.
        Returns:
        the overlay paintlet
      • setErrorPaintlet

        public void setErrorPaintlet​(AbstractErrorPaintlet value)
        Sets the error paintlet to use.
        Parameters:
        value - the error paintlet
      • getErrorPaintlet

        public AbstractErrorPaintlet getErrorPaintlet()
        Returns the error paintlet to use.
        Returns:
        the error paintlet
      • setMouseClickAction

        public void setMouseClickAction​(MouseClickAction value)
        Sets the mouse click action to use.
        Parameters:
        value - the action
      • getMouseClickAction

        public MouseClickAction getMouseClickAction()
        Returns the current mouse click action in use.
        Returns:
        the action
      • setColorProvider

        public void setColorProvider​(ColorProvider value)
        Sets the color provider to use.
        Parameters:
        value - the color provider
      • getColorProvider

        public ColorProvider getColorProvider()
        Returns the color provider to use.
        Returns:
        the color provider in use
      • setOverlayColorProvider

        public void setOverlayColorProvider​(ColorProvider value)
        Sets the color provider to use for the overlays.
        Parameters:
        value - the color provider
      • getOverlayColorProvider

        public ColorProvider getOverlayColorProvider()
        Returns the color provider to use for the overlays.
        Returns:
        the color provider in use
      • setAntiAliasingEnabled

        public void setAntiAliasingEnabled​(boolean value)
        Sets whether to use anti-aliasing.
        Overrides:
        setAntiAliasingEnabled in class XYSequencePanel
        Parameters:
        value - if true then anti-aliasing is used
      • toMarkerIndices

        protected int[] toMarkerIndices​(int[] seqIndices)
        Translates the indices of the sequence container manager into the ones from the marker container manager.
        Parameters:
        seqIndices - the indices of the sequence container manager
        Returns:
        the indices of the marker container manager
      • toOverlayIndices

        protected int[] toOverlayIndices​(int[] seqIndices)
        Translates the indices of the sequence container manager into the ones from the overlay container manager.
        Parameters:
        seqIndices - the indices of the sequence container manager
        Returns:
        the indices of the overlay container manager