|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectat.spardat.xma.page.Page
at.spardat.xma.page.PageClient
at.spardat.xma.page.NotebookPage
Base class of all Pages shown as a folder inside a Notebook.
| Field Summary |
| Fields inherited from class at.spardat.xma.page.PageClient |
composite |
| Constructor Summary | |
NotebookPage(Notebook notebook,
boolean stateless)
Initializes the NotebookPage inside the given Notebook. |
|
| Method Summary | |
protected boolean |
close()
This method will be called every time the NotebookPage is tried to be closed by clicking on the TabFolder and switching to another NotebookPage. |
org.eclipse.swt.widgets.Composite |
createComposite(org.eclipse.swt.widgets.Composite parentComp)
Creates the SWT-Composite of the NotebookPage. |
protected org.eclipse.swt.widgets.TabItem |
createTabItem(org.eclipse.swt.widgets.TabFolder tabfolderW,
int index)
Creates the coresponding TabItem |
org.eclipse.swt.widgets.Composite |
getComposite()
Get the SWT-Composite of the NotebookPage. |
Notebook |
getNotebook()
Gets the Notebook containing this NotebookPage. |
org.eclipse.swt.widgets.TabItem |
getTabItem()
Get the TabItem corresponding to this NotebookPage |
void |
initGUI()
Creates the Composite and Widgets of the NotebookPage by calling PageClient.createWidgets(). |
| Methods inherited from class at.spardat.xma.page.Page |
changed, commit, describe, display, equalsCS, externalize, getId, getNumWModels, getTypeId, getWModel, getWModels, internalize, isAtServer, isStateless, randomlyChange, rollback, toString |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public NotebookPage(Notebook notebook,
boolean stateless)
notebook - the Notebook containing this NotebookPage.| Method Detail |
public Notebook getNotebook()
public org.eclipse.swt.widgets.Composite getComposite()
getComposite in interface at.spardat.xma.boot.component.IXMAControlgetComposite in class PageClientpublic org.eclipse.swt.widgets.Composite createComposite(org.eclipse.swt.widgets.Composite parentComp)
parentComp - the SWT-Composite to use as parent of the created SWT-Composite.
public void initGUI()
PageClient.createWidgets().
initGUI in interface at.spardat.xma.boot.component.IXMAControlinitGUI in class PageClient
protected org.eclipse.swt.widgets.TabItem createTabItem(org.eclipse.swt.widgets.TabFolder tabfolderW,
int index)
tabfolderW - the parent of the TabItemindex - the position where to add the TabItem to its TabFolderpublic org.eclipse.swt.widgets.TabItem getTabItem()
protected boolean close()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||