|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectdiva.gui.BasicPage
public class BasicPage
A simple concrete implementation of the Page interface.
| Red |
| Field Summary | |
|---|---|
private java.lang.Object |
_model
The model. |
private MultipageModel |
_multipage
The owning multipage. |
private java.lang.String |
_title
The title of the page. |
| 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 |
| Field Detail |
|---|
private MultipageModel _multipage
private java.lang.String _title
private java.lang.Object _model
| Constructor Detail |
|---|
public BasicPage(MultipageModel multi)
public BasicPage(MultipageModel multi,
java.lang.String title)
public BasicPage(MultipageModel multi,
java.lang.String title,
java.lang.Object model)
| Method Detail |
|---|
public MultipageModel getMultipage()
public java.lang.Object getModel()
getModel in interface Pagepublic java.lang.String getTitle()
getTitle in interface Pagepublic void setModel(java.lang.Object model)
setModel in interface Pagepublic void setTitle(java.lang.String title)
setTitle in interface Page
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||