public abstract class CPageNode
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
protected static java.util.logging.Logger |
logger |
protected CPageSignifPath |
nodepath |
Constructor and Description |
---|
CPageNode(CPageSignifPath parentpath,
java.lang.String significantpath)
creates a page node
|
CPageNode(MessageReader reader,
CPageSignifPath parentpath) |
Modifier and Type | Method and Description |
---|---|
abstract CPageNode |
deepcopyWithCallback(Callback callback) |
abstract void |
forceUpdateData(DataElt dataelt) |
abstract DataElt |
getDataElt(DataEltType type,
java.lang.String eltname,
java.lang.String objectdataloc)
Returns a filled data element of the specified data element type.
|
abstract javafx.scene.Node |
getNode(PageActionManager actionmanager,
CPageData inputdata,
javafx.stage.Window parentwindow,
javafx.scene.control.TabPane[] parenttabpanes) |
CPageSignifPath |
getParentpath() |
CPageSignifPath |
getPath() |
java.lang.String |
getSignificantpath() |
abstract void |
mothball()
cleans the page node.
|
static CPageNode |
parseNode(MessageReader reader,
CPageSignifPath parentpath) |
static void |
setPageCatelog(CPageNodeCatalog catalog)
before using the CPageNode methods, especially the static method parseNode
|
protected static java.util.logging.Logger logger
protected CPageSignifPath nodepath
public CPageNode(CPageSignifPath parentpath, java.lang.String significantpath)
parentpath
- parent path for the nodesignificantpath
- if this node has a significant path, a non null stringpublic CPageNode(MessageReader reader, CPageSignifPath parentpath) throws OLcRemoteException, java.io.IOException
reader
- message readerparentpath
- parent path elementOLcRemoteException
- if anything bad happens on the serverjava.io.IOException
- if anything bad happens during the transmissionpublic static void setPageCatelog(CPageNodeCatalog catalog)
catalog
- the widget catalog to use.public abstract CPageNode deepcopyWithCallback(Callback callback)
callback
- the callback method, may be nullpublic abstract javafx.scene.Node getNode(PageActionManager actionmanager, CPageData inputdata, javafx.stage.Window parentwindow, javafx.scene.control.TabPane[] parenttabpanes)
actionmanager
- the action manager on which to register all widgets
that trigger an actioninputdata
- the list of input data of the pageparentwindow
- the javafx window this widget will be drawn inparenttabpanes
- parenttabpanes that should be triggered a layout when
this component resizespublic abstract DataElt getDataElt(DataEltType type, java.lang.String eltname, java.lang.String objectdataloc)
type
- requested type (will be tested by the widget to see if
valid)eltname
- the name that will be put to the data elementobjectdataloc
- public CPageSignifPath getParentpath()
public CPageSignifPath getPath()
public java.lang.String getSignificantpath()
public static CPageNode parseNode(MessageReader reader, CPageSignifPath parentpath) throws OLcRemoteException, java.io.IOException
reader
- readerparentpath
- path elementOLcRemoteException
- if anything bad happens on the serverjava.io.IOException
- if anything bad happens during the transmissionpublic abstract void forceUpdateData(DataElt dataelt)
dataelt
- adds data element to the nodepublic abstract void mothball()