public class CPageData
extends java.lang.Object
Constructor and Description |
---|
CPageData(MessageReader reader)
Creates page data with the information from the server
|
Modifier and Type | Method and Description |
---|---|
void |
addInlineActionDataRef(CInlineActionDataRef inlineactiondataref) |
void |
addSubScene(javafx.stage.Stage dialog) |
void |
closeSubScene()
closes all the subscenes (popups) of the page
|
static CPageData |
echo(CActionData actionattributes)
builds the echo attributes from the the action.
|
DataElt |
getDataElement(int index) |
int |
getElementNumber() |
java.lang.String |
getMessage() |
boolean |
isPopup() |
DataElt |
lookupDataElementByName(java.lang.String name)
gets the data element with the given name
|
void |
processInlineAction(java.lang.String module,
java.lang.String name,
CPageData newdata)
updates the page data, and the page node with inline data
|
public CPageData(MessageReader reader) throws OLcRemoteException, java.io.IOException
reader
- the message reeaderOLcRemoteException
- if anything bad happens in the server during the
transmissionjava.io.IOException
- if any error happens in data transmission with
serverpublic boolean isPopup()
public java.lang.String getMessage()
public int getElementNumber()
public DataElt getDataElement(int index)
index
- index to get the data element atpublic DataElt lookupDataElementByName(java.lang.String name)
name
- name of the element to look atpublic void processInlineAction(java.lang.String module, java.lang.String name, CPageData newdata)
module
- module of the actionname
- name of the actionnewdata
- data brought backpublic void addInlineActionDataRef(CInlineActionDataRef inlineactiondataref)
inlineactiondataref
- the inline action reference to addpublic void addSubScene(javafx.stage.Stage dialog)
dialog
- a dialog (typically popup) on the pagepublic void closeSubScene()
public static CPageData echo(CActionData actionattributes)
actionattributes
- action to send as echo