Package org.teamapps.dto
Class UiNetworkGraph
- java.lang.Object
-
- org.teamapps.dto.UiClientObject
-
- org.teamapps.dto.UiComponent
-
- org.teamapps.dto.UiNetworkGraph
-
- All Implemented Interfaces:
UiObject
public class UiNetworkGraph extends UiComponent implements UiObject
THIS IS GENERATED CODE! PLEASE DO NOT MODIFY - ALL YOUR WORK WOULD BE LOST!
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classUiNetworkGraph.AddNodesAndLinksCommandstatic classUiNetworkGraph.NodeClickedEventstatic classUiNetworkGraph.NodeDoubleClickedEventstatic classUiNetworkGraph.NodeExpandedOrCollapsedEventstatic classUiNetworkGraph.RemoveNodesAndLinksCommandstatic classUiNetworkGraph.SetChargeCommandstatic classUiNetworkGraph.SetDistanceCommandstatic classUiNetworkGraph.SetGravityCommandstatic classUiNetworkGraph.SetZoomFactorCommandstatic classUiNetworkGraph.ZoomAllNodesIntoViewCommand-
Nested classes/interfaces inherited from class org.teamapps.dto.UiComponent
UiComponent.SetAttributesCommand, UiComponent.SetClassNamesCommand, UiComponent.SetStyleCommand, UiComponent.SetVisibleCommand
-
-
Field Summary
Fields Modifier and Type Field Description protected floatalphaprotected intanimationDurationprotected intchargeprotected intdistanceprotected floatgravityprotected java.lang.StringhighlightColorprotected java.util.List<UiNetworkImage>imagesprotected java.util.List<UiNetworkLink>linksprotected java.util.List<UiNetworkNode>nodesprotected intstrengthprotected floattheta-
Fields inherited from class org.teamapps.dto.UiComponent
attributesBySelector, classNamesBySelector, debuggingId, stylesBySelector, visible
-
Fields inherited from class org.teamapps.dto.UiClientObject
id
-
-
Constructor Summary
Constructors Constructor Description UiNetworkGraph()Deprecated.Only for Jackson deserialization.UiNetworkGraph(java.util.List<UiNetworkNode> nodes, java.util.List<UiNetworkLink> links, java.util.List<UiNetworkImage> images)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description floatgetAlpha()intgetAnimationDuration()intgetCharge()intgetDistance()floatgetGravity()java.lang.StringgetHighlightColor()java.util.List<UiNetworkImage>getImages()java.util.List<UiNetworkLink>getLinks()java.util.List<UiNetworkNode>getNodes()intgetStrength()floatgetTheta()UiObjectTypegetUiObjectType()UiNetworkGraphsetAlpha(float alpha)UiNetworkGraphsetAnimationDuration(int animationDuration)UiNetworkGraphsetAttributesBySelector(java.util.Map<java.lang.String,java.util.Map<java.lang.String,java.lang.String>> attributesBySelector)UiNetworkGraphsetCharge(int charge)UiNetworkGraphsetClassNamesBySelector(java.util.Map<java.lang.String,java.util.Map<java.lang.String,java.lang.Boolean>> classNamesBySelector)UiNetworkGraphsetDebuggingId(java.lang.String debuggingId)UiNetworkGraphsetDistance(int distance)UiNetworkGraphsetGravity(float gravity)UiNetworkGraphsetHighlightColor(java.lang.String highlightColor)UiNetworkGraphsetId(java.lang.String id)UiNetworkGraphsetStrength(int strength)UiNetworkGraphsetStylesBySelector(java.util.Map<java.lang.String,java.util.Map<java.lang.String,java.lang.String>> stylesBySelector)UiNetworkGraphsetTheta(float theta)UiNetworkGraphsetVisible(boolean visible)java.lang.StringtoString()-
Methods inherited from class org.teamapps.dto.UiComponent
getAttributesBySelector, getClassNamesBySelector, getDebuggingId, getStylesBySelector, getVisible
-
Methods inherited from class org.teamapps.dto.UiClientObject
getId
-
-
-
-
Field Detail
-
nodes
protected java.util.List<UiNetworkNode> nodes
-
links
protected java.util.List<UiNetworkLink> links
-
images
protected java.util.List<UiNetworkImage> images
-
gravity
protected float gravity
-
theta
protected float theta
-
alpha
protected float alpha
-
charge
protected int charge
-
distance
protected int distance
-
strength
protected int strength
-
highlightColor
protected java.lang.String highlightColor
-
animationDuration
protected int animationDuration
-
-
Constructor Detail
-
UiNetworkGraph
@Deprecated public UiNetworkGraph()
Deprecated.Only for Jackson deserialization. Use the other constructor instead.
-
UiNetworkGraph
public UiNetworkGraph(java.util.List<UiNetworkNode> nodes, java.util.List<UiNetworkLink> links, java.util.List<UiNetworkImage> images)
-
-
Method Detail
-
getUiObjectType
public UiObjectType getUiObjectType()
- Specified by:
getUiObjectTypein interfaceUiObject- Overrides:
getUiObjectTypein classUiComponent
-
toString
public java.lang.String toString()
- Overrides:
toStringin classUiComponent
-
getNodes
public java.util.List<UiNetworkNode> getNodes()
-
getLinks
public java.util.List<UiNetworkLink> getLinks()
-
getImages
public java.util.List<UiNetworkImage> getImages()
-
getGravity
public float getGravity()
-
getTheta
public float getTheta()
-
getAlpha
public float getAlpha()
-
getCharge
public int getCharge()
-
getDistance
public int getDistance()
-
getStrength
public int getStrength()
-
getHighlightColor
public java.lang.String getHighlightColor()
-
getAnimationDuration
public int getAnimationDuration()
-
setId
public UiNetworkGraph setId(java.lang.String id)
- Overrides:
setIdin classUiComponent
-
setDebuggingId
public UiNetworkGraph setDebuggingId(java.lang.String debuggingId)
- Overrides:
setDebuggingIdin classUiComponent
-
setVisible
public UiNetworkGraph setVisible(boolean visible)
- Overrides:
setVisiblein classUiComponent
-
setStylesBySelector
public UiNetworkGraph setStylesBySelector(java.util.Map<java.lang.String,java.util.Map<java.lang.String,java.lang.String>> stylesBySelector)
- Overrides:
setStylesBySelectorin classUiComponent
-
setClassNamesBySelector
public UiNetworkGraph setClassNamesBySelector(java.util.Map<java.lang.String,java.util.Map<java.lang.String,java.lang.Boolean>> classNamesBySelector)
- Overrides:
setClassNamesBySelectorin classUiComponent
-
setAttributesBySelector
public UiNetworkGraph setAttributesBySelector(java.util.Map<java.lang.String,java.util.Map<java.lang.String,java.lang.String>> attributesBySelector)
- Overrides:
setAttributesBySelectorin classUiComponent
-
setGravity
public UiNetworkGraph setGravity(float gravity)
-
setTheta
public UiNetworkGraph setTheta(float theta)
-
setAlpha
public UiNetworkGraph setAlpha(float alpha)
-
setCharge
public UiNetworkGraph setCharge(int charge)
-
setDistance
public UiNetworkGraph setDistance(int distance)
-
setStrength
public UiNetworkGraph setStrength(int strength)
-
setHighlightColor
public UiNetworkGraph setHighlightColor(java.lang.String highlightColor)
-
setAnimationDuration
public UiNetworkGraph setAnimationDuration(int animationDuration)
-
-