public abstract class SPage extends Named
Constructor and Description |
---|
SPage(java.lang.String name)
creates a SPage with empty content
|
SPage(java.lang.String name,
java.lang.String title)
Creates a SPage with name and title
|
SPage(java.lang.String name,
java.lang.String title,
java.lang.String address)
Creates a SPage with name and title and address
|
Modifier and Type | Method and Description |
---|---|
void |
addAddon(SPageAddon addon)
a Page addon is a frame on which the main page payload is added.
|
java.lang.String |
getAddress()
an address is a string that allows direct access to a page.
|
SPageData |
getAllFinalPageAttributes() |
protected abstract SPageData |
getAllPageAttributes()
This method has to be implemented
|
protected abstract SPageNode |
getContent() |
SPageNode |
getFinalContent() |
SPageSignifPath |
getRootPath() |
java.lang.String |
getTitle()
title is a short string giving an identification of the displayed object when
relevant
|
boolean |
hasAdress()
an address is a string that allows direct access to a page.
|
void |
resetPath()
recreates the root path of the page
|
void |
setAddress(java.lang.String address)
defines the address of the page.
|
void |
setTitle(java.lang.String title) |
changeName, cleanName, equals, getName
public SPage(java.lang.String name)
name
- name of the page (unique id in the module)public SPage(java.lang.String name, java.lang.String title)
name
- name of the page (unique id in the module)title
- title to displaypublic SPage(java.lang.String name, java.lang.String title, java.lang.String address)
name
- name of the page (unique id in the module)title
- title to displayaddress
- address to call the pagepublic void setTitle(java.lang.String title)
title
- the title of the page, typically shown in the frame of the
clientpublic void setAddress(java.lang.String address)
address
- the string representing the addresspublic void resetPath()
public void addAddon(SPageAddon addon)
addon
- the page add-onprotected abstract SPageData getAllPageAttributes()
public SPageData getAllFinalPageAttributes()
protected abstract SPageNode getContent()
public SPageNode getFinalContent()
public SPageSignifPath getRootPath()
public java.lang.String getTitle()
public boolean hasAdress()
public java.lang.String getAddress()