Class BannerPanel

All Implemented Interfaces:
ImageObserver, MenuContainer, Serializable, Accessible

public class BannerPanel extends JPanel
See Also:
  • Constructor Details

    • BannerPanel

      public BannerPanel()
    • BannerPanel

      public BannerPanel(String title, String description)
    • BannerPanel

      public BannerPanel(String title, String description, Color primaryColor, Color secondaryColor)
  • Method Details

    • paintComponent

      protected void paintComponent(Graphics g)
      Overrides:
      paintComponent in class JComponent
    • getPreferredSize

      public Dimension getPreferredSize()
      Overrides:
      getPreferredSize in class JComponent
    • getPrimaryColor

      public Color getPrimaryColor()
    • setPrimaryColor

      public void setPrimaryColor(Color primaryColor)
    • getSecondaryColor

      public Color getSecondaryColor()
    • setSecondaryColor

      public void setSecondaryColor(Color secondaryColor)
    • getTitleColor

      public Color getTitleColor()
    • setTitleColor

      public void setTitleColor(Color titleColor)
    • getDescriptionColor

      public Color getDescriptionColor()
    • setDescriptionColor

      public void setDescriptionColor(Color descriptionColor)
    • getTitle

      public String getTitle()
    • getDescription

      public String getDescription()
    • setTitle

      public void setTitle(String title)
    • setDescription

      public void setDescription(String description)
    • main

      public static void main(String[] args)