diva.gui
Class BasicPage

java.lang.Object
  extended bydiva.gui.BasicPage
All Implemented Interfaces:
Page

public class BasicPage
extends java.lang.Object
implements Page

A simple concrete implementation of the Page interface.

Version:
$Id: BasicPage.java,v 1.9 2004/04/13 22:15:55 cxh Exp $
Author:
Heloise Hse, John Reekie
Accepted Rating:
Red

Constructor Summary
BasicPage(MultipageModel multi)
          Create a basic page owned by the given multipage.
BasicPage(MultipageModel multi, java.lang.String title)
          Create a basic page owned by the given multipage, and with the given title.
BasicPage(MultipageModel multi, java.lang.String title, java.lang.Object model)
          Create a basic page owned by the given multipage, and with the given title and model.
 
Method Summary
 java.lang.Object getModel()
          Return the model of the page.
 MultipageModel getMultipage()
          Return the multipage that owns this model.
 java.lang.String getTitle()
          Return the title of the page.
 void setModel(java.lang.Object model)
          Set the model of the page.
 void setTitle(java.lang.String title)
          Set the title of the page.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BasicPage

public BasicPage(MultipageModel multi)
Create a basic page owned by the given multipage.


BasicPage

public BasicPage(MultipageModel multi,
                 java.lang.String title)
Create a basic page owned by the given multipage, and with the given title.


BasicPage

public BasicPage(MultipageModel multi,
                 java.lang.String title,
                 java.lang.Object model)
Create a basic page owned by the given multipage, and with the given title and model.

Method Detail

getMultipage

public MultipageModel getMultipage()
Return the multipage that owns this model.


getModel

public java.lang.Object getModel()
Return the model of the page.

Specified by:
getModel in interface Page

getTitle

public java.lang.String getTitle()
Return the title of the page.

Specified by:
getTitle in interface Page

setModel

public void setModel(java.lang.Object model)
Set the model of the page.

Specified by:
setModel in interface Page

setTitle

public void setTitle(java.lang.String title)
Set the title of the page.

Specified by:
setTitle in interface Page