|
||||||||||
| 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.PageServer
org.openxma.dsl.reference.xma.customeredit.server.Page2Gen
public abstract class Page2Gen
This class implements the generic server part of Page2. It implements the models of the page.
| Constructor Summary | |
|---|---|
Page2Gen(at.spardat.xma.component.ComponentServer component)
Constructs the Page2Gen. |
|
| Method Summary | |
|---|---|
void |
createModels()
Create and initialize the WidgetModels of the page. |
CustomerEdit |
getTypedComponent()
Returns the component this page belongs to, casted to its actual type. |
short |
getTypeId()
Returns a unique id to identify the type of this Page. |
at.spardat.xma.mdl.WModel[] |
getWModels()
Returns an array of all WidgetModels of this page. |
void |
instanceDataToModel()
Copies attribute values of the BusinessData instance variables into their attached widget models. |
void |
modelToInstanceData()
Copies values of all attached widget models to attributes of the BusinessData instance variables. |
at.spardat.xma.mdl.table.TableRow |
orderTableAddRow(OrderStateView orders)
This method creates a TableRow object and adds it to the end of the table. |
java.lang.Object[] |
orderTableCreateCells(OrderStateView orders)
This is a support method to create the table cells of one row from one or more BusinessDatas. |
void |
orderTableFill()
This method iterates over the collection and calls orderTableAddRow for each element. |
int |
orderTableGetImageFor(OrderStateView orders)
This method is called from orderTableAddRow to figure out an image id for a particular row. |
void |
removeChild(at.spardat.xma.page.PageServer child)
Removes the given subpage. |
void |
setChild(at.spardat.xma.page.PageServer child)
Sets the given subpage. |
protected void |
setWModels(at.spardat.xma.mdl.WModel[] models)
Replaces the model array generated by guidesigner. |
| Methods inherited from class at.spardat.xma.page.PageServer |
|---|
cleanUpAfterServerEvent, clear, estimateMemory, getComponent, getParent, setParentId |
| Methods inherited from class at.spardat.xma.page.Page |
|---|
changed, commit, describe, display, equalsCS, externalize, getId, getNumWModels, getWModel, internalize, isAtServer, isStateless, randomlyChange, rollback, setId, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public Page2Gen(at.spardat.xma.component.ComponentServer component)
component - the component this page belongs to| Method Detail |
|---|
public void createModels()
public at.spardat.xma.mdl.WModel[] getWModels()
getWModels in class at.spardat.xma.page.Pageprotected void setWModels(at.spardat.xma.mdl.WModel[] models)
public short getTypeId()
getTypeId in class at.spardat.xma.page.Pagepublic CustomerEdit getTypedComponent()
public void modelToInstanceData()
public void instanceDataToModel()
public java.lang.Object[] orderTableCreateCells(OrderStateView orders)
public at.spardat.xma.mdl.table.TableRow orderTableAddRow(OrderStateView orders)
public int orderTableGetImageFor(OrderStateView orders)
public void orderTableFill()
public void setChild(at.spardat.xma.page.PageServer child)
setChild in class at.spardat.xma.page.PageServerchild - the subpage to set.public void removeChild(at.spardat.xma.page.PageServer child)
removeChild in class at.spardat.xma.page.PageServerchild - the subpage to set.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||