java.lang.Object
eu.hansolo.fx.countries.tools.Connection
-
Property Summary
PropertiesTypePropertyDescriptionjavafx.beans.property.BooleanPropertyjavafx.beans.property.BooleanPropertyjavafx.beans.property.DoublePropertyjavafx.beans.property.StringPropertyjavafx.beans.property.BooleanPropertyjavafx.beans.property.ObjectProperty<javafx.scene.paint.Color> javafx.beans.property.ObjectProperty<javafx.scene.paint.Color> javafx.beans.property.ObjectProperty<CLocation> javafx.beans.property.ObjectProperty<javafx.scene.paint.Color> javafx.beans.property.ObjectProperty<javafx.scene.paint.Color> javafx.beans.property.ObjectProperty<CLocation> javafx.beans.property.StringPropertyjavafx.beans.property.DoubleProperty -
Constructor Summary
ConstructorsConstructorDescriptionConnection(CLocation sourceLocation, CLocation targetLocation) Connection(CLocation sourceLocation, CLocation targetLocation, String name) Connection(CLocation sourceLocation, CLocation targetLocation, String name, double value) Connection(CLocation sourceLocation, CLocation targetLocation, String name, double value, javafx.scene.paint.Color stroke) Connection(CLocation sourceLocation, CLocation targetLocation, String name, double value, javafx.scene.paint.Color stroke, String tooltipText) Connection(CLocation sourceLocation, CLocation targetLocation, String name, double value, javafx.scene.paint.Color sourceColor, javafx.scene.paint.Color targetColor, boolean gradientFill) Connection(CLocation sourceLocation, CLocation targetLocation, String name, double value, javafx.scene.paint.Color sourceColor, javafx.scene.paint.Color targetColor, boolean gradientFill, String tooltipText) 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) Connection(CLocation sourceLocation, CLocation targetLocation, String name, javafx.scene.paint.Color stroke) Connection(CLocation sourceLocation, CLocation targetLocation, javafx.scene.paint.Color stroke) -
Method Summary
Modifier and TypeMethodDescriptionvoidaddEvtObserver(eu.hansolo.toolbox.evt.EvtObserver<CountryEvt<Connection>> observer) javafx.beans.property.BooleanPropertyvoidfireEvt(CountryEvt evt) booleanGets the value of thearrowsVisibleproperty.booleanGets the value of thegradientFillproperty.doubleGets the value of thelineWidthproperty.getName()Gets the value of thenameproperty.javafx.scene.paint.ColorGets the value of theselectedStrokeproperty.javafx.scene.paint.ColorGets the value of thesourceColorproperty.Gets the value of thesourceLocationproperty.javafx.scene.paint.ColorGets the value of thestrokeproperty.javafx.scene.paint.ColorGets the value of thetargetColorproperty.Gets the value of thetargetLocationproperty.Gets the value of thetooltipTextproperty.doublegetValue()Gets the value of thevalueproperty.javafx.beans.property.BooleanPropertybooleanGets the value of theselectedproperty.javafx.beans.property.DoublePropertyjavafx.beans.property.StringPropertyvoidremoveEvtObserver(eu.hansolo.toolbox.evt.EvtObserver<CountryEvt<Connection>> observer) javafx.beans.property.BooleanPropertyjavafx.beans.property.ObjectProperty<javafx.scene.paint.Color> voidsetArrowsVisible(boolean arrowsVisible) Sets the value of thearrowsVisibleproperty.voidsetGradientFill(boolean gradientFill) Sets the value of thegradientFillproperty.voidsetLineWidth(double lineWidth) Sets the value of thelineWidthproperty.voidSets the value of thenameproperty.voidsetOnEvt(eu.hansolo.toolbox.evt.EvtObserver<CountryEvt<Connection>> observer) voidsetSelected(boolean selected) Sets the value of theselectedproperty.voidsetSelectedStroke(javafx.scene.paint.Color selectedStroke) Sets the value of theselectedStrokeproperty.voidsetSourceColor(javafx.scene.paint.Color sourceColor) Sets the value of thesourceColorproperty.voidsetSourceLocation(CLocation sourceLocation) Sets the value of thesourceLocationproperty.voidsetStroke(javafx.scene.paint.Color stroke) Sets the value of thestrokeproperty.voidsetTargetColor(javafx.scene.paint.Color targetColor) Sets the value of thetargetColorproperty.voidsetTargetLocation(CLocation targetLocation) Sets the value of thetargetLocationproperty.voidsetTooltipText(String tooltipText) Sets the value of thetooltipTextproperty.voidsetValue(double value) Sets the value of thevalueproperty.javafx.beans.property.ObjectProperty<javafx.scene.paint.Color> javafx.beans.property.ObjectProperty<CLocation> javafx.beans.property.ObjectProperty<javafx.scene.paint.Color> javafx.beans.property.ObjectProperty<javafx.scene.paint.Color> javafx.beans.property.ObjectProperty<CLocation> javafx.beans.property.StringPropertyjavafx.beans.property.DoubleProperty
-
Property Details
-
targetLocation
- See Also:
-
sourceLocation
- See Also:
-
name
public javafx.beans.property.StringProperty nameProperty- See Also:
-
value
public javafx.beans.property.DoubleProperty valueProperty- See Also:
-
stroke
public javafx.beans.property.ObjectProperty<javafx.scene.paint.Color> strokeProperty- See Also:
-
sourceColor
public javafx.beans.property.ObjectProperty<javafx.scene.paint.Color> sourceColorProperty- See Also:
-
targetColor
public javafx.beans.property.ObjectProperty<javafx.scene.paint.Color> targetColorProperty- See Also:
-
gradientFill
public javafx.beans.property.BooleanProperty gradientFillProperty- See Also:
-
selectedStroke
public javafx.beans.property.ObjectProperty<javafx.scene.paint.Color> selectedStrokeProperty- See Also:
-
lineWidth
public javafx.beans.property.DoubleProperty lineWidthProperty- See Also:
-
arrowsVisible
public javafx.beans.property.BooleanProperty arrowsVisibleProperty- See Also:
-
tooltipText
public javafx.beans.property.StringProperty tooltipTextProperty- See Also:
-
selected
public javafx.beans.property.BooleanProperty selectedProperty- See Also:
-
-
Constructor Details
-
Connection
-
Connection
-
Connection
-
Connection
-
Connection
-
Connection
-
Connection
-
Connection
-
Connection
-
Connection
-
-
Method Details
-
getTargetLocation
Gets the value of thetargetLocationproperty.- Property description:
- Returns:
- the value of the
targetLocationproperty - See Also:
-
setTargetLocation
Sets the value of thetargetLocationproperty.- Property description:
- Parameters:
targetLocation- the value for thetargetLocationproperty- See Also:
-
targetLocationProperty
- Returns:
- the
targetLocationproperty - See Also:
-
getSourceLocation
Gets the value of thesourceLocationproperty.- Property description:
- Returns:
- the value of the
sourceLocationproperty - See Also:
-
setSourceLocation
Sets the value of thesourceLocationproperty.- Property description:
- Parameters:
sourceLocation- the value for thesourceLocationproperty- See Also:
-
sourceLocationProperty
- Returns:
- the
sourceLocationproperty - See Also:
-
getName
Gets the value of thenameproperty.- Property description:
- Returns:
- the value of the
nameproperty - See Also:
-
setName
Sets the value of thenameproperty.- Property description:
- Parameters:
name- the value for thenameproperty- See Also:
-
nameProperty
public javafx.beans.property.StringProperty nameProperty()- Returns:
- the
nameproperty - See Also:
-
getValue
public double getValue()Gets the value of thevalueproperty.- Property description:
- Returns:
- the value of the
valueproperty - See Also:
-
setValue
public void setValue(double value) Sets the value of thevalueproperty.- Property description:
- Parameters:
value- the value for thevalueproperty- See Also:
-
valueProperty
public javafx.beans.property.DoubleProperty valueProperty()- Returns:
- the
valueproperty - See Also:
-
getStroke
public javafx.scene.paint.Color getStroke()Gets the value of thestrokeproperty.- Property description:
- Returns:
- the value of the
strokeproperty - See Also:
-
setStroke
public void setStroke(javafx.scene.paint.Color stroke) Sets the value of thestrokeproperty.- Property description:
- Parameters:
stroke- the value for thestrokeproperty- See Also:
-
strokeProperty
public javafx.beans.property.ObjectProperty<javafx.scene.paint.Color> strokeProperty()- Returns:
- the
strokeproperty - See Also:
-
getSourceColor
public javafx.scene.paint.Color getSourceColor()Gets the value of thesourceColorproperty.- Property description:
- Returns:
- the value of the
sourceColorproperty - See Also:
-
setSourceColor
public void setSourceColor(javafx.scene.paint.Color sourceColor) Sets the value of thesourceColorproperty.- Property description:
- Parameters:
sourceColor- the value for thesourceColorproperty- See Also:
-
sourceColorProperty
public javafx.beans.property.ObjectProperty<javafx.scene.paint.Color> sourceColorProperty()- Returns:
- the
sourceColorproperty - See Also:
-
getTargetColor
public javafx.scene.paint.Color getTargetColor()Gets the value of thetargetColorproperty.- Property description:
- Returns:
- the value of the
targetColorproperty - See Also:
-
setTargetColor
public void setTargetColor(javafx.scene.paint.Color targetColor) Sets the value of thetargetColorproperty.- Property description:
- Parameters:
targetColor- the value for thetargetColorproperty- See Also:
-
targetColorProperty
public javafx.beans.property.ObjectProperty<javafx.scene.paint.Color> targetColorProperty()- Returns:
- the
targetColorproperty - See Also:
-
getGradientFill
public boolean getGradientFill()Gets the value of thegradientFillproperty.- Property description:
- Returns:
- the value of the
gradientFillproperty - See Also:
-
setGradientFill
public void setGradientFill(boolean gradientFill) Sets the value of thegradientFillproperty.- Property description:
- Parameters:
gradientFill- the value for thegradientFillproperty- See Also:
-
gradientFillProperty
public javafx.beans.property.BooleanProperty gradientFillProperty()- Returns:
- the
gradientFillproperty - See Also:
-
getSelectedStroke
public javafx.scene.paint.Color getSelectedStroke()Gets the value of theselectedStrokeproperty.- Property description:
- Returns:
- the value of the
selectedStrokeproperty - See Also:
-
setSelectedStroke
public void setSelectedStroke(javafx.scene.paint.Color selectedStroke) Sets the value of theselectedStrokeproperty.- Property description:
- Parameters:
selectedStroke- the value for theselectedStrokeproperty- See Also:
-
selectedStrokeProperty
public javafx.beans.property.ObjectProperty<javafx.scene.paint.Color> selectedStrokeProperty()- Returns:
- the
selectedStrokeproperty - See Also:
-
getLineWidth
public double getLineWidth()Gets the value of thelineWidthproperty.- Property description:
- Returns:
- the value of the
lineWidthproperty - See Also:
-
setLineWidth
public void setLineWidth(double lineWidth) Sets the value of thelineWidthproperty.- Property description:
- Parameters:
lineWidth- the value for thelineWidthproperty- See Also:
-
lineWidthProperty
public javafx.beans.property.DoubleProperty lineWidthProperty()- Returns:
- the
lineWidthproperty - See Also:
-
getArrowsVisible
public boolean getArrowsVisible()Gets the value of thearrowsVisibleproperty.- Property description:
- Returns:
- the value of the
arrowsVisibleproperty - See Also:
-
setArrowsVisible
public void setArrowsVisible(boolean arrowsVisible) Sets the value of thearrowsVisibleproperty.- Property description:
- Parameters:
arrowsVisible- the value for thearrowsVisibleproperty- See Also:
-
arrowsVisibleProperty
public javafx.beans.property.BooleanProperty arrowsVisibleProperty()- Returns:
- the
arrowsVisibleproperty - See Also:
-
getTooltipText
Gets the value of thetooltipTextproperty.- Property description:
- Returns:
- the value of the
tooltipTextproperty - See Also:
-
setTooltipText
Sets the value of thetooltipTextproperty.- Property description:
- Parameters:
tooltipText- the value for thetooltipTextproperty- See Also:
-
tooltipTextProperty
public javafx.beans.property.StringProperty tooltipTextProperty()- Returns:
- the
tooltipTextproperty - See Also:
-
isSelected
public boolean isSelected()Gets the value of theselectedproperty.- Property description:
- Returns:
- the value of the
selectedproperty - See Also:
-
setSelected
public void setSelected(boolean selected) Sets the value of theselectedproperty.- Property description:
- Parameters:
selected- the value for theselectedproperty- See Also:
-
selectedProperty
public javafx.beans.property.BooleanProperty selectedProperty()- Returns:
- the
selectedproperty - See Also:
-
setOnEvt
-
addEvtObserver
-
removeEvtObserver
-
fireEvt
-