Class Connection

java.lang.Object
eu.hansolo.fx.countries.tools.Connection

public class Connection extends Object
  • Property Details

  • Constructor Details

    • Connection

      public Connection(CLocation sourceLocation, CLocation targetLocation)
    • Connection

      public Connection(CLocation sourceLocation, CLocation targetLocation, javafx.scene.paint.Color stroke)
    • Connection

      public Connection(CLocation sourceLocation, CLocation targetLocation, String name)
    • Connection

      public Connection(CLocation sourceLocation, CLocation targetLocation, String name, javafx.scene.paint.Color stroke)
    • Connection

      public Connection(CLocation sourceLocation, CLocation targetLocation, String name, double value)
    • Connection

      public Connection(CLocation sourceLocation, CLocation targetLocation, String name, double value, javafx.scene.paint.Color stroke)
    • Connection

      public Connection(CLocation sourceLocation, CLocation targetLocation, String name, double value, javafx.scene.paint.Color sourceColor, javafx.scene.paint.Color targetColor, boolean gradientFill)
    • Connection

      public Connection(CLocation sourceLocation, CLocation targetLocation, String name, double value, javafx.scene.paint.Color sourceColor, javafx.scene.paint.Color targetColor, boolean gradientFill, String tooltipText)
    • Connection

      public Connection(CLocation sourceLocation, CLocation targetLocation, String name, double value, javafx.scene.paint.Color stroke, String tooltipText)
    • Connection

      public Connection(CLocation sourceLocation, CLocation targetLocation, String name, double value, javafx.scene.paint.Color stroke, javafx.scene.paint.Color sourceColor, javafx.scene.paint.Color targetColor, boolean gradientFill, double lineWidth, String tooltipText)
  • Method Details

    • getTargetLocation

      public CLocation getTargetLocation()
      Gets the value of the property targetLocation.
      Property description:
    • setTargetLocation

      public void setTargetLocation(CLocation targetLocation)
      Sets the value of the property targetLocation.
      Property description:
    • targetLocationProperty

      public javafx.beans.property.ObjectProperty<CLocation> targetLocationProperty()
      See Also:
    • getSourceLocation

      public CLocation getSourceLocation()
      Gets the value of the property sourceLocation.
      Property description:
    • setSourceLocation

      public void setSourceLocation(CLocation sourceLocation)
      Sets the value of the property sourceLocation.
      Property description:
    • sourceLocationProperty

      public javafx.beans.property.ObjectProperty<CLocation> sourceLocationProperty()
      See Also:
    • getName

      public String getName()
      Gets the value of the property name.
      Property description:
    • setName

      public void setName(String name)
      Sets the value of the property name.
      Property description:
    • nameProperty

      public javafx.beans.property.StringProperty nameProperty()
      See Also:
    • getValue

      public double getValue()
      Gets the value of the property value.
      Property description:
    • setValue

      public void setValue(double value)
      Sets the value of the property value.
      Property description:
    • valueProperty

      public javafx.beans.property.DoubleProperty valueProperty()
      See Also:
    • getStroke

      public javafx.scene.paint.Color getStroke()
      Gets the value of the property stroke.
      Property description:
    • setStroke

      public void setStroke(javafx.scene.paint.Color stroke)
      Sets the value of the property stroke.
      Property description:
    • strokeProperty

      public javafx.beans.property.ObjectProperty<javafx.scene.paint.Color> strokeProperty()
      See Also:
    • getSourceColor

      public javafx.scene.paint.Color getSourceColor()
      Gets the value of the property sourceColor.
      Property description:
    • setSourceColor

      public void setSourceColor(javafx.scene.paint.Color sourceColor)
      Sets the value of the property sourceColor.
      Property description:
    • sourceColorProperty

      public javafx.beans.property.ObjectProperty<javafx.scene.paint.Color> sourceColorProperty()
      See Also:
    • getTargetColor

      public javafx.scene.paint.Color getTargetColor()
      Gets the value of the property targetColor.
      Property description:
    • setTargetColor

      public void setTargetColor(javafx.scene.paint.Color targetColor)
      Sets the value of the property targetColor.
      Property description:
    • targetColorProperty

      public javafx.beans.property.ObjectProperty<javafx.scene.paint.Color> targetColorProperty()
      See Also:
    • getGradientFill

      public boolean getGradientFill()
      Gets the value of the property gradientFill.
      Property description:
    • setGradientFill

      public void setGradientFill(boolean gradientFill)
      Sets the value of the property gradientFill.
      Property description:
    • gradientFillProperty

      public javafx.beans.property.BooleanProperty gradientFillProperty()
      See Also:
    • getSelectedStroke

      public javafx.scene.paint.Color getSelectedStroke()
      Gets the value of the property selectedStroke.
      Property description:
    • setSelectedStroke

      public void setSelectedStroke(javafx.scene.paint.Color selectedStroke)
      Sets the value of the property selectedStroke.
      Property description:
    • selectedStrokeProperty

      public javafx.beans.property.ObjectProperty<javafx.scene.paint.Color> selectedStrokeProperty()
      See Also:
    • getLineWidth

      public double getLineWidth()
      Gets the value of the property lineWidth.
      Property description:
    • setLineWidth

      public void setLineWidth(double lineWidth)
      Sets the value of the property lineWidth.
      Property description:
    • lineWidthProperty

      public javafx.beans.property.DoubleProperty lineWidthProperty()
      See Also:
    • getArrowsVisible

      public boolean getArrowsVisible()
      Gets the value of the property arrowsVisible.
      Property description:
    • setArrowsVisible

      public void setArrowsVisible(boolean arrowsVisible)
      Sets the value of the property arrowsVisible.
      Property description:
    • arrowsVisibleProperty

      public javafx.beans.property.BooleanProperty arrowsVisibleProperty()
      See Also:
    • getTooltipText

      public String getTooltipText()
      Gets the value of the property tooltipText.
      Property description:
    • setTooltipText

      public void setTooltipText(String tooltipText)
      Sets the value of the property tooltipText.
      Property description:
    • tooltipTextProperty

      public javafx.beans.property.StringProperty tooltipTextProperty()
      See Also:
    • isSelected

      public boolean isSelected()
      Gets the value of the property selected.
      Property description:
    • setSelected

      public void setSelected(boolean selected)
      Sets the value of the property selected.
      Property description:
    • selectedProperty

      public javafx.beans.property.BooleanProperty selectedProperty()
      See Also:
    • setOnEvt

      public void setOnEvt(eu.hansolo.toolbox.evt.EvtObserver<CountryEvt<Connection>> observer)
    • addEvtObserver

      public void addEvtObserver(eu.hansolo.toolbox.evt.EvtObserver<CountryEvt<Connection>> observer)
    • removeEvtObserver

      public void removeEvtObserver(eu.hansolo.toolbox.evt.EvtObserver<CountryEvt<Connection>> observer)
    • fireEvt

      public void fireEvt(CountryEvt evt)