Class TreeGraph<RECORD>
- java.lang.Object
-
- org.teamapps.ux.component.AbstractComponent
-
- org.teamapps.ux.component.charting.tree.TreeGraph<RECORD>
-
- All Implemented Interfaces:
Component
public class TreeGraph<RECORD> extends AbstractComponent
-
-
Field Summary
Fields Modifier and Type Field Description Event<TreeGraphNode<RECORD>>onNodeClickedEvent<NodeExpandedOrCollapsedEvent<RECORD>>onNodeExpandedOrCollapsed-
Fields inherited from class org.teamapps.ux.component.AbstractComponent
onDestroyed, onRendered
-
-
Constructor Summary
Constructors Constructor Description TreeGraph()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddNode(TreeGraphNode<RECORD> node)org.teamapps.dto.UiComponentcreateUiComponent()voidhandleUiEvent(org.teamapps.dto.UiEvent event)voidremoveNode(TreeGraphNode<RECORD> node)voidsetNodes(java.util.List<TreeGraphNode<RECORD>> nodes)voidsetZoomFactor(float zoomFactor)-
Methods inherited from class org.teamapps.ux.component.AbstractComponent
createUiComponentReference, destroy, doDestroy, getId, getParent, getSessionContext, isDestroyed, isEffectivelyVisible, isRendered, isVisible, mapAbstractUiComponentProperties, queueCommandIfRendered, render, reRenderIfRendered, setCssStyle, setMargin, setMaxHeight, setMaxWidth, setMinHeight, setMinWidth, setParent, setShadow, setVisible, toString, unrender
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.teamapps.ux.component.Component
setCssStyle
-
-
-
-
Field Detail
-
onNodeClicked
public final Event<TreeGraphNode<RECORD>> onNodeClicked
-
onNodeExpandedOrCollapsed
public final Event<NodeExpandedOrCollapsedEvent<RECORD>> onNodeExpandedOrCollapsed
-
-
Method Detail
-
createUiComponent
public org.teamapps.dto.UiComponent createUiComponent()
- Specified by:
createUiComponentin classAbstractComponent
-
setZoomFactor
public void setZoomFactor(float zoomFactor)
-
setNodes
public void setNodes(java.util.List<TreeGraphNode<RECORD>> nodes)
-
addNode
public void addNode(TreeGraphNode<RECORD> node)
-
removeNode
public void removeNode(TreeGraphNode<RECORD> node)
-
handleUiEvent
public void handleUiEvent(org.teamapps.dto.UiEvent event)
-
-