Class ByNameMarkerPaintlet

    • Field Detail

      • m_RegExp

        protected BaseRegExp m_RegExp
        the regular expression that determines whether to plot or not.
      • m_Invert

        protected boolean m_Invert
        whether to invert the matching.
      • m_Actor

        protected Actor m_Actor
        the actor the paintlet belongs to.
    • Constructor Detail

      • ByNameMarkerPaintlet

        public ByNameMarkerPaintlet()
    • Method Detail

      • getDefaultPaintlet

        protected AbstractMarkerPaintlet getDefaultPaintlet()
        Returns the default paintlet to use.
        Returns:
        the default paintlet
      • setRegExp

        public void setRegExp​(BaseRegExp value)
        Sets the regular expression to use for matching the sequence IDs.
        Parameters:
        value - the expression
      • getRegExp

        public BaseRegExp getRegExp()
        Returns the regular expression to use for matching the sequence IDs.
        Returns:
        the expression
      • regExpTipText

        public String regExpTipText()
        Returns the tip text for this property.
        Returns:
        tip text for this property suitable for displaying in the GUI or for listing the options.
      • setInvert

        public void setInvert​(boolean value)
        Sets whether to invert the matching.
        Parameters:
        value - true if to invert
      • getInvert

        public boolean getInvert()
        Returns whether to invert the matchin.
        Returns:
        true if to invert
      • invertTipText

        public String invertTipText()
        Returns the tip text for this property.
        Returns:
        tip text for this property suitable for displaying in the GUI or for listing the options.
      • setPaintlet

        public void setPaintlet​(AbstractMarkerPaintlet value)
        Sets the actual paintlet to use.
        Parameters:
        value - the paintlet
      • paintletTipText

        public String paintletTipText()
        Returns the tip text for this property.
        Returns:
        tip text for this property suitable for displaying in the GUI or for listing the options.
      • drawData

        protected void drawData​(Graphics g,
                                XYSequence data,
                                Color color)
        Draws the marker data with the given color.
        Specified by:
        drawData in class AbstractMarkerPaintlet
        Parameters:
        g - the graphics context
        data - the marker data to draw
        color - the color to draw in