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 the property arrowsVisible.booleanGets the value of the property gradientFill.doubleGets the value of the property lineWidth.getName()Gets the value of the property name.javafx.scene.paint.ColorGets the value of the property selectedStroke.javafx.scene.paint.ColorGets the value of the property sourceColor.Gets the value of the property sourceLocation.javafx.scene.paint.ColorGets the value of the property stroke.javafx.scene.paint.ColorGets the value of the property targetColor.Gets the value of the property targetLocation.Gets the value of the property tooltipText.doublegetValue()Gets the value of the property value.javafx.beans.property.BooleanPropertybooleanGets the value of the property selected.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 the property arrowsVisible.voidsetGradientFill(boolean gradientFill) Sets the value of the property gradientFill.voidsetLineWidth(double lineWidth) Sets the value of the property lineWidth.voidSets the value of the property name.voidsetOnEvt(eu.hansolo.toolbox.evt.EvtObserver<CountryEvt<Connection>> observer) voidsetSelected(boolean selected) Sets the value of the property selected.voidsetSelectedStroke(javafx.scene.paint.Color selectedStroke) Sets the value of the property selectedStroke.voidsetSourceColor(javafx.scene.paint.Color sourceColor) Sets the value of the property sourceColor.voidsetSourceLocation(CLocation sourceLocation) Sets the value of the property sourceLocation.voidsetStroke(javafx.scene.paint.Color stroke) Sets the value of the property stroke.voidsetTargetColor(javafx.scene.paint.Color targetColor) Sets the value of the property targetColor.voidsetTargetLocation(CLocation targetLocation) Sets the value of the property targetLocation.voidsetTooltipText(String tooltipText) Sets the value of the property tooltipText.voidsetValue(double value) Sets the value of the property value.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
-
sourceLocation
-
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 the property targetLocation.- Property description:
-
setTargetLocation
Sets the value of the property targetLocation.- Property description:
-
targetLocationProperty
-
getSourceLocation
Gets the value of the property sourceLocation.- Property description:
-
setSourceLocation
Sets the value of the property sourceLocation.- Property description:
-
sourceLocationProperty
-
getName
Gets the value of the property name.- Property description:
-
setName
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
Gets the value of the property tooltipText.- Property description:
-
setTooltipText
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
-
addEvtObserver
-
removeEvtObserver
-
fireEvt
-