Class UiNetworkGraph.SetDistanceCommand

  • All Implemented Interfaces:
    UiCommand<java.lang.Void>
    Enclosing class:
    UiNetworkGraph

    public static class UiNetworkGraph.SetDistanceCommand
    extends java.lang.Object
    implements UiCommand<java.lang.Void>
    • Field Detail

      • componentId

        protected java.lang.String componentId
      • distance

        protected int distance
      • overrideLinkDistance

        protected boolean overrideLinkDistance
    • Constructor Detail

      • SetDistanceCommand

        @Deprecated
        public SetDistanceCommand()
        Deprecated.
        Only for Jackson deserialization. Use the other constructor instead.
      • SetDistanceCommand

        public SetDistanceCommand​(java.lang.String componentId,
                                  int distance,
                                  boolean overrideLinkDistance)
    • Method Detail

      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object
      • getComponentId

        public java.lang.String getComponentId()
        Specified by:
        getComponentId in interface UiCommand<java.lang.Void>
      • getDistance

        public int getDistance()
      • getOverrideLinkDistance

        public boolean getOverrideLinkDistance()