java.lang.Object
eu.hansolo.fx.charts.data.PlotItem
- All Implemented Interfaces:
Item,Comparable<PlotItem>
-
Property Summary
PropertiesTypePropertyDescriptionjavafx.beans.property.ReadOnlyObjectProperty<javafx.scene.paint.Color>javafx.beans.property.StringPropertyjavafx.beans.property.ObjectProperty<javafx.scene.paint.Color>javafx.beans.property.ObjectProperty<javafx.scene.text.Font>javafx.beans.property.StringPropertyjavafx.beans.property.ObjectProperty<javafx.scene.paint.Color>javafx.beans.property.ObjectProperty<Symbol>javafx.beans.property.ObjectProperty<javafx.scene.paint.Color>javafx.beans.property.DoublePropertyjavafx.beans.property.ObjectProperty<Position> -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddChartEvtObserver(eu.hansolo.toolbox.evt.EvtType type, eu.hansolo.toolbox.evt.EvtObserver<ChartEvt> observer) protected voidaddToIncoming(PlotItem ITEM, double VALUE) voidaddToOutgoing(PlotItem ITEM, double VALUE) protected voidvoidintjavafx.beans.property.ReadOnlyObjectProperty<javafx.scene.paint.Color>javafx.beans.property.StringPropertybooleanjavafx.beans.property.ObjectProperty<javafx.scene.paint.Color>voidfireChartEvt(ChartEvt evt) javafx.beans.property.ObjectProperty<javafx.scene.text.Font>javafx.scene.paint.ColorGets the value of the property connectionFill.Gets the value of the property description.javafx.scene.paint.ColorgetFill()Gets the value of the property fill.javafx.scene.text.FontgetFont()Gets the value of the property font.doublegetIncomingValueFrom(PlotItem INCOMING_ITEM) intgetLevel()doublegetName()Gets the value of the property name.doublegetOutgoingValueTo(PlotItem OUTGOING_ITEM) javafx.scene.paint.ColorGets the value of the property stroke.doubledoubleGets the value of the property symbol.javafx.scene.paint.ColorGets the value of the property textColor.doublegetValue()Gets the value of the property value.Gets the value of the property verticalTextPosition.inthashCode()booleanbooleanbooleanjavafx.beans.property.BooleanPropertybooleanisLeaf()booleanisRoot()javafx.beans.property.StringPropertyvoidvoidremoveChartEvtObserver(eu.hansolo.toolbox.evt.EvtType type, eu.hansolo.toolbox.evt.EvtObserver<ChartEvt> observer) protected voidremoveFromIncoming(PlotItem ITEM) voidremoveFromOutgoing(PlotItem ITEM) voidsetCluster(Cluster CLUSTER) voidsetDescription(String DESCRIPTION) Sets the value of the property description.voidsetFill(javafx.scene.paint.Color FILL) Sets the value of the property fill.voidsetFont(javafx.scene.text.Font FONT) Sets the value of the property font.protected voidsetIncoming(Map<PlotItem, Double> INCOMING) voidsetIsEmpty(boolean isEmpty) voidsetLevel(int LEVEL) voidSets the value of the property name.voidsetOutgoing(Map<PlotItem, Double> OUTGOING) voidsetStroke(javafx.scene.paint.Color STROKE) Sets the value of the property stroke.voidSets the value of the property symbol.voidsetTextColor(javafx.scene.paint.Color TEXT_COLOR) Sets the value of the property textColor.voidsetValue(double VALUE) Sets the value of the property value.voidsetVerticalTextPosition(Position verticalTextPosition) Sets the value of the property verticalTextPosition.voidsortIncomingByGivenList(List<PlotItem> LIST_WITH_SORTED_ITEMS) voidsortOutgoingByGivenList(List<PlotItem> LIST_WITH_SORTED_ITEMS) javafx.beans.property.ObjectProperty<javafx.scene.paint.Color>javafx.beans.property.ObjectProperty<Symbol>javafx.beans.property.ObjectProperty<javafx.scene.paint.Color>javafx.beans.property.DoublePropertyjavafx.beans.property.ObjectProperty<Position>
-
Property Details
-
name
public javafx.beans.property.StringProperty nameProperty- See Also:
-
value
public javafx.beans.property.DoubleProperty valueProperty- See Also:
-
description
public javafx.beans.property.StringProperty descriptionProperty- See Also:
-
fill
public javafx.beans.property.ObjectProperty<javafx.scene.paint.Color> fillProperty- See Also:
-
stroke
public javafx.beans.property.ObjectProperty<javafx.scene.paint.Color> strokeProperty- See Also:
-
connectionFill
public javafx.beans.property.ReadOnlyObjectProperty<javafx.scene.paint.Color> connectionFillProperty- See Also:
-
textColor
public javafx.beans.property.ObjectProperty<javafx.scene.paint.Color> textColorProperty- See Also:
-
font
public javafx.beans.property.ObjectProperty<javafx.scene.text.Font> fontProperty- See Also:
-
symbol
- See Also:
-
verticalTextPosition
-
-
Constructor Details
-
PlotItem
public PlotItem() -
PlotItem
public PlotItem(boolean IS_EMPTY) -
PlotItem
-
PlotItem
-
PlotItem
-
PlotItem
-
PlotItem
-
PlotItem
-
PlotItem
-
PlotItem
-
PlotItem
-
PlotItem
public PlotItem(String NAME, double VALUE, javafx.scene.paint.Color COLOR, int LEVEL, boolean IS_EMPTY) -
PlotItem
-
PlotItem
-
PlotItem
-
PlotItem
-
-
Method Details
-
getName
Gets the value of the property name. -
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:
-
getDescription
Gets the value of the property description.- Property description:
-
setDescription
Sets the value of the property description.- Property description:
-
descriptionProperty
public javafx.beans.property.StringProperty descriptionProperty()- See Also:
-
getFill
public javafx.scene.paint.Color getFill()Gets the value of the property fill. -
setFill
public void setFill(javafx.scene.paint.Color FILL) Sets the value of the property fill.- Property description:
-
fillProperty
public javafx.beans.property.ObjectProperty<javafx.scene.paint.Color> fillProperty()- See Also:
-
getStroke
public javafx.scene.paint.Color getStroke()Gets the value of the property stroke. -
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:
-
getConnectionFill
public javafx.scene.paint.Color getConnectionFill()Gets the value of the property connectionFill.- Property description:
-
connectionFillProperty
public javafx.beans.property.ReadOnlyObjectProperty<javafx.scene.paint.Color> connectionFillProperty()- See Also:
-
getTextColor
public javafx.scene.paint.Color getTextColor()Gets the value of the property textColor.- Property description:
-
setTextColor
public void setTextColor(javafx.scene.paint.Color TEXT_COLOR) Sets the value of the property textColor.- Property description:
-
textColorProperty
public javafx.beans.property.ObjectProperty<javafx.scene.paint.Color> textColorProperty()- See Also:
-
getFont
public javafx.scene.text.Font getFont()Gets the value of the property font.- Property description:
-
setFont
public void setFont(javafx.scene.text.Font FONT) Sets the value of the property font.- Property description:
-
fontProperty
public javafx.beans.property.ObjectProperty<javafx.scene.text.Font> fontProperty()- See Also:
-
getSymbol
Gets the value of the property symbol. -
setSymbol
Sets the value of the property symbol. -
symbolProperty
- See Also:
-
isEmptyItem
public boolean isEmptyItem()- Specified by:
isEmptyItemin interfaceItem
-
setIsEmpty
public void setIsEmpty(boolean isEmpty) -
isEmptyProperty
public javafx.beans.property.BooleanProperty isEmptyProperty() -
getVerticalTextPosition
Gets the value of the property verticalTextPosition.- Property description:
-
setVerticalTextPosition
Sets the value of the property verticalTextPosition.- Property description:
-
verticalTextPositionProperty
-
getSumOfIncoming
public double getSumOfIncoming() -
getSumOfOutgoing
public double getSumOfOutgoing() -
getMaxSum
public double getMaxSum() -
getOutgoing
-
setOutgoing
-
addToOutgoing
-
removeFromOutgoing
-
clearOutgoing
public void clearOutgoing() -
hasOutgoing
public boolean hasOutgoing() -
getIncoming
-
setIncoming
-
addToIncoming
-
removeFromIncoming
-
clearIncoming
protected void clearIncoming() -
hasIncoming
public boolean hasIncoming() -
getIncomingValueFrom
-
getOutgoingValueTo
-
isRoot
public boolean isRoot() -
isLeaf
public boolean isLeaf() -
getLevel
public int getLevel() -
setLevel
public void setLevel(int LEVEL) -
getCluster
-
setCluster
-
sortOutgoingByGivenList
-
sortIncomingByGivenList
-
compareTo
- Specified by:
compareToin interfaceComparable<PlotItem>
-
equals
-
hashCode
public int hashCode() -
addChartEvtObserver
public void addChartEvtObserver(eu.hansolo.toolbox.evt.EvtType type, eu.hansolo.toolbox.evt.EvtObserver<ChartEvt> observer) -
removeChartEvtObserver
public void removeChartEvtObserver(eu.hansolo.toolbox.evt.EvtType type, eu.hansolo.toolbox.evt.EvtObserver<ChartEvt> observer) -
removeAllChartEvtObservers
public void removeAllChartEvtObservers() -
fireChartEvt
-