Class NoteVisual

    • Constructor Detail

      • NoteVisual

        public NoteVisual()
    • Method Detail

      • setStepManager

        public void setStepManager​(StepManagerImpl manager)
        Set the StepManagerImpl for the step covered by this visual
        Overrides:
        setStepManager in class StepVisual
        Parameters:
        manager - the step manager to wrap
      • setHighlighted

        public void setHighlighted​(boolean highlighted)
        Set whether the note should appear "highlighted" (i.e. thicker border)
        Parameters:
        highlighted - true if the note should appear highlighted
      • setDisplayConnectors

        public void setDisplayConnectors​(boolean dc)
        Turn on/off the connector points
        Overrides:
        setDisplayConnectors in class StepVisual
        Parameters:
        dc - a boolean value
      • setDisplayConnectors

        public void setDisplayConnectors​(boolean dc,
                                         Color c)
        Turn on/off the connector points
        Overrides:
        setDisplayConnectors in class StepVisual
        Parameters:
        dc - a boolean value
        c - the Color to use
      • getDisplayStepLabel

        public boolean getDisplayStepLabel()
        Description copied from class: StepVisual
        Returns true if the step label is to be displayed. Subclasses can override to change this.
        Overrides:
        getDisplayStepLabel in class StepVisual
        Returns:
        true (default) if the step label is to be displayed
      • getFontSizeAdjust

        public int getFontSizeAdjust()
        Get the font size adjustment
        Returns:
        the font size adjustment
      • setFontSizeAdjust

        public void setFontSizeAdjust​(int adjust)
        set the font size adjustment
        Parameters:
        adjust - the font size adjustment
      • decreaseFontSize

        public void decreaseFontSize()
        Decrease the font size by one
      • increaseFontSize

        public void increaseFontSize()
        Increase the font size by one