Package nz.ac.waikato.cms.gui.core
Class MultiPagePane.PageContainer
java.lang.Object
nz.ac.waikato.cms.gui.core.MultiPagePane.PageContainer
- All Implemented Interfaces:
Serializable
- Enclosing class:
- MultiPagePane
Container for page component and title.
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected MultiPagePane.DetachablePagethe detachable panel.protected ImageIconthe current icon (can be null).protected Componentthe page.protected Stringthe title. -
Constructor Summary
ConstructorsConstructorDescriptionPageContainer(String title, Component page) Initializes the container with no icon.PageContainer(String title, Component page, ImageIcon icon) Initializes the container. -
Method Summary
-
Field Details
-
m_Title
the title. -
m_Page
the page. -
m_DetachablePage
the detachable panel. -
m_Icon
the current icon (can be null).
-
-
Constructor Details
-
PageContainer
Initializes the container with no icon.- Parameters:
title- the titlepage- the page
-
PageContainer
Initializes the container.- Parameters:
title- the titlepage- the pageicon- the icon
-
-
Method Details
-
getTitle
Returns the title.- Returns:
- the title
-
setTitle
Sets the title.- Parameters:
value- the title
-
getPage
Returns the page.- Returns:
- the page
-
setPage
Sets the page.- Parameters:
value- the page
-
getDetachablePage
Returns the detachable page.- Returns:
- the page
-
toString
Just returns the title. -
getIcon
Returns the icon.- Returns:
- the icon
-
setIcon
Sets the icon.- Parameters:
value- the icon
-