public class CAreaChart extends CPageNode
Constructor and Description |
---|
CAreaChart(MessageReader reader,
CPageSignifPath parentpath)
Create a CAreaChart
|
Modifier and Type | Method and Description |
---|---|
CPageNode |
deepcopyWithCallback(Callback callback) |
void |
forceUpdateData(DataElt dataelt) |
DataElt |
getDataElt(DataEltType type,
java.lang.String eltname,
java.lang.String objectdataloc)
Returns a filled data element of the specified data element type.
|
ArrayDataElt<ObjectDataElt> |
getExternalContent(CPageData inputdata,
CPageDataRef dataref)
gets the content in the chart from the page data
|
javafx.scene.Node |
getNode(PageActionManager actionmanager,
CPageData inputdata,
javafx.stage.Window parentwindow,
javafx.scene.control.TabPane[] parenttabpanes) |
void |
mothball()
cleans the page node.
|
getParentpath, getPath, getSignificantpath, parseNode, setPageCatelog
public CAreaChart(MessageReader reader, CPageSignifPath parentpath) throws OLcRemoteException, java.io.IOException
reader
- readerparentpath
- parent path of the widgetOLcRemoteException
- if something bad happens on the serverjava.io.IOException
- if something bad happens during the transmission
between the client and the serverpublic CPageNode deepcopyWithCallback(Callback callback)
deepcopyWithCallback
in class CPageNode
callback
- the callback method, may be nullpublic javafx.scene.Node getNode(PageActionManager actionmanager, CPageData inputdata, javafx.stage.Window parentwindow, javafx.scene.control.TabPane[] parenttabpanes)
getNode
in class CPageNode
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 ArrayDataElt<ObjectDataElt> getExternalContent(CPageData inputdata, CPageDataRef dataref)
inputdata
- input datadataref
- reference of datapublic DataElt getDataElt(DataEltType type, java.lang.String eltname, java.lang.String objectdataloc)
CPageNode
getDataElt
in class CPageNode
type
- requested type (will be tested by the widget to see if
valid)eltname
- the name that will be put to the data elementpublic void forceUpdateData(DataElt dataelt)
forceUpdateData
in class CPageNode
dataelt
- adds data element to the node