Class DataCollectionNodeContainerParams
java.lang.Object
overit.geocallapp.wfm.core.ux.datacollection.node.container.DataCollectionNodeContainerParams
Class that contains all the main parameters of the data collection node that will be
used in
DataCollectionNodeContainer.- Since:
- 12.0
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected DataCollectionNodeprotected TreeModel<DataCollectionNode> -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the edit node.Returns the new node tree consumer.Returns the root node.booleanChecks if it is in edit mode.booleanChecks if it is in read only.voidsetEditNode(DataCollectionNode editNode) Sets the edit node.voidsetNewNodeTreeConsumer(Consumer<UXTreeModel<DataCollectionNode, DataCollectionTreeProperties>> newNodeTreeConsumer) Set the new node tree consumer.voidsetReadonly(boolean readonly) Sets if it is read only.voidsetRootNode(TreeModel<DataCollectionNode> rootNode) Sets the root node.
-
Field Details
-
newNodeTreeConsumer
protected Consumer<UXTreeModel<DataCollectionNode,DataCollectionTreeProperties>> newNodeTreeConsumer -
editNode
-
rootNode
-
-
Constructor Details
-
DataCollectionNodeContainerParams
public DataCollectionNodeContainerParams()
-
-
Method Details
-
getNewNodeTreeConsumer
public Consumer<UXTreeModel<DataCollectionNode,DataCollectionTreeProperties>> getNewNodeTreeConsumer()Returns the new node tree consumer.- Returns:
- the new node tree consumer
-
setNewNodeTreeConsumer
public void setNewNodeTreeConsumer(Consumer<UXTreeModel<DataCollectionNode, DataCollectionTreeProperties>> newNodeTreeConsumer) Set the new node tree consumer.- Parameters:
newNodeTreeConsumer- the new node tree consumer
-
getEditNode
Returns the edit node.- Returns:
- the edit node
-
setEditNode
Sets the edit node.- Parameters:
editNode- the edit node
-
isEditMode
public boolean isEditMode()Checks if it is in edit mode.- Returns:
- true, if it is in edit mode
-
isReadonly
public boolean isReadonly()Checks if it is in read only.- Returns:
- true, if it is in read only
-
setReadonly
public void setReadonly(boolean readonly) Sets if it is read only.- Parameters:
readonly- the read only
-
getRootNode
Returns the root node.- Returns:
- the root node
-
setRootNode
Sets the root node.- Parameters:
rootNode- the root node
-