Class TitledPanel

All Implemented Interfaces:
ImageObserver, MenuContainer, Serializable, Accessible

public class TitledPanel extends JPanel
Panel with a title, content section, and optional left/right decorations.
See Also:
  • Constructor Details

    • TitledPanel

      public TitledPanel()
    • TitledPanel

      public TitledPanel(String title)
    • TitledPanel

      public TitledPanel(String title, Component content)
  • Method Details

    • setLayout

      public void setLayout(LayoutManager layout)
      Overrides:
      setLayout in class Container
    • getContentContainer

      public Container getContentContainer()
    • setContentContainer

      public void setContentContainer(Container container)
    • getTitlePanelPainter

      public Painter<JPanel> getTitlePanelPainter()
    • setTitlePanelPainter

      public void setTitlePanelPainter(Painter<JPanel> titlePanelPainter)
    • getTopColor

      public Color getTopColor()
    • setTopColor

      public void setTopColor(Color topColor)
    • getBottomColor

      public Color getBottomColor()
    • setBottomColor

      public void setBottomColor(Color bottomColor)
    • getTitle

      public String getTitle()
    • setTitle

      public void setTitle(String title)
    • setIcon

      public void setIcon(Icon icon)
    • getIcon

      public Icon getIcon()
    • getLeftDecoration

      public Component getLeftDecoration()
    • setLeftDecoration

      public void setLeftDecoration(Component leftComponent)
    • getRightDecoration

      public Component getRightDecoration()
    • setRightDecoration

      public void setRightDecoration(Component rightComponent)
    • getTitleLabel

      public JLabel getTitleLabel()
    • setTitleLabel

      public void setTitleLabel(JLabel titleLabel)