Interface GuiComponent

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      void setBackground​(java.awt.Color bgColor)
      Sets the background of the component
      void setFont​(java.awt.Font font)
      Sets the font of the component
      void setForeground​(java.awt.Color fgColor)
      Sets the foreground of the component
      void setVisible​(boolean status)
      Sets the visibility status of the component
    • Method Detail

      • setBackground

        void setBackground​(java.awt.Color bgColor)
        Sets the background of the component
        Parameters:
        bgColor - the background Color
      • setForeground

        void setForeground​(java.awt.Color fgColor)
        Sets the foreground of the component
        Parameters:
        fgColor - the foreground Color
      • setVisible

        void setVisible​(boolean status)
        Sets the visibility status of the component
        Parameters:
        status - is true to set the component visible and false else
      • setFont

        void setFont​(java.awt.Font font)
        Sets the font of the component
        Parameters:
        font - the font