diva.gui
Class BasicPage

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

public class BasicPage
extends Object
implements Page

A simple concrete implementation of the Page interface.

Version:
$Revision: 1.4 $
Author:
Heloise Hse (hwawen@eecs.berkeley.edu), John Reekie (johnr@eecs.berkeley.edu)

Constructor Summary
BasicPage(MultipageModel multi)
          Create a basic page owned by the given multipage.
BasicPage(MultipageModel multi, String title)
          Create a basic page owned by the given multipage, and with the given title.
BasicPage(MultipageModel multi, String title, Object model)
          Create a basic page owned by the given multipage, and with the given title and model.
 
Method Summary
 Object getModel()
          Return the model of the page.
 MultipageModel getMultipage()
          Return the multipage that owns this model.
 String getTitle()
          Return the title of the page.
 void setModel(Object model)
          Set the model of the page.
 void setTitle(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,
                 String title)
Create a basic page owned by the given multipage, and with the given title.


BasicPage

public BasicPage(MultipageModel multi,
                 String title,
                 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 Object getModel()
Return the model of the page.

Specified by:
getModel in interface Page

getTitle

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

Specified by:
getTitle in interface Page

setModel

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

Specified by:
setModel in interface Page

setTitle

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

Specified by:
setTitle in interface Page


Copyright © 2015 Central Laboratory of the Research Councils. All Rights Reserved.