Class TreeGraph<RECORD>
java.lang.Object
org.teamapps.ux.component.AbstractComponent
org.teamapps.ux.component.charting.tree.TreeGraph<RECORD>
- All Implemented Interfaces:
ClientObject,Component
-
Field Summary
FieldsModifier and TypeFieldDescriptionfinal Event<TreeGraphNode<RECORD>> final Event<NodeExpandedOrCollapsedEvent<RECORD>> final Event<NodeExpandedOrCollapsedEvent<RECORD>> Fields inherited from class org.teamapps.ux.component.AbstractComponent
DELETED_ATTRIBUTE, onRendered -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddNode(TreeGraphNode<RECORD> node) voidaddNodes(List<TreeGraphNode<RECORD>> nodes) intintintintintvoidhandleUiEvent(UiEvent event) booleanvoidmoveToNode(TreeGraphNode<RECORD> node) voidvoidremoveNode(TreeGraphNode<RECORD> node) voidsetCompact(boolean compact) voidsetHorizontalNonSignlingGap(int horizontalNonSignlingGap) voidsetHorizontalSiblingGap(int horizontalSiblingGap) voidsetNodes(List<TreeGraphNode<RECORD>> nodes) voidsetPropertyExtractor(PropertyExtractor<RECORD> propertyExtractor) voidsetPropertyProvider(PropertyProvider<RECORD> propertyProvider) voidsetSideListIndent(int sideListIndent) voidsetSideListVerticalGap(int sideListVerticalGap) voidsetVerticalLayerGap(int verticalLayerGap) voidsetZoomFactor(float zoomFactor) voidupdateNode(TreeGraphNode<RECORD> node) Methods inherited from class org.teamapps.ux.component.AbstractComponent
createUiReference, getDebuggingId, getId, getParent, getSessionContext, isRendered, isVisible, mapAbstractUiComponentProperties, queueCommandIfRendered, render, reRenderIfRendered, setAttribute, setCssStyle, setDebuggingId, setParent, setVisible, toggleCssClass, toString, unrenderMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface org.teamapps.ux.component.ClientObject
handleUiQueryMethods inherited from interface org.teamapps.ux.component.Component
setAriaLabel, setAttribute, setCssStyle, setHtmlTitle, setMargin, setMaxHeight, setMaxWidth, setMinHeight, setMinWidth, setShadow, toggleCssClass
-
Field Details
-
onNodeClicked
-
onNodeExpandedOrCollapsed
-
onParentExpandedOrCollapsed
-
onSideListExpandedOrCollapsed
-
-
Constructor Details
-
TreeGraph
public TreeGraph()
-
-
Method Details
-
createUiComponent
- Specified by:
createUiComponentin classAbstractComponent
-
setZoomFactor
public void setZoomFactor(float zoomFactor) -
setNodes
-
addNode
-
addNodes
-
removeNode
-
updateNode
-
handleUiEvent
-
isCompact
public boolean isCompact() -
setCompact
public void setCompact(boolean compact) -
moveToRootNode
public void moveToRootNode() -
moveToNode
-
getVerticalLayerGap
public int getVerticalLayerGap() -
setVerticalLayerGap
public void setVerticalLayerGap(int verticalLayerGap) -
getSideListIndent
public int getSideListIndent() -
setSideListIndent
public void setSideListIndent(int sideListIndent) -
getSideListVerticalGap
public int getSideListVerticalGap() -
setSideListVerticalGap
public void setSideListVerticalGap(int sideListVerticalGap) -
getHorizontalSiblingGap
public int getHorizontalSiblingGap() -
setHorizontalSiblingGap
public void setHorizontalSiblingGap(int horizontalSiblingGap) -
getHorizontalNonSignlingGap
public int getHorizontalNonSignlingGap() -
setHorizontalNonSignlingGap
public void setHorizontalNonSignlingGap(int horizontalNonSignlingGap) -
getPropertyProvider
-
setPropertyProvider
-
setPropertyExtractor
-