Class WatermarkedPanel

    • Field Detail

      • m_Watermark

        protected Watermark m_Watermark
        the watermark to apply.
    • Constructor Detail

      • WatermarkedPanel

        public WatermarkedPanel()
    • Method Detail

      • initialize

        protected void initialize()
        Initializes the members.
        Overrides:
        initialize in class BasePanel
      • initGUI

        protected void initGUI()
        Initializes the widgets.
        Overrides:
        initGUI in class BasePanel
      • setWatermark

        public void setWatermark​(Watermark value)
        Sets the watermark to use.
        Parameters:
        value - the watermark
      • getWatermark

        public Watermark getWatermark()
        Returns the current watermark in use.
        Returns:
        the watermark
      • paint

        public void paint​(Graphics g)
        Paints the component.
        Overrides:
        paint in class JComponent
        Parameters:
        g - the graphics context
      • paintComponent

        protected void paintComponent​(Graphics g)
        Paints the component.
        Overrides:
        paintComponent in class JComponent
        Parameters:
        g - the graphics context
      • printComponent

        protected void printComponent​(Graphics g)
        Paints the component when printing.
        Overrides:
        printComponent in class JComponent
        Parameters:
        g - the graphics context