Class MultiPagePane.PageContainer

java.lang.Object
nz.ac.waikato.cms.gui.core.MultiPagePane.PageContainer
All Implemented Interfaces:
Serializable
Enclosing class:
MultiPagePane

public static class MultiPagePane.PageContainer extends Object implements Serializable
Container for page component and title.
See Also:
  • Field Details

  • Constructor Details

    • PageContainer

      public PageContainer(String title, Component page)
      Initializes the container with no icon.
      Parameters:
      title - the title
      page - the page
    • PageContainer

      public PageContainer(String title, Component page, ImageIcon icon)
      Initializes the container.
      Parameters:
      title - the title
      page - the page
      icon - the icon
  • Method Details

    • getTitle

      public String getTitle()
      Returns the title.
      Returns:
      the title
    • setTitle

      public void setTitle(String value)
      Sets the title.
      Parameters:
      value - the title
    • getPage

      public Component getPage()
      Returns the page.
      Returns:
      the page
    • setPage

      public void setPage(Component value)
      Sets the page.
      Parameters:
      value - the page
    • getDetachablePage

      public MultiPagePane.DetachablePage getDetachablePage()
      Returns the detachable page.
      Returns:
      the page
    • toString

      public String toString()
      Just returns the title.
      Overrides:
      toString in class Object
      Returns:
      the title
    • getIcon

      public ImageIcon getIcon()
      Returns the icon.
      Returns:
      the icon
    • setIcon

      public void setIcon(ImageIcon value)
      Sets the icon.
      Parameters:
      value - the icon