Class ForceLayoutNode<RECORD>
java.lang.Object
org.teamapps.ux.component.charting.forcelayout.ForceLayoutNode<RECORD>
public class ForceLayoutNode<RECORD>
extends java.lang.Object
-
Constructor Summary
Constructors Constructor Description ForceLayoutNode(RECORD record, int width, int height) -
Method Summary
Modifier and Type Method Description org.teamapps.common.format.ColorgetBackgroundColor()org.teamapps.common.format.ColorgetBorderColor()floatgetBorderRadius()floatgetBorderWidth()ExpandedStategetExpandedState()intgetHeight()GraphNodeIcongetIcon()protected java.lang.StringgetId()GraphNodeImagegetImage()RECORDgetRecord()TemplategetTemplate()intgetWidth()ForceLayoutNode<RECORD>setBackgroundColor(org.teamapps.common.format.Color backgroundColor)ForceLayoutNode<RECORD>setBorderColor(org.teamapps.common.format.Color borderColor)ForceLayoutNode<RECORD>setBorderRadius(float borderRadius)ForceLayoutNode<RECORD>setBorderWidth(float borderWidth)voidsetExpandedState(ExpandedState expandedState)ForceLayoutNode<RECORD>setHeight(int height)ForceLayoutNode<RECORD>setIcon(GraphNodeIcon icon)ForceLayoutNode<RECORD>setImage(GraphNodeImage image)ForceLayoutNode<RECORD>setTemplate(Template template)ForceLayoutNode<RECORD>setWidth(int width)
-
Constructor Details
-
Method Details
-
getId
protected java.lang.String getId() -
getWidth
public int getWidth() -
setWidth
-
getHeight
public int getHeight() -
setHeight
-
getBackgroundColor
public org.teamapps.common.format.Color getBackgroundColor() -
setBackgroundColor
public ForceLayoutNode<RECORD> setBackgroundColor(org.teamapps.common.format.Color backgroundColor) -
getBorderColor
public org.teamapps.common.format.Color getBorderColor() -
setBorderColor
-
getBorderWidth
public float getBorderWidth() -
setBorderWidth
-
getBorderRadius
public float getBorderRadius() -
setBorderRadius
-
getImage
-
setImage
-
getIcon
-
setIcon
-
getTemplate
-
setTemplate
-
getRecord
-
getExpandedState
-
setExpandedState
-