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.ZoomAllNodesIntoViewCommandNested 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 floatthetaFields inherited from class org.teamapps.dto.UiComponent
attributesBySelector, classNamesBySelector, debuggingId, stylesBySelector, visibleFields 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
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, getVisibleMethods inherited from class org.teamapps.dto.UiClientObject
getIdMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Field Details
-
nodes
-
links
-
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 Details
-
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 Details
-
getUiObjectType
- Specified by:
getUiObjectTypein interfaceUiObject- Overrides:
getUiObjectTypein classUiComponent
-
toString
public java.lang.String toString()- Overrides:
toStringin classUiComponent
-
getNodes
-
getLinks
-
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
- Overrides:
setIdin classUiComponent
-
setDebuggingId
- Overrides:
setDebuggingIdin classUiComponent
-
setVisible
- 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
-
setTheta
-
setAlpha
-
setCharge
-
setDistance
-
setStrength
-
setHighlightColor
-
setAnimationDuration
-