- java.lang.Object
-
- javafx.scene.Node
-
- javafx.scene.Parent
-
- javafx.scene.layout.Region
-
- javafx.scene.control.Control
-
- eu.hansolo.tilesfx.Tile
-
- All Implemented Interfaces:
javafx.css.Styleable,javafx.event.EventTarget,javafx.scene.control.Skinnable
public class Tile extends javafx.scene.control.ControlCreated by hansolo on 19.12.16.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classTile.ChartTypestatic classTile.ImageMaskstatic classTile.MapProviderstatic classTile.SkinTypestatic classTile.TextSizestatic classTile.TileColor
-
Field Summary
Fields Modifier and Type Field Description static javafx.scene.paint.ColorBACKGROUNDstatic javafx.scene.paint.ColorBLUEstatic javafx.scene.paint.ColorDARK_BLUEstatic java.time.DurationDEFAULT_TIME_PERIODstatic java.util.concurrent.TimeUnitDEFAULT_TIME_PERIOD_RESOLUTIONstatic javafx.scene.paint.ColorFOREGROUNDstatic javafx.scene.paint.ColorGRAYstatic javafx.scene.paint.ColorGREENstatic javafx.scene.paint.ColorLIGHT_GREENstatic javafx.scene.paint.ColorLIGHT_REDstatic intLONG_INTERVALstatic javafx.scene.paint.ColorMAGENTAstatic javafx.scene.paint.ColorORANGEstatic javafx.scene.paint.ColorPINKstatic javafx.scene.paint.ColorREDstatic intSHORT_INTERVALstatic javafx.scene.paint.ColorYELLOWstatic javafx.scene.paint.ColorYELLOW_ORANGE
-
Constructor Summary
Constructors Constructor Description Tile()Tile(Tile.SkinType skinType)Tile(Tile.SkinType skinType, double minValue, double maxValue, double value, double threshold, double lowerThreshold, double referenceValue, boolean autoReferenceValue, java.lang.String title, javafx.scene.text.TextAlignment titleAlignment, java.lang.String description, javafx.geometry.Pos descriptionAlignment, java.lang.String unit, java.lang.String flipText, boolean active, java.lang.String text, javafx.scene.text.TextAlignment textAlignment, boolean averagingEnabled, int averagingPeriod, java.time.Duration timePeriod, java.time.Duration maxTimePeriod, Tile.ImageMask imageMask, javafx.scene.paint.Color trackColor, Tile.MapProvider mapProvider, long flipTimeInMS, Tile.TextSize textSize, boolean roundedCorners, boolean startFromZero, boolean returnToZero, double minMeasuredValue, double maxMeasuredValue, boolean minMeasuredValueVisible, boolean maxMeasuredValueVisible, boolean oldValueVisible, boolean valueVisible, javafx.scene.paint.Color foregroundColor, javafx.scene.paint.Color backgroundColor, javafx.scene.paint.Color borderColor, double borderWidth, javafx.scene.paint.Color knobColor, javafx.scene.paint.Color activeColor, boolean animated, long animationDuration, double startAngle, double angleRange, boolean autoScale, boolean shadowsEnabled, java.util.Locale locale, java.text.NumberFormat numberFormat, int decimals, int tickLabelDecimals, javafx.scene.paint.Color needleColor, javafx.scene.paint.Color hourColor, javafx.scene.paint.Color minuteColor, javafx.scene.paint.Color secondColor, javafx.scene.paint.Color barColor, javafx.scene.paint.Color barBackgroundColor, javafx.scene.paint.Color titleColor, javafx.scene.paint.Color descriptionColor, javafx.scene.paint.Color unitColor, javafx.scene.paint.Color valueColor, javafx.scene.paint.Color textColor, javafx.scene.paint.Color dateColor, javafx.scene.paint.Color hourTickMarkColor, javafx.scene.paint.Color minuteTickMarkColor, javafx.scene.paint.Color alarmColor, javafx.scene.paint.Color tickLabelColor, javafx.scene.paint.Color tickMarkColor, javafx.scene.paint.Color thresholdColor, javafx.scene.paint.Color _lowerThresholdColor, boolean checkSectionsForValue, boolean checkThreshold, boolean innerShadowEnabled, boolean thresholdVisible, boolean averageVisible, boolean sectionsVisible, boolean sectionsAlwaysVisible, java.util.List<Section> sections, boolean sectionTextVisible, boolean sectionIconsVisible, boolean highlightSections, javafx.geometry.Orientation orientation, boolean keepAspect, boolean customFontEnabled, javafx.scene.text.Font customFont, boolean alert, java.lang.String alertMessage, boolean smoothing, boolean secondsVisible, boolean discreteSeconds, boolean discreteMinutes, boolean discreteHours, boolean textVisible, boolean dateVisible, boolean running, boolean hourTickMarksVisible, boolean minuteTickMarksVisible, boolean alarmsEnabled, boolean alarmsVisible, boolean strokeWithGradient, boolean fillWithGradient, RadarChart.Mode radarChartMode, javafx.scene.paint.Color chartGridColor, boolean sortedData, boolean dataPointsVisible, boolean snapToTicks, int minorTickCount, int majorTickUnit, Tile.ChartType chartType, long tooltipTimeout, javafx.scene.paint.Color notifyRegionBackgroundColor, javafx.scene.paint.Color notifyRegionForegroundColor, javafx.scene.paint.Color infoRegionBackgroundColor, javafx.scene.paint.Color infoRegionForegroundColor, java.lang.String infoRegionTooltipText, javafx.scene.image.Image backgroundImage, double backgroundImageOpacity, boolean backgroundImageKeepAspect, java.lang.String leftText, java.lang.String middleText, java.lang.String rightText, double leftValue, double middleValue, double rightValue, javafx.scene.Node leftGraphics, javafx.scene.Node middleGraphics, javafx.scene.Node rightGraphics, boolean trendVisible, int numberOfValuesForTrendCalculation, int updateInterval, int increment)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description javafx.beans.property.ObjectProperty<javafx.scene.paint.Color>activeColorProperty()javafx.beans.property.BooleanPropertyactiveProperty()voidaddAlarm(Alarm ALARM)Adds the given Alarm object from the list of alarms.voidaddAlarmEventListener(AlarmEventListener LISTENER)voidaddBarChartItem(BarChartItem ITEM)voidaddChartData(ChartData... DATA)voidaddChartData(java.util.List<ChartData> DATA)voidaddLeaderBoardItem(LeaderBoardItem ITEM)voidaddPoiLocation(Location LOCATION)voidaddSection(Section SECTION)Adds the given Section to the list of sections.voidaddSeries(javafx.scene.chart.XYChart.Series<java.lang.String,java.lang.Number> SERIES)voidaddTileEventListener(TileEventListener LISTENER)voidaddTilesFXSeries(TilesFXSeries<java.lang.String,java.lang.Number> SERIES)voidaddTimeEventListener(TimeEventListener LISTENER)voidaddTimeSection(TimeSection SECTION)Adds the given TimeSection to the list of sections.javafx.beans.property.ObjectProperty<javafx.scene.paint.Color>alarmColorProperty()javafx.beans.property.BooleanPropertyalarmsEnabledProperty()javafx.beans.property.BooleanPropertyalarmsVisibleProperty()javafx.beans.property.StringPropertyalertMessageProperty()javafx.beans.property.BooleanPropertyalertProperty()javafx.beans.property.DoublePropertyangleRangeProperty()javafx.beans.property.ReadOnlyDoublePropertyangleStepProperty()javafx.beans.property.BooleanPropertyanimatedProperty()javafx.beans.property.BooleanPropertyautoReferenceValueProperty()javafx.beans.property.BooleanPropertyautoScaleProperty()javafx.beans.property.BooleanPropertyaverageVisibleProperty()javafx.beans.property.BooleanPropertyaveragingEnabledProperty()javafx.beans.property.IntegerPropertyaveragingPeriodProperty()javafx.beans.property.ObjectProperty<javafx.scene.paint.Color>backgroundColorProperty()javafx.beans.property.ObjectProperty<javafx.scene.paint.Color>barBackgroundColorProperty()javafx.beans.property.ObjectProperty<javafx.scene.paint.Color>barColorProperty()javafx.beans.property.ObjectProperty<javafx.scene.paint.Color>borderColorProperty()javafx.beans.property.DoublePropertyborderWidthProperty()voidcalcAutoScale()Calling this method will lead to a recalculation of the scalejavafx.beans.property.ObjectProperty<javafx.scene.paint.Color>chartGridColorProperty()javafx.beans.property.BooleanPropertycheckSectionsForValueProperty()javafx.beans.property.BooleanPropertycheckThresholdProperty()voidclearAlarms()Clears the list of alarms.voidclearBarChartItems()voidclearChartData()voidclearLeaderBoardItems()voidclearPoiLocations()voidclearSections()Clears the list of sections.voidclearSeries()voidclearTilesFXSeries()voidclearTimeSections()Clears the list of sections.voidclearTrack()javafx.beans.property.ObjectProperty<CountryGroup>countryGroupProperty()javafx.beans.property.ObjectProperty<Country>countryProperty()protected javafx.scene.control.SkincreateDefaultSkin()javafx.beans.property.ObjectProperty<Location>currentLocationProperty()javafx.beans.property.ReadOnlyLongPropertycurrentTimeProperty()javafx.beans.property.ReadOnlyDoublePropertycurrentValueProperty()javafx.beans.property.BooleanPropertycustomFontEnabledProperty()javafx.beans.property.ObjectProperty<javafx.scene.text.Font>customFontProperty()javafx.beans.property.BooleanPropertydataPointsVisibleProperty()javafx.beans.property.ObjectProperty<javafx.scene.paint.Color>dateColorProperty()javafx.beans.property.BooleanPropertydateVisibleProperty()javafx.beans.property.IntegerPropertydecimalsProperty()javafx.beans.property.ObjectProperty<javafx.geometry.Pos>descriptionAlignmentProperty()javafx.beans.property.ObjectProperty<javafx.scene.paint.Color>descriptionColorProperty()javafx.beans.property.StringPropertydescriptionProperty()javafx.beans.property.BooleanPropertydiscreteHoursProperty()javafx.beans.property.BooleanPropertydiscreteMinutesProperty()javafx.beans.property.BooleanPropertydiscreteSecondsProperty()javafx.beans.property.ObjectProperty<java.time.LocalTime>durationProperty()javafx.beans.property.BooleanPropertyfillWithGradientProperty()voidfireAlarmEvent(AlarmEvent EVENT)voidfireTileEvent(TileEvent EVENT)voidfireTimeEvent(TimeEvent EVENT)javafx.beans.property.StringPropertyflipTextProperty()javafx.beans.property.ObjectProperty<javafx.scene.paint.Color>foregroundColorProperty()javafx.beans.property.ReadOnlyDoublePropertyformerValueProperty()javafx.scene.paint.ColorgetActiveColor()javafx.scene.paint.ColorgetAlarmColor()Returns the color that will be used to colorize the alarm icon.javafx.collections.ObservableList<Alarm>getAlarms()Returns an observable list of Alarm objects.java.lang.StringgetAlertMessage()Returns the alert message text that could be used in a tooltip in case of an alert.doublegetAngleRange()Returns the angle range in degree that will be used to draw the scale of the radial gauge.doublegetAngleStep()Returns the value that is calculated by dividing the angleRange by the range.longgetAnimationDuration()Returns the duration in milliseconds that will be used to animate the needle/bar of the gauge from the last value to the next value.doublegetAverage()Returns the moving average over the number of values defined by averagingPeriod.intgetAveragingPeriod()Returns the number of values that should be used for the averaging of values.java.util.Queue<TimeData>getAveragingWindow()Returns a deep copy of the current list of Data objects that will be used to calculate the moving average.javafx.scene.paint.ColorgetBackgroundColor()Returns the Paint object that will be used to fill the gauge background.javafx.scene.image.ImagegetBackgroundImage()booleangetBackgroundImageKeepAspect()doublegetBackgroundImageOpacity()javafx.scene.paint.ColorgetBarBackgroundColor()Returns the color that will be used to colorize the bar background of the gauge (if it has a bar).javafx.collections.ObservableList<BarChartItem>getBarChartItems()javafx.scene.paint.ColorgetBarColor()Returns the color that will be used to colorize the bar of the gauge (if it has a bar).javafx.scene.paint.ColorgetBorderColor()Returns the Paint object that will be used to draw the border of the gauge.doublegetBorderWidth()Returns the width in pixels that will be used to draw the border of the gauge.java.util.List<java.lang.String>getCharacterList()javafx.collections.ObservableList<ChartData>getChartData()javafx.scene.paint.ColorgetChartGridColor()Returns the color that will be used to colorize lines in charts e.g.Tile.ChartTypegetChartType()booleangetCheckSectionsForValue()Returns true if the value of the gauge should be checked against all sections (if sections not empty).CountrygetCountry()Returns the Locale that will be used to visualize the country in the CountryTileSkinCountryGroupgetCountryGroup()java.util.Map<java.lang.String,java.util.List<CountryPath>>getCountryPaths()Returns a list of path elements that define the countriesLocationgetCurrentLocation()longgetCurrentTime()Returns the current time in epoch secondsdoublegetCurrentValue()Returns the current value of the Tile.javafx.scene.text.FontgetCustomFont()Returns the given custom Font that can be used to render all text elements.DarkSkygetDarkSky()booleangetDataPointsVisible()javafx.scene.paint.ColorgetDateColor()Returns the color that will be used to colorize the date of the clock.intgetDecimals()Returns the number of decimals that will be used to format the value of the gauge.java.lang.StringgetDescription()Returns the description text of the gauge.javafx.geometry.PosgetDescriptionAlignment()Returns the current alignment of the description text (esp.javafx.scene.paint.ColorgetDescriptionColor()Returns the color that will be used to colorize the description text of the gauge.java.time.LocalTimegetDuration()Returns a duration that will be used in the TimeTileSkinjava.lang.StringgetFlipText()Returns the text that will be used to visualized the FlipTileSkinlonggetFlipTimeInMS()javafx.scene.paint.ColorgetForegroundColor()Returns the Paint object that will be used to fill the gauge foreground.doublegetFormerValue()Returns the last value of the Tile.java.util.List<javafx.scene.paint.Stop>getGradientStops()javafx.scene.NodegetGraphic()Returns an optional node that can be used in combination with the CustomTileSkinjavafx.scene.paint.ColorgetHourColor()Returns the color that will be used to colorize the hour hand of the clock.javafx.scene.paint.ColorgetHourTickMarkColor()Returns the color that will be used to colorize the hour tickmarks of the clock.javafx.scene.image.ImagegetImage()Tile.ImageMaskgetImageMask()doublegetIncrement()javafx.scene.paint.ColorgetInfoRegionBackgroundColor()javafx.scene.paint.ColorgetInfoRegionForegroundColor()javafx.event.EventHandler<javafx.scene.input.MouseEvent>getInfoRegionHandler()java.lang.StringgetInfoRegionTooltipText()javafx.scene.paint.ColorgetKnobColor()Returns the color that will be used to colorize the knob of the radial gauges.javafx.collections.ObservableList<LeaderBoardItem>getLeaderBoardItems()javafx.scene.NodegetLeftGraphics()java.lang.StringgetLeftText()doublegetLeftValue()java.util.LocalegetLocale()doublegetLowerThreshold()javafx.scene.paint.ColorgetLowerThresholdColor()doublegetMajorTickUnit()The distance between 2 major tick marks (used in SliderTileSkin)Tile.MapProvidergetMapProvider()int[]getMatrixSize()doublegetMaxMeasuredValue()Returns the biggest value that was measured after the last reset.java.time.DurationgetMaxTimePeriod()Returns the duration that will be used to store datapoints in the skin Values that are not within that duration won't be stored.doublegetMaxValue()Returns the maximum value of the scale.javafx.scene.NodegetMiddleGraphics()java.lang.StringgetMiddleText()doublegetMiddleValue()doublegetMinMeasuredValue()Returns the smallest value that was measured after the last reset.intgetMinorTickCount()The number of ticks between 2 major tick marks (used in SliderTileSkin)javafx.scene.paint.ColorgetMinuteColor()Returns the color that will be used to colorize the minute hand of the clock.javafx.scene.paint.ColorgetMinuteTickMarkColor()Returns the color that will be used to colorize the minute tickmarks of the clock.doublegetMinValue()Returns the minimum value of the scale.MovingAveragegetMovingAverage()Returns the moving average objectjavafx.scene.paint.ColorgetNeedleColor()Returns the color that will be used to colorize the needle of the radial gauges.javafx.scene.paint.ColorgetNotifyRegionBackgroundColor()javafx.scene.paint.ColorgetNotifyRegionForegroundColor()java.text.NumberFormatgetNumberFormat()Returns the number format that will be used to format the value in the gauge (NOT USED AT THE MOMENT)intgetNumberOfValuesForTrendCalculation()doublegetOldValue()Returns the last value of the Tile.javafx.geometry.OrientationgetOrientation()Returns the orientation of the control.javafx.collections.ObservableList<Location>getPoiList()RadarChart.ModegetRadarChartMode()Returns the mode of the RadarChartTileSkin.doublegetRange()Always returns the range of the gauge scale (maxValue - minValue).doublegetReferenceValue()Returns the reference value that will be used in the HighLowTileSkin to visualize the increase or decrease of the current value compared to the reference value;javafx.scene.NodegetRightGraphics()java.lang.StringgetRightText()doublegetRightValue()booleangetRoundedCorners()Returns true if the corners of the Tiles are roundedjavafx.scene.paint.ColorgetSecondColor()Returns the color that will be used to colorize the second hand of the clock.booleangetSectionIconsVisible()Returns true if the icon of the sections should be drawn inside the sections.javafx.collections.ObservableList<Section>getSections()Returns an observable list of Section objects.booleangetSectionsAlwaysVisible()Returns true if the sections in the IndicatorSkin will always be visiblebooleangetSectionsVisible()Returns true if the sections will be drawnjavafx.collections.ObservableList<javafx.scene.chart.XYChart.Series<java.lang.String,java.lang.Number>>getSeries()Tile.SkinTypegetSkinType()doublegetStartAngle()Returns the angle in degree that defines the start of the scale with it's minValue in a radial gauge.SunburstChartgetSunburstChart()java.lang.StringgetText()Returns the text that was defined for the clock.javafx.scene.text.TextAlignmentgetTextAlignment()Returns the alignment that will be used to align the text in the Tile.javafx.scene.paint.ColorgetTextColor()Returns the color that will be used to colorize the text of the clock.Tile.TextSizegetTextSize()Returns the text size that will be used for the title, subtitle and text in the different skins.doublegetThreshold()Returns the threshold value that can be used to visualize a threshold value on the scale.javafx.scene.paint.ColorgetThresholdColor()Returns the color that will be used to colorize the threshold indicator of the gauge.javafx.scene.paint.ColorgetTickLabelColor()Returns the color that will be used to colorize tick labels (e.g.intgetTickLabelDecimals()Returns the number of tickLabelDecimals that will be used to format the ticklabels of the gauge.javafx.scene.paint.ColorgetTickMarkColor()Returns the color that will be used to colorize tick marks in some skinsjavafx.collections.ObservableList<TilesFXSeries<java.lang.String,java.lang.Number>>getTilesFXSeries()java.time.ZonedDateTimegetTime()Returns the current time of the clock.doublegetTimeBasedAverageOf(java.time.Duration DURATION)Returns the moving average over the given duration.java.time.DurationgetTimePeriod()Returns the duration that should be used for the data shown in the TimelineTileSkinjava.util.concurrent.TimeUnitgetTimePeriodResolution()javafx.collections.ObservableList<TimeSection>getTimeSections()Returns an observable list of TimeSection objects.java.lang.StringgetTitle()Returns the title of the gauge.javafx.scene.text.TextAlignmentgetTitleAlignment()Returns the alignment that will be used to align the title in the Tile.javafx.scene.paint.ColorgetTitleColor()Returns the color that will be used to colorize the title of the gauge.java.lang.StringgetTooltipText()Returns the text that will be shown in the Tile tooltipdoublegetTooltipTimeout()java.util.List<Location>getTrack()Tile.TileColorgetTrackColor()java.lang.StringgetUnit()Returns the unit of the gauge.javafx.scene.paint.ColorgetUnitColor()Returns the color that will be used to colorize the unit of the gauge.java.lang.StringgetUserAgentStylesheet()doublegetValue()Returns the value of the Tile.javafx.scene.paint.ColorgetValueColor()Returns the color that will be used to colorize the value of the gauge.javafx.scene.chart.AxisgetXAxis()javafx.scene.chart.AxisgetYAxis()java.time.ZoneIdgetZoneId()javafx.beans.property.ObjectProperty<javafx.scene.Node>graphicProperty()javafx.beans.property.BooleanPropertyhighlightSectionsProperty()javafx.beans.property.ObjectProperty<javafx.scene.paint.Color>hourColorProperty()javafx.beans.property.ObjectProperty<javafx.scene.paint.Color>hourTickMarkColorProperty()javafx.beans.property.BooleanPropertyhourTickMarksVisibleProperty()javafx.beans.property.ObjectProperty<Tile.ImageMask>imageMaskProperty()javafx.beans.property.ObjectProperty<javafx.scene.image.Image>imageProperty()javafx.beans.property.BooleanPropertyinnerShadowEnabledProperty()booleanisActive()Returns true if the switch in the SwitchTileSkin is activebooleanisAlarmsEnabled()Returns true if alarms are enabled.booleanisAlarmsVisible()Returns true if alarm markers should be drawn.booleanisAlert()Returns true if the alert property was set.booleanisAnimated()Returns true if setting the value of the gauge will be animated using the duration defined in animationDuration [ms].booleanisAutoReferenceValue()Returns true if the reference value for the StockTileSkin will be calculated automaticallybooleanisAutoScale()Returns true if the scale will be calculated automatically based on the defined values for min- and maxValue.booleanisAverageVisible()Returns true if the average indicator should be drawn.booleanisAveragingEnabled()Returns true if the averaging functionality is enabled.booleanisCheckThreshold()Returns true if the value of the gauge should be checked against the threshold.booleanisCustomFontEnabled()Returns true if the control uses the given customFont to render all text elements.booleanisDateVisible()Returns true if the date of the clock will be drawn.booleanisDiscreteHours()Returns true if the hour hand of the clock should move in discrete steps of 1 hour.booleanisDiscreteMinutes()Returns true if the minute hand of the clock should move in discrete steps of 1 minute.booleanisDiscreteSeconds()Returns true if the second hand of the clock should move in discrete steps of 1 second.booleanisFillWithGradient()Returns true if a gradient defined by gradientStops will be used to fill the area in the SmoothAreaTileSkin.booleanisHighlightSections()Returns true if sections should be highlighted in case they contain the current value.booleanisHourTickMarksVisible()Returns true if the hour tickmarks will be drawn.booleanisInnerShadowEnabled()Returns true if an inner shadow should be drawn on the gauge background.booleanisKeepAspect()Returns true if the control should keep it's aspect.booleanisMaxMeasuredValueVisible()Returns true if the indicator of the maxMeasuredValue is visible.booleanisMinMeasuredValueVisible()Returns true if the indicator of the minMeasuredValue is visible.booleanisMinuteTickMarksVisible()Returns true if the minute tickmarks will be drawn.booleanisOldValueVisible()Returns true if the old value of the gauge is visible (not implemented)booleanisReturnToZero()Returns true if the needle/bar should always return to zero.booleanisRunning()Returns true if the clock is running and shows the current time.booleanisSecondsVisible()Returns true if the second hand of the clock will be drawn.booleanisSectionTextVisible()Returns true if the text of the sections should be drawn inside the sections.booleanisShadowsEnabled()Returns true if effects like shadows will be drawn.booleanisShowing()booleanisSmoothing()Returns true when smoothing is enabled.booleanisSnapToTicks()booleanisSortedData()booleanisStartFromZero()Returns true if the visualization of the value should start from 0.booleanisStrokeWithGradient()Returns true if a gradient defined by gradientStops will be used to stroke the line in the SparklineTileSkin.booleanisTextVisible()Returns true if the text of the clock will be drawn.booleanisThresholdVisible()Returns true if the threshold indicator should be drawn.booleanisTrendVisible()Returns true if the trend indicator in the TimelineTileSkin is visiblebooleanisValueVisible()Returns true if the visualization of the gauge value is visible.javafx.beans.property.BooleanPropertykeepAspectProperty()javafx.beans.property.ObjectProperty<javafx.scene.paint.Color>knobColorProperty()javafx.beans.property.ObjectProperty<javafx.scene.Node>leftGraphicsProperty()javafx.beans.property.StringPropertyleftTextProperty()javafx.beans.property.DoublePropertyleftValueProperty()javafx.beans.property.ObjectProperty<java.util.Locale>localeProperty()javafx.beans.property.ObjectProperty<javafx.scene.paint.Color>lowerThresholdColorProperty()javafx.beans.property.DoublePropertylowerThresholdProperty()javafx.beans.property.ObjectProperty<Tile.MapProvider>mapProviderProperty()javafx.beans.property.ReadOnlyDoublePropertymaxMeasuredValueProperty()javafx.beans.property.BooleanPropertymaxMeasuredValueVisibleProperty()javafx.beans.property.ObjectProperty<java.time.Duration>maxTimePeriodProperty()javafx.beans.property.DoublePropertymaxValueProperty()javafx.beans.property.ObjectProperty<javafx.scene.Node>middleGraphicsProperty()javafx.beans.property.StringPropertymiddleTextProperty()javafx.beans.property.DoublePropertymiddleValueProperty()javafx.beans.property.ReadOnlyDoublePropertyminMeasuredValueProperty()javafx.beans.property.BooleanPropertyminMeasuredValueVisibleProperty()javafx.beans.property.ObjectProperty<javafx.scene.paint.Color>minuteColorProperty()javafx.beans.property.ObjectProperty<javafx.scene.paint.Color>minuteTickMarkColorProperty()javafx.beans.property.BooleanPropertyminuteTickMarksVisibleProperty()javafx.beans.property.DoublePropertyminValueProperty()javafx.beans.property.ObjectProperty<javafx.scene.paint.Color>needleColorProperty()javafx.beans.property.ObjectProperty<java.text.NumberFormat>numberFormatProperty()javafx.beans.property.IntegerPropertynumberOfValuesForTrendCalculationProperty()javafx.beans.property.ReadOnlyDoublePropertyoldValueProperty()javafx.beans.property.BooleanPropertyoldValueVisibleProperty()javafx.beans.property.ObjectProperty<javafx.geometry.Orientation>orientationProperty()javafx.beans.property.ObjectProperty<RadarChart.Mode>radarChartModeProperty()javafx.beans.property.ReadOnlyDoublePropertyrangeProperty()javafx.beans.property.DoublePropertyreferenceValueProperty()voidremoveAlarm(Alarm ALARM)Removes the given Alarm object from the list of alarms.voidremoveAlarmEventListener(AlarmEventListener LISTENER)voidremoveAllAlarmEventListeners()voidremoveAllTileEventListeners()voidremoveAllTimeEventListeners()voidremoveBarChartItem(BarChartItem ITEM)voidremoveChartData(ChartData DATA)voidremoveLeaderBoardItem(LeaderBoardItem ITEM)voidremoveOnSwitchPressed(javafx.event.EventHandler<SwitchEvent> HANDLER)voidremoveOnSwitchReleased(javafx.event.EventHandler<SwitchEvent> HANDLER)voidremovePoiLocation(Location LOCATION)voidremoveSection(Section SECTION)Removes the given Section from the list of sections.voidremoveSeries(javafx.scene.chart.XYChart.Series<java.lang.String,java.lang.Number> SERIES)voidremoveTileEventListener(TileEventListener LISTENER)voidremoveTilesFXSeries(TilesFXSeries<java.lang.String,java.lang.Number> SERIES)voidremoveTimeEventListener(TimeEventListener LISTENER)voidremoveTimeSection(TimeSection SECTION)Removes the given TimeSection from the list of sections.voidresetMeasuredValues()Resets the min- and maxMeasuredValue to the value of the gauge.javafx.beans.property.BooleanPropertyreturnToZeroProperty()javafx.beans.property.ObjectProperty<javafx.scene.Node>rightGraphicsProperty()javafx.beans.property.StringPropertyrightTextProperty()javafx.beans.property.DoublePropertyrightValueProperty()javafx.beans.property.BooleanPropertyroundedCornersProperty()javafx.beans.property.BooleanPropertyrunningProperty()javafx.beans.property.ObjectProperty<javafx.scene.paint.Color>secondColorProperty()javafx.beans.property.BooleanPropertysecondsVisibleProperty()javafx.beans.property.BooleanPropertysectionIconsVisibleProperty()javafx.beans.property.BooleanPropertysectionsAlwaysVisibleProperty()javafx.beans.property.BooleanPropertysectionsVisibleProperty()javafx.beans.property.BooleanPropertysectionTextVisibleProperty()voidsetActive(boolean SELECTED)Defines if the switch in the SwitchTileSkin is activevoidsetActiveColor(javafx.scene.paint.Color COLOR)voidsetAlarmColor(javafx.scene.paint.Color COLOR)Defines the color that will be used to colorize the alarm iconvoidsetAlarms(Alarm... ALARMS)Sets the alarms to the given array of Alarm objects.voidsetAlarms(java.util.List<Alarm> ALARMS)Sets the alarms to the given list of Alarm objects.voidsetAlarmsEnabled(boolean CHECK)Defines if alarms are enabled.voidsetAlarmsVisible(boolean VISIBLE)Defines if alarm markers should be drawn.voidsetAlert(boolean ALERT)Defines if the alert property should be set.voidsetAlertMessage(java.lang.String MESSAGE)Defines the text that could be used in a tooltip as an alert message.voidsetAngleRange(double RANGE)Defines the angle range in degree that will be used to draw the scale of the radial gauge.voidsetAnimated(boolean ANIMATED)Defines if setting the value of the gauge should be animated using the duration defined in animationDuration [ms].voidsetAnimationDuration(long ANIMATION_DURATION)Defines the duration in milliseconds that will be used to animate the needle/bar of the gauge from the last value to the next value.voidsetAutoReferenceValue(boolean AUTO_REFERENCE_VALUE)Defines if the reference value for the StockTileSkin should be calculated automaticallyvoidsetAutoScale(boolean AUTO_SCALE)Defines if the scale should be calculated automatically based on the defined values for min- and maxValue.voidsetAverageVisible(boolean VISIBLE)Defines if the average indicator should be drawnvoidsetAveragingEnabled(boolean ENABLED)Defines if the averaging functionality will be enabled.voidsetAveragingPeriod(int PERIOD)Defines the number values that should be used for the averaging of values.voidsetBackgroundColor(javafx.scene.paint.Color COLOR)Defines the Paint object that will be used to fill the gauge background.voidsetBackgroundImage(javafx.scene.image.Image IMAGE)voidsetBackgroundImageKeepAspect(boolean KEEP_ASPECT)voidsetBackgroundImageOpacity(double OPACITY)voidsetBarBackgroundColor(javafx.scene.paint.Color COLOR)Returns the color that will be used to colorize the bar background of the gauge (if it has a bar).voidsetBarChartItems(BarChartItem... ITEMS)voidsetBarChartItems(java.util.List<BarChartItem> ITEMS)voidsetBarColor(javafx.scene.paint.Color COLOR)Defines the color that will be used to colorize the bar of the gauge (if it has a bar).voidsetBorderColor(javafx.scene.paint.Color PAINT)Defines the Paint object that will be used to draw the border of the gauge.voidsetBorderWidth(double WIDTH)Defines the width in pixels that will be used to draw the border of the gauge.voidsetCharacters(java.lang.String... CHARACTERS)voidsetChartData(ChartData... DATA)voidsetChartData(java.util.List<ChartData> DATA)voidsetChartGridColor(javafx.scene.paint.Color COLOR)Defines the color that will be used to colorize lines in charts e.g.voidsetChartType(Tile.ChartType TYPE)voidsetCheckSectionsForValue(boolean CHECK)Defines if the value of the gauge should be checked against all sections (if sections not empty).voidsetCheckThreshold(boolean CHECK)Defines if the value of the gauge should be checked against the threshold.voidsetCountry(Country COUNTRY)Defines the Locale that will be used to visualize the country in the CountryTileSkinvoidsetCountryGroup(CountryGroup GROUP)voidsetCurrentLocation(Location LOCATION)voidsetCustomFont(javafx.scene.text.Font FONT)Defines the custom font that can be used to render all text elements.voidsetCustomFontEnabled(boolean ENABLED)Defines if the control should use the given customFont to render all text elementsvoidsetDarkSky(DarkSky DARK_SKY)voidsetDataPointsVisible(boolean VISIBLE)voidsetDateColor(javafx.scene.paint.Color COLOR)Defines the color that will be used to colorize the date of the clockvoidsetDateVisible(boolean VISIBLE)Defines if the date of the clock will be drawn.voidsetDecimals(int DECIMALS)Defines the number of decimals that will be used to format the value of the gauge.voidsetDescription(java.lang.String DESCRIPTION)Sets the description text of the gauge.voidsetDescriptionAlignment(javafx.geometry.Pos ALIGNMENT)Defines the alignment of the description text (esp.voidsetDescriptionColor(javafx.scene.paint.Color COLOR)Defines the color that will be used to colorize the description text of the gauge.voidsetDiscreteHours(boolean DISCRETE)Defines if the hour hand of the clock should move in discrete steps of 1 hour.voidsetDiscreteMinutes(boolean DISCRETE)Defines if the minute hand of the clock should move in discrete steps of 1 minute.voidsetDiscreteSeconds(boolean DISCRETE)Defines if the second hand of the clock should move in discrete steps of 1 second.voidsetDuration(java.time.LocalTime DURATION)Defines a duration that is used in the TimeTileSkinvoidsetFillWithGradient(boolean FILL_WITH_GRADIENT)Defines the usage of a gradient defined by gradientStops to fill the area in the SmoothAreaTileSkinvoidsetFlipText(java.lang.String TEXT)Defines the text that will be used to visualize the FlipTileSkinvoidsetFlipTimeInMS(long FLIP_TIME)voidsetForegroundBaseColor(javafx.scene.paint.Color COLOR)A convenient method to set the color of foreground elements like title, description, unit, value, tickLabel and tickMark to the given Color.voidsetForegroundColor(javafx.scene.paint.Color COLOR)Defines the Paint object that will be used to fill the gauge foreground.voidsetGradientStops(java.util.List<javafx.scene.paint.Stop> STOPS)voidsetGradientStops(javafx.scene.paint.Stop... STOPS)voidsetGraphic(javafx.scene.Node GRAPHIC)Defines an optional node that can be used in combination with the CustomTileSkin.voidsetHighlightSections(boolean HIGHLIGHT)Defines if sections should be highlighted in case they contain the current valuevoidsetHourColor(javafx.scene.paint.Color COLOR)Defines the color that will be used to colorize the hour hand of the clockvoidsetHourTickMarkColor(javafx.scene.paint.Color COLOR)Defines the color that will be used to colorize the hour tickmarks of the clock.voidsetHourTickMarksVisible(boolean VISIBLE)Defines if the hour tickmarks will be drawn.voidsetImage(javafx.scene.image.Image IMAGE)voidsetImageMask(Tile.ImageMask MASK)voidsetIncrement(double INCREMENT)voidsetInfoRegionBackgroundColor(javafx.scene.paint.Color COLOR)voidsetInfoRegionEventHandler(javafx.event.EventHandler<javafx.scene.input.MouseEvent> HANDLER)voidsetInfoRegionForegroundColor(javafx.scene.paint.Color COLOR)voidsetInfoRegionTooltipText(java.lang.String TEXT)voidsetInnerShadowEnabled(boolean ENABLED)Defines if an inner shadow should be drawn on the gauge background.voidsetKeepAspect(boolean KEEP)Defines if the control should keep it's aspect.voidsetKnobColor(javafx.scene.paint.Color COLOR)Defines the color that will be used to colorize the knob of the radial gauges.voidsetLeaderBoardItems(LeaderBoardItem... ITEMS)voidsetLeaderBoardItems(java.util.List<LeaderBoardItem> ITEMS)voidsetLeftGraphics(javafx.scene.Node NODE)voidsetLeftText(java.lang.String TEXT)voidsetLeftValue(double VALUE)voidsetLocale(java.util.Locale LOCALE)voidsetLowerThreshold(double THRESHOLD)voidsetLowerThresholdColor(javafx.scene.paint.Color COLOR)voidsetMajorTickUnit(double MAJOR_TICK_UNIT)voidsetMapProvider(Tile.MapProvider PROVIDER)voidsetMatrixSize(int[] COLUMNS_AND_ROWS)voidsetMatrixSize(int COLUMNS, int ROWS)voidsetMaxMeasuredValue(double MAX_MEASURED_VALUE)Sets the maxMeasuredVAlue to the given value.voidsetMaxMeasuredValueVisible(boolean VISIBLE)Defines if the indicator of the maxMeasuredValue should be visible.voidsetMaxTimePeriod(java.time.Duration MAX_PERIOD)Defines the duration that will be used to store datapoints in the skinvoidsetMaxValue(double VALUE)Sets the maximum value of the gauge scale to the given valuevoidsetMiddleGraphics(javafx.scene.Node NODE)voidsetMiddleText(java.lang.String TEXT)voidsetMiddleValue(double VALUE)voidsetMinMeasuredValue(double MIN_MEASURED_VALUE)Sets the minMeasuredValue to the given value.voidsetMinMeasuredValueVisible(boolean VISIBLE)Defines if the indicator of the minMeasuredValue should be visible.voidsetMinorTickCount(int MINOR_TICK_COUNT)voidsetMinuteColor(javafx.scene.paint.Color COLOR)Defines the color that will be used to colorize the minute hand of the clock.voidsetMinuteTickMarkColor(javafx.scene.paint.Color COLOR)Defines the color that will be used to colorize the minute tickmarks of the clock.voidsetMinuteTickMarksVisible(boolean VISIBLE)Defines if the minute tickmarks will be drawn.voidsetMinValue(double VALUE)Sets the minimum value of the gauge scale to the given valuevoidsetNeedleColor(javafx.scene.paint.Color COLOR)Defines the color that will be used to colorize the needle of the radial gauges.voidsetNotifyRegionBackgroundColor(javafx.scene.paint.Color COLOR)voidsetNotifyRegionForegroundColor(javafx.scene.paint.Color COLOR)voidsetNumberFormat(java.text.NumberFormat FORMAT)Defines the number format that will be used to format the value in the gauge (NOT USED AT THE MOMENT)voidsetNumberOfValuesForTrendCalculation(int NUMBER)voidsetOldValueVisible(boolean VISIBLE)Defines if the old value of the gauge should be visible (not implemented)voidsetOnAlarm(AlarmEventListener LISTENER)voidsetOnSwitchPressed(javafx.event.EventHandler<SwitchEvent> HANDLER)voidsetOnSwitchReleased(javafx.event.EventHandler<SwitchEvent> HANDLER)voidsetOnTileEvent(TileEventListener LISTENER)voidsetOnTimeEvent(TimeEventListener LISTENER)voidsetOrientation(javafx.geometry.Orientation ORIENTATION)Defines the orientation of the control.voidsetPoiList(java.util.List<Location> POI_LIST)voidsetPoiLocations(Location... LOCATIONS)voidsetRadarChartMode(RadarChart.Mode MODE)Defines the mode that is used in the RadarChartTileSkin to visualize the data in the RadarChart.voidsetReferenceValue(double VALUE)Defines the reference value that will be used in the HighLowTileSkinvoidsetReturnToZero(boolean IS_TRUE)Defines the behavior of the visualization where the needle/bar should always return to 0 after it reached the final value.voidsetRightGraphics(javafx.scene.Node NODE)voidsetRightText(java.lang.String TEXT)voidsetRightValue(double VALUE)voidsetRoundedCorners(boolean ROUNDED)Switches the corners of the Tiles between rounded and rectangularvoidsetRunning(boolean RUNNING)Defines if the clock is running.voidsetSecondColor(javafx.scene.paint.Color COLOR)Defines the color that will be used to colorize the second hand of the clockvoidsetSecondsVisible(boolean VISIBLE)Defines if the second hand of the clock will be drawn.voidsetSectionIconsVisible(boolean VISIBLE)Defines if the icon of the sections should be drawn inside the sections.voidsetSections(Section... SECTIONS)Sets the sections to the given array of Section objects.voidsetSections(java.util.List<Section> SECTIONS)Sets the sections to the given list of Section objects.voidsetSectionsAlwaysVisible(boolean VISIBLE)Defines if the sections will always be visible.voidsetSectionsVisible(boolean VISIBLE)Defines if the sections will be drawnvoidsetSectionTextVisible(boolean VISIBLE)Defines if the text of the sections should be drawn inside the sections.voidsetSeries(java.util.List<javafx.scene.chart.XYChart.Series<java.lang.String,java.lang.Number>> SERIES)voidsetSeries(javafx.scene.chart.XYChart.Series<java.lang.String,java.lang.Number>... SERIES)voidsetShadowsEnabled(boolean ENABLED)Defines if effects like shadows should be drawn.voidsetSkinType(Tile.SkinType SKIN_TYPE)voidsetSmoothing(boolean SMOOTHING)Defines if the smoothing property should be enabled/disabled.voidsetSnapToTicks(boolean SNAP)voidsetSortedData(boolean SORTED)voidsetStartAngle(double ANGLE)Defines the angle in degree that defines the start of the scale with it's minValue in a radial gauge.voidsetStartFromZero(boolean IS_TRUE)Defines the behavior of the visualization where the needle/bar should start from 0 instead of the minValue.voidsetStrokeWithGradient(boolean STROKE_WITH_GRADIENT)Defines the usage of a gradient defined by gradientStops to stroke the line in the SparklineTileSkinvoidsetText(java.lang.String TEXT)Define the text for the clock.voidsetTextAlignment(javafx.scene.text.TextAlignment ALIGNMENT)Defines the alignment that will be used to align the text in the Tile.voidsetTextColor(javafx.scene.paint.Color COLOR)Defines the color that will be used to colorize the text of the clock.voidsetTextSize(Tile.TextSize SIZE)Defines the text size that will be used for the title, subtitle and text in the different skins.voidsetTextVisible(boolean VISIBLE)Defines if the text of the clock will be drawn.voidsetThreshold(double THRESHOLD)Sets the threshold of the gauge to the given value.voidsetThresholdColor(javafx.scene.paint.Color COLOR)Defines the color that will be used to colorize the threshold indicator of the gauge.voidsetThresholdVisible(boolean VISIBLE)Defines if the threshold indicator should be drawnvoidsetTickLabelColor(javafx.scene.paint.Color COLOR)voidsetTickLabelDecimals(int DECIMALS)Defines the number of tickLabelDecimals that will be used to format the ticklabels of the gauge.voidsetTickMarkColor(javafx.scene.paint.Color COLOR)voidsetTilesFXSeries(TilesFXSeries<java.lang.String,java.lang.Number>... SERIES)voidsetTilesFXSeries(java.util.List<TilesFXSeries<java.lang.String,java.lang.Number>> SERIES)voidsetTime(long EPOCH_SECONDS)voidsetTime(java.time.ZonedDateTime TIME)Defines the current time of the clock.voidsetTimePeriod(java.time.Duration PERIOD)Defines the duration that should be used for the data shown in the TimelineTileSkinvoidsetTimePeriodResolution(java.util.concurrent.TimeUnit RESOLUTION)voidsetTimeSections(TimeSection... SECTIONS)Sets the sections to the given array of TimeSection objects.voidsetTimeSections(java.util.List<TimeSection> SECTIONS)Sets the sections to the given list of TimeSection objects.voidsetTitle(java.lang.String TITLE)Sets the title of the gauge.voidsetTitleAlignment(javafx.scene.text.TextAlignment ALIGNMENT)Defines the alignment that will be used to align the title in the Tile.voidsetTitleColor(javafx.scene.paint.Color COLOR)Defines the color that will be used to colorize the title of the gauge.voidsetTooltipText(java.lang.String TEXT)Defines the text that will be shown in the Tile tooltipvoidsetTooltipTimeout(double TIMEOUT)voidsetTrack(Location... LOCATIONS)voidsetTrack(java.util.List<Location> LOCATIONS)voidsetTrackColor(Tile.TileColor COLOR)voidsetTrendVisible(boolean VISIBLE)Defines the visibility of the trend indicator in the TimelineTileSkinvoidsetUnit(java.lang.String UNIT)Sets the unit of the gauge.voidsetUnitColor(javafx.scene.paint.Color COLOR)Defines the color that will be used to colorize the unit of the gauge.voidsetValue(double VALUE)Sets the value of the Tile to the given double.voidsetValueColor(javafx.scene.paint.Color COLOR)Defines the color that will be used to colorize the value of the gauge.voidsetValueVisible(boolean VISIBLE)Defines if the visualization of the gauge value should be visible.voidsetXAxis(javafx.scene.chart.Axis AXIS)voidsetYAxis(javafx.scene.chart.Axis AXIS)javafx.beans.property.BooleanPropertyshadowsEnabledProperty()voidshowInfoRegion(boolean SHOW)voidshowNotifyRegion(boolean SHOW)javafx.beans.property.BooleanPropertysmoothingProperty()javafx.beans.property.BooleanPropertysnapToTicksProperty()javafx.beans.property.BooleanPropertysortedDataProperty()javafx.beans.property.DoublePropertystartAngleProperty()javafx.beans.property.BooleanPropertystartFromZeroProperty()voidstop()Calling this method will stop all threads.javafx.beans.property.BooleanPropertystrokeWithGradientProperty()javafx.beans.property.ObjectProperty<javafx.scene.text.TextAlignment>textAlignmentProperty()javafx.beans.property.ObjectProperty<javafx.scene.paint.Color>textColorProperty()javafx.beans.property.StringPropertytextProperty()javafx.beans.property.ObjectProperty<Tile.TextSize>textSizeProperty()javafx.beans.property.BooleanPropertytextVisibleProperty()javafx.beans.property.ObjectProperty<javafx.scene.paint.Color>thresholdColorProperty()javafx.beans.property.BooleanPropertythresholdVisibleProperty()javafx.beans.property.ObjectProperty<javafx.scene.paint.Color>tickLabelColorProperty()javafx.beans.property.IntegerPropertytickLabelDecimalsProperty()javafx.beans.property.ObjectProperty<javafx.scene.paint.Color>tickMarkColorProperty()javafx.beans.property.ObjectProperty<java.time.Duration>timePeriodProperty()javafx.beans.property.ObjectProperty<java.util.concurrent.TimeUnit>timePeriodResolutionProperty()javafx.beans.property.ObjectProperty<java.time.ZonedDateTime>timeProperty()javafx.beans.property.ObjectProperty<javafx.scene.text.TextAlignment>titleAlignmentProperty()javafx.beans.property.ObjectProperty<javafx.scene.paint.Color>titleColorProperty()javafx.beans.property.StringPropertytitleProperty()javafx.beans.property.StringPropertytooltipTextProperty()javafx.beans.property.DoublePropertytooltipTimeoutProperty()javafx.beans.property.ObjectProperty<Tile.TileColor>trackColorProperty()javafx.beans.property.BooleanPropertytrendVisibleProperty()javafx.beans.property.DoublePropertytresholdProperty()javafx.beans.property.ObjectProperty<javafx.scene.paint.Color>unitColorProperty()javafx.beans.property.StringPropertyunitProperty()voidupdateLocation(double LATITUDE, double LONGITUDE)voidupdateWeather()javafx.beans.property.ObjectProperty<javafx.scene.paint.Color>valueColorProperty()javafx.beans.property.DoublePropertyvalueProperty()javafx.beans.property.BooleanPropertyvalueVisibleProperty()javafx.beans.property.ObjectProperty<javafx.scene.chart.Axis>xAxisProperty()javafx.beans.property.ObjectProperty<javafx.scene.chart.Axis>yAxisProperty()-
Methods inherited from class javafx.scene.control.Control
computeMaxHeight, computeMaxWidth, computeMinHeight, computeMinWidth, computePrefHeight, computePrefWidth, contextMenuProperty, executeAccessibleAction, getBaselineOffset, getClassCssMetaData, getContextMenu, getControlCssMetaData, getCssMetaData, getInitialFocusTraversable, getSkin, getTooltip, isResizable, layoutChildren, queryAccessibleAttribute, setContextMenu, setSkin, setTooltip, skinProperty, tooltipProperty
-
Methods inherited from class javafx.scene.layout.Region
backgroundProperty, borderProperty, cacheShapeProperty, centerShapeProperty, getBackground, getBorder, getHeight, getInsets, getMaxHeight, getMaxWidth, getMinHeight, getMinWidth, getOpaqueInsets, getPadding, getPrefHeight, getPrefWidth, getShape, getWidth, heightProperty, insetsProperty, isCacheShape, isCenterShape, isScaleShape, isSnapToPixel, layoutInArea, layoutInArea, layoutInArea, layoutInArea, maxHeight, maxHeightProperty, maxWidth, maxWidthProperty, minHeight, minHeightProperty, minWidth, minWidthProperty, opaqueInsetsProperty, paddingProperty, positionInArea, positionInArea, prefHeight, prefHeightProperty, prefWidth, prefWidthProperty, resize, scaleShapeProperty, setBackground, setBorder, setCacheShape, setCenterShape, setHeight, setMaxHeight, setMaxSize, setMaxWidth, setMinHeight, setMinSize, setMinWidth, setOpaqueInsets, setPadding, setPrefHeight, setPrefSize, setPrefWidth, setScaleShape, setShape, setSnapToPixel, setWidth, shapeProperty, snappedBottomInset, snappedLeftInset, snappedRightInset, snappedTopInset, snapPosition, snapPositionX, snapPositionY, snapSize, snapSizeX, snapSizeY, snapSpace, snapSpaceX, snapSpaceY, snapToPixelProperty, widthProperty
-
Methods inherited from class javafx.scene.Parent
getChildren, getChildrenUnmodifiable, getManagedChildren, getStylesheets, isNeedsLayout, layout, lookup, needsLayoutProperty, requestLayout, requestParentLayout, setNeedsLayout, updateBounds
-
Methods inherited from class javafx.scene.Node
accessibleHelpProperty, accessibleRoleDescriptionProperty, accessibleRoleProperty, accessibleTextProperty, addEventFilter, addEventHandler, applyCss, autosize, blendModeProperty, boundsInLocalProperty, boundsInParentProperty, buildEventDispatchChain, cacheHintProperty, cacheProperty, clipProperty, computeAreaInScreen, contains, contains, cursorProperty, depthTestProperty, disabledProperty, disableProperty, effectiveNodeOrientationProperty, effectProperty, eventDispatcherProperty, fireEvent, focusedProperty, focusTraversableProperty, getAccessibleHelp, getAccessibleRole, getAccessibleRoleDescription, getAccessibleText, getBlendMode, getBoundsInLocal, getBoundsInParent, getCacheHint, getClip, getContentBias, getCursor, getDepthTest, getEffect, getEffectiveNodeOrientation, getEventDispatcher, getId, getInitialCursor, getInputMethodRequests, getLayoutBounds, getLayoutX, getLayoutY, getLocalToParentTransform, getLocalToSceneTransform, getNodeOrientation, getOnContextMenuRequested, getOnDragDetected, getOnDragDone, getOnDragDropped, getOnDragEntered, getOnDragExited, getOnDragOver, getOnInputMethodTextChanged, getOnKeyPressed, getOnKeyReleased, getOnKeyTyped, getOnMouseClicked, getOnMouseDragEntered, getOnMouseDragExited, getOnMouseDragged, getOnMouseDragOver, getOnMouseDragReleased, getOnMouseEntered, getOnMouseExited, getOnMouseMoved, getOnMousePressed, getOnMouseReleased, getOnRotate, getOnRotationFinished, getOnRotationStarted, getOnScroll, getOnScrollFinished, getOnScrollStarted, getOnSwipeDown, getOnSwipeLeft, getOnSwipeRight, getOnSwipeUp, getOnTouchMoved, getOnTouchPressed, getOnTouchReleased, getOnTouchStationary, getOnZoom, getOnZoomFinished, getOnZoomStarted, getOpacity, getParent, getProperties, getPseudoClassStates, getRotate, getRotationAxis, getScaleX, getScaleY, getScaleZ, getScene, getStyle, getStyleableParent, getStyleClass, getTransforms, getTranslateX, getTranslateY, getTranslateZ, getTypeSelector, getUserData, getViewOrder, hasProperties, hoverProperty, idProperty, inputMethodRequestsProperty, intersects, intersects, isCache, isDisable, isDisabled, isFocused, isFocusTraversable, isHover, isManaged, isMouseTransparent, isPickOnBounds, isPressed, isVisible, layoutBoundsProperty, layoutXProperty, layoutYProperty, localToParent, localToParent, localToParent, localToParent, localToParent, localToParentTransformProperty, localToScene, localToScene, localToScene, localToScene, localToScene, localToScene, localToScene, localToScene, localToScene, localToScene, localToSceneTransformProperty, localToScreen, localToScreen, localToScreen, localToScreen, localToScreen, lookupAll, managedProperty, mouseTransparentProperty, nodeOrientationProperty, notifyAccessibleAttributeChanged, onContextMenuRequestedProperty, onDragDetectedProperty, onDragDoneProperty, onDragDroppedProperty, onDragEnteredProperty, onDragExitedProperty, onDragOverProperty, onInputMethodTextChangedProperty, onKeyPressedProperty, onKeyReleasedProperty, onKeyTypedProperty, onMouseClickedProperty, onMouseDragEnteredProperty, onMouseDragExitedProperty, onMouseDraggedProperty, onMouseDragOverProperty, onMouseDragReleasedProperty, onMouseEnteredProperty, onMouseExitedProperty, onMouseMovedProperty, onMousePressedProperty, onMouseReleasedProperty, onRotateProperty, onRotationFinishedProperty, onRotationStartedProperty, onScrollFinishedProperty, onScrollProperty, onScrollStartedProperty, onSwipeDownProperty, onSwipeLeftProperty, onSwipeRightProperty, onSwipeUpProperty, onTouchMovedProperty, onTouchPressedProperty, onTouchReleasedProperty, onTouchStationaryProperty, onZoomFinishedProperty, onZoomProperty, onZoomStartedProperty, opacityProperty, parentProperty, parentToLocal, parentToLocal, parentToLocal, parentToLocal, parentToLocal, pickOnBoundsProperty, pressedProperty, pseudoClassStateChanged, relocate, removeEventFilter, removeEventHandler, requestFocus, resizeRelocate, rotateProperty, rotationAxisProperty, scaleXProperty, scaleYProperty, scaleZProperty, sceneProperty, sceneToLocal, sceneToLocal, sceneToLocal, sceneToLocal, sceneToLocal, sceneToLocal, sceneToLocal, sceneToLocal, screenToLocal, screenToLocal, screenToLocal, setAccessibleHelp, setAccessibleRole, setAccessibleRoleDescription, setAccessibleText, setBlendMode, setCache, setCacheHint, setClip, setCursor, setDepthTest, setDisable, setDisabled, setEffect, setEventDispatcher, setEventHandler, setFocused, setFocusTraversable, setHover, setId, setInputMethodRequests, setLayoutX, setLayoutY, setManaged, setMouseTransparent, setNodeOrientation, setOnContextMenuRequested, setOnDragDetected, setOnDragDone, setOnDragDropped, setOnDragEntered, setOnDragExited, setOnDragOver, setOnInputMethodTextChanged, setOnKeyPressed, setOnKeyReleased, setOnKeyTyped, setOnMouseClicked, setOnMouseDragEntered, setOnMouseDragExited, setOnMouseDragged, setOnMouseDragOver, setOnMouseDragReleased, setOnMouseEntered, setOnMouseExited, setOnMouseMoved, setOnMousePressed, setOnMouseReleased, setOnRotate, setOnRotationFinished, setOnRotationStarted, setOnScroll, setOnScrollFinished, setOnScrollStarted, setOnSwipeDown, setOnSwipeLeft, setOnSwipeRight, setOnSwipeUp, setOnTouchMoved, setOnTouchPressed, setOnTouchReleased, setOnTouchStationary, setOnZoom, setOnZoomFinished, setOnZoomStarted, setOpacity, setPickOnBounds, setPressed, setRotate, setRotationAxis, setScaleX, setScaleY, setScaleZ, setStyle, setTranslateX, setTranslateY, setTranslateZ, setUserData, setViewOrder, setVisible, snapshot, snapshot, startDragAndDrop, startFullDrag, styleProperty, toBack, toFront, toString, translateXProperty, translateYProperty, translateZProperty, usesMirroring, viewOrderProperty, visibleProperty
-
-
-
-
Field Detail
-
BACKGROUND
public static final javafx.scene.paint.Color BACKGROUND
-
FOREGROUND
public static final javafx.scene.paint.Color FOREGROUND
-
GRAY
public static final javafx.scene.paint.Color GRAY
-
RED
public static final javafx.scene.paint.Color RED
-
LIGHT_RED
public static final javafx.scene.paint.Color LIGHT_RED
-
GREEN
public static final javafx.scene.paint.Color GREEN
-
LIGHT_GREEN
public static final javafx.scene.paint.Color LIGHT_GREEN
-
BLUE
public static final javafx.scene.paint.Color BLUE
-
DARK_BLUE
public static final javafx.scene.paint.Color DARK_BLUE
-
ORANGE
public static final javafx.scene.paint.Color ORANGE
-
YELLOW_ORANGE
public static final javafx.scene.paint.Color YELLOW_ORANGE
-
YELLOW
public static final javafx.scene.paint.Color YELLOW
-
MAGENTA
public static final javafx.scene.paint.Color MAGENTA
-
PINK
public static final javafx.scene.paint.Color PINK
-
SHORT_INTERVAL
public static final int SHORT_INTERVAL
- See Also:
- Constant Field Values
-
LONG_INTERVAL
public static final int LONG_INTERVAL
- See Also:
- Constant Field Values
-
DEFAULT_TIME_PERIOD
public static final java.time.Duration DEFAULT_TIME_PERIOD
-
DEFAULT_TIME_PERIOD_RESOLUTION
public static final java.util.concurrent.TimeUnit DEFAULT_TIME_PERIOD_RESOLUTION
-
-
Constructor Detail
-
Tile
public Tile()
-
Tile
public Tile(Tile.SkinType skinType)
-
Tile
public Tile(Tile.SkinType skinType, double minValue, double maxValue, double value, double threshold, double lowerThreshold, double referenceValue, boolean autoReferenceValue, java.lang.String title, javafx.scene.text.TextAlignment titleAlignment, java.lang.String description, javafx.geometry.Pos descriptionAlignment, java.lang.String unit, java.lang.String flipText, boolean active, java.lang.String text, javafx.scene.text.TextAlignment textAlignment, boolean averagingEnabled, int averagingPeriod, java.time.Duration timePeriod, java.time.Duration maxTimePeriod, Tile.ImageMask imageMask, javafx.scene.paint.Color trackColor, Tile.MapProvider mapProvider, long flipTimeInMS, Tile.TextSize textSize, boolean roundedCorners, boolean startFromZero, boolean returnToZero, double minMeasuredValue, double maxMeasuredValue, boolean minMeasuredValueVisible, boolean maxMeasuredValueVisible, boolean oldValueVisible, boolean valueVisible, javafx.scene.paint.Color foregroundColor, javafx.scene.paint.Color backgroundColor, javafx.scene.paint.Color borderColor, double borderWidth, javafx.scene.paint.Color knobColor, javafx.scene.paint.Color activeColor, boolean animated, long animationDuration, double startAngle, double angleRange, boolean autoScale, boolean shadowsEnabled, java.util.Locale locale, java.text.NumberFormat numberFormat, int decimals, int tickLabelDecimals, javafx.scene.paint.Color needleColor, javafx.scene.paint.Color hourColor, javafx.scene.paint.Color minuteColor, javafx.scene.paint.Color secondColor, javafx.scene.paint.Color barColor, javafx.scene.paint.Color barBackgroundColor, javafx.scene.paint.Color titleColor, javafx.scene.paint.Color descriptionColor, javafx.scene.paint.Color unitColor, javafx.scene.paint.Color valueColor, javafx.scene.paint.Color textColor, javafx.scene.paint.Color dateColor, javafx.scene.paint.Color hourTickMarkColor, javafx.scene.paint.Color minuteTickMarkColor, javafx.scene.paint.Color alarmColor, javafx.scene.paint.Color tickLabelColor, javafx.scene.paint.Color tickMarkColor, javafx.scene.paint.Color thresholdColor, javafx.scene.paint.Color _lowerThresholdColor, boolean checkSectionsForValue, boolean checkThreshold, boolean innerShadowEnabled, boolean thresholdVisible, boolean averageVisible, boolean sectionsVisible, boolean sectionsAlwaysVisible, java.util.List<Section> sections, boolean sectionTextVisible, boolean sectionIconsVisible, boolean highlightSections, javafx.geometry.Orientation orientation, boolean keepAspect, boolean customFontEnabled, javafx.scene.text.Font customFont, boolean alert, java.lang.String alertMessage, boolean smoothing, boolean secondsVisible, boolean discreteSeconds, boolean discreteMinutes, boolean discreteHours, boolean textVisible, boolean dateVisible, boolean running, boolean hourTickMarksVisible, boolean minuteTickMarksVisible, boolean alarmsEnabled, boolean alarmsVisible, boolean strokeWithGradient, boolean fillWithGradient, RadarChart.Mode radarChartMode, javafx.scene.paint.Color chartGridColor, boolean sortedData, boolean dataPointsVisible, boolean snapToTicks, int minorTickCount, int majorTickUnit, Tile.ChartType chartType, long tooltipTimeout, javafx.scene.paint.Color notifyRegionBackgroundColor, javafx.scene.paint.Color notifyRegionForegroundColor, javafx.scene.paint.Color infoRegionBackgroundColor, javafx.scene.paint.Color infoRegionForegroundColor, java.lang.String infoRegionTooltipText, javafx.scene.image.Image backgroundImage, double backgroundImageOpacity, boolean backgroundImageKeepAspect, java.lang.String leftText, java.lang.String middleText, java.lang.String rightText, double leftValue, double middleValue, double rightValue, javafx.scene.Node leftGraphics, javafx.scene.Node middleGraphics, javafx.scene.Node rightGraphics, boolean trendVisible, int numberOfValuesForTrendCalculation, int updateInterval, int increment)
-
-
Method Detail
-
getValue
public double getValue()
Returns the value of the Tile. If animated == true this value represents the value at the end of the animation. Where currentValue represents the current value during the animation.- Returns:
- the value of the gauge
-
setValue
public void setValue(double VALUE)
Sets the value of the Tile to the given double. If animated == true this value will be the end value after the animation is finished.- Parameters:
VALUE-
-
valueProperty
public javafx.beans.property.DoubleProperty valueProperty()
-
getCurrentValue
public double getCurrentValue()
Returns the current value of the Tile. If animated == true this value represents the current value during the animation. Otherwise it's returns the same value as the getValue() method.- Returns:
- the current value of the gauge
-
currentValueProperty
public javafx.beans.property.ReadOnlyDoubleProperty currentValueProperty()
-
getOldValue
public double getOldValue()
Returns the last value of the Tile. This will not be the last value during an animation but the final last value after the animation was finished. If you need to get the last value during an animation you should use formerValue instead.- Returns:
- the last value of the gauge
-
oldValueProperty
public javafx.beans.property.ReadOnlyDoubleProperty oldValueProperty()
-
getFormerValue
public double getFormerValue()
Returns the last value of the Tile. This will be the last value during an animation. If you need to get the last value after the animation is finished or if you don't use animation at all (when using real values) you should use oldValue instead.- Returns:
- the last value of the gauge during an animation
-
formerValueProperty
public javafx.beans.property.ReadOnlyDoubleProperty formerValueProperty()
-
getMinValue
public double getMinValue()
Returns the minimum value of the scale. This value represents the lower limit of the visible gauge values.- Returns:
- the minimum value of the gauge scale
-
setMinValue
public void setMinValue(double VALUE)
Sets the minimum value of the gauge scale to the given value- Parameters:
VALUE-
-
minValueProperty
public javafx.beans.property.DoubleProperty minValueProperty()
-
getMaxValue
public double getMaxValue()
Returns the maximum value of the scale. This value represents the upper limit of the visible gauge values.- Returns:
- the maximum value of the gauge scale
-
setMaxValue
public void setMaxValue(double VALUE)
Sets the maximum value of the gauge scale to the given value- Parameters:
VALUE-
-
maxValueProperty
public javafx.beans.property.DoubleProperty maxValueProperty()
-
getRange
public double getRange()
Always returns the range of the gauge scale (maxValue - minValue). This value will be automatically calculated each time the min- or maxValue will change.- Returns:
- the range of the gauge scale
-
rangeProperty
public javafx.beans.property.ReadOnlyDoubleProperty rangeProperty()
-
getThreshold
public double getThreshold()
Returns the threshold value that can be used to visualize a threshold value on the scale. There are also events that will be fired if the threshold was exceeded or underrun. The value will be clamped to range of the gauge.- Returns:
- the threshold value of the gauge
-
setThreshold
public void setThreshold(double THRESHOLD)
Sets the threshold of the gauge to the given value. The value will be clamped to the range of the gauge.- Parameters:
THRESHOLD-
-
tresholdProperty
public javafx.beans.property.DoubleProperty tresholdProperty()
-
getLowerThreshold
public double getLowerThreshold()
-
setLowerThreshold
public void setLowerThreshold(double THRESHOLD)
-
lowerThresholdProperty
public javafx.beans.property.DoubleProperty lowerThresholdProperty()
-
getReferenceValue
public double getReferenceValue()
Returns the reference value that will be used in the HighLowTileSkin to visualize the increase or decrease of the current value compared to the reference value;- Returns:
- the reference value that will be used in the HighLowTileSkin
-
setReferenceValue
public void setReferenceValue(double VALUE)
Defines the reference value that will be used in the HighLowTileSkin- Parameters:
VALUE-
-
referenceValueProperty
public javafx.beans.property.DoubleProperty referenceValueProperty()
-
isAutoReferenceValue
public boolean isAutoReferenceValue()
Returns true if the reference value for the StockTileSkin will be calculated automatically- Returns:
- true if the reference value for the StockTileSkin will be calculated automatically
-
setAutoReferenceValue
public void setAutoReferenceValue(boolean AUTO_REFERENCE_VALUE)
Defines if the reference value for the StockTileSkin should be calculated automatically- Parameters:
AUTO_REFERENCE_VALUE-
-
autoReferenceValueProperty
public javafx.beans.property.BooleanProperty autoReferenceValueProperty()
-
getSunburstChart
public SunburstChart getSunburstChart()
-
getTitle
public java.lang.String getTitle()
Returns the title of the gauge. This title will usually only be visible if it is not empty.- Returns:
- the title of the gauge
-
setTitle
public void setTitle(java.lang.String TITLE)
Sets the title of the gauge. This title will only be visible if it is not empty.- Parameters:
TITLE-
-
titleProperty
public javafx.beans.property.StringProperty titleProperty()
-
getTitleAlignment
public javafx.scene.text.TextAlignment getTitleAlignment()
Returns the alignment that will be used to align the title in the Tile. Keep in mind that this property will not be used by every skin- Returns:
- the alignment of the title
-
setTitleAlignment
public void setTitleAlignment(javafx.scene.text.TextAlignment ALIGNMENT)
Defines the alignment that will be used to align the title in the Tile. Keep in mind that this property will not be used by every skin.- Parameters:
ALIGNMENT-
-
titleAlignmentProperty
public javafx.beans.property.ObjectProperty<javafx.scene.text.TextAlignment> titleAlignmentProperty()
-
getDescription
public java.lang.String getDescription()
Returns the description text of the gauge. This description text will usually only be visible if it is not empty.- Returns:
- the description text of the gauge
-
setDescription
public void setDescription(java.lang.String DESCRIPTION)
Sets the description text of the gauge. This description text will usually only be visible if it is not empty.- Parameters:
DESCRIPTION-
-
descriptionProperty
public javafx.beans.property.StringProperty descriptionProperty()
-
getDescriptionAlignment
public javafx.geometry.Pos getDescriptionAlignment()
Returns the current alignment of the description text (esp. in TextTileSkin)- Returns:
- the current alignment of the description text (esp. in TextTileSkin)
-
setDescriptionAlignment
public void setDescriptionAlignment(javafx.geometry.Pos ALIGNMENT)
Defines the alignment of the description text (esp. for the TextTileSkin). Valid values are TOP_LEFT and TOP_RIGHT- Parameters:
ALIGNMENT-
-
descriptionAlignmentProperty
public javafx.beans.property.ObjectProperty<javafx.geometry.Pos> descriptionAlignmentProperty()
-
getUnit
public java.lang.String getUnit()
Returns the unit of the gauge. This unit will usually only be visible if it is not empty.- Returns:
- the unit of the gauge
-
setUnit
public void setUnit(java.lang.String UNIT)
Sets the unit of the gauge. This unit will usually only be visible if it is not empty.- Parameters:
UNIT-
-
unitProperty
public javafx.beans.property.StringProperty unitProperty()
-
getFlipText
public java.lang.String getFlipText()
Returns the text that will be used to visualized the FlipTileSkin- Returns:
- the text that will be used to visualize the FlipTileSkin
-
setFlipText
public void setFlipText(java.lang.String TEXT)
Defines the text that will be used to visualize the FlipTileSkin- Parameters:
TEXT-
-
flipTextProperty
public javafx.beans.property.StringProperty flipTextProperty()
-
isActive
public boolean isActive()
Returns true if the switch in the SwitchTileSkin is active- Returns:
- true if the switch in the SwitchTileSkin is active
-
setActive
public void setActive(boolean SELECTED)
Defines if the switch in the SwitchTileSkin is active- Parameters:
SELECTED-
-
activeProperty
public javafx.beans.property.BooleanProperty activeProperty()
-
getMovingAverage
public MovingAverage getMovingAverage()
Returns the moving average object- Returns:
- the moving average object
-
isAveragingEnabled
public boolean isAveragingEnabled()
Returns true if the averaging functionality is enabled.- Returns:
- true if the averaging functionality is enabled
-
setAveragingEnabled
public void setAveragingEnabled(boolean ENABLED)
Defines if the averaging functionality will be enabled.
-
averagingEnabledProperty
public javafx.beans.property.BooleanProperty averagingEnabledProperty()
-
getAveragingPeriod
public int getAveragingPeriod()
Returns the number of values that should be used for the averaging of values. The value must be in the range of 1 - 1000.- Returns:
- the number of values used for averaging
-
setAveragingPeriod
public void setAveragingPeriod(int PERIOD)
Defines the number values that should be used for the averaging of values. The value must be in the range of 1 - 1000.- Parameters:
PERIOD-
-
averagingPeriodProperty
public javafx.beans.property.IntegerProperty averagingPeriodProperty()
-
getAveragingWindow
public java.util.Queue<TimeData> getAveragingWindow()
Returns a deep copy of the current list of Data objects that will be used to calculate the moving average.- Returns:
- the current list of Data objects used for the moving average
-
getAverage
public double getAverage()
Returns the moving average over the number of values defined by averagingPeriod.- Returns:
- the moving the average over the number of values defined by averagingPeriod
-
getTimeBasedAverageOf
public double getTimeBasedAverageOf(java.time.Duration DURATION)
Returns the moving average over the given duration.- Parameters:
DURATION-- Returns:
- the moving average over the given duration
-
getTimePeriod
public java.time.Duration getTimePeriod()
Returns the duration that should be used for the data shown in the TimelineTileSkin- Returns:
- the duration that should be used for the data shown in the TimelineTileSkin
-
setTimePeriod
public void setTimePeriod(java.time.Duration PERIOD)
Defines the duration that should be used for the data shown in the TimelineTileSkin- Parameters:
PERIOD-
-
timePeriodProperty
public javafx.beans.property.ObjectProperty<java.time.Duration> timePeriodProperty()
-
getMaxTimePeriod
public java.time.Duration getMaxTimePeriod()
Returns the duration that will be used to store datapoints in the skin Values that are not within that duration won't be stored.- Returns:
- the duration that will be used to store datapoints in the skin
-
setMaxTimePeriod
public void setMaxTimePeriod(java.time.Duration MAX_PERIOD)
Defines the duration that will be used to store datapoints in the skin- Parameters:
MAX_PERIOD-
-
maxTimePeriodProperty
public javafx.beans.property.ObjectProperty<java.time.Duration> maxTimePeriodProperty()
-
getTimePeriodResolution
public java.util.concurrent.TimeUnit getTimePeriodResolution()
-
setTimePeriodResolution
public void setTimePeriodResolution(java.util.concurrent.TimeUnit RESOLUTION)
-
timePeriodResolutionProperty
public javafx.beans.property.ObjectProperty<java.util.concurrent.TimeUnit> timePeriodResolutionProperty()
-
getDuration
public java.time.LocalTime getDuration()
Returns a duration that will be used in the TimeTileSkin- Returns:
- a duration that will be used in the TimeTileSkin
-
setDuration
public void setDuration(java.time.LocalTime DURATION)
Defines a duration that is used in the TimeTileSkin- Parameters:
DURATION-
-
durationProperty
public javafx.beans.property.ObjectProperty<java.time.LocalTime> durationProperty()
-
getSections
public javafx.collections.ObservableList<Section> getSections()
Returns an observable list of Section objects. The sections will be used to colorize areas with a special meaning such as the red area in a rpm gauge. Sections in the Medusa library usually are less eye-catching than Areas.- Returns:
- an observable list of Section objects
-
setSections
public void setSections(java.util.List<Section> SECTIONS)
Sets the sections to the given list of Section objects. The sections will be used to colorize areas with a special meaning such as the red area in a rpm gauge. Sections in the Medusa library usually are less eye-catching than Areas.- Parameters:
SECTIONS-
-
setSections
public void setSections(Section... SECTIONS)
Sets the sections to the given array of Section objects. The sections will be used to colorize areas with a special meaning such as the red area in a rpm gauge.- Parameters:
SECTIONS-
-
addSection
public void addSection(Section SECTION)
Adds the given Section to the list of sections. Sections in the Medusa library usually are less eye-catching than Areas.- Parameters:
SECTION-
-
removeSection
public void removeSection(Section SECTION)
Removes the given Section from the list of sections. Sections in the Medusa library usually are less eye-catching than Areas.- Parameters:
SECTION-
-
clearSections
public void clearSections()
Clears the list of sections.
-
getSeries
public javafx.collections.ObservableList<javafx.scene.chart.XYChart.Series<java.lang.String,java.lang.Number>> getSeries()
-
setSeries
public void setSeries(java.util.List<javafx.scene.chart.XYChart.Series<java.lang.String,java.lang.Number>> SERIES)
-
setSeries
public void setSeries(javafx.scene.chart.XYChart.Series<java.lang.String,java.lang.Number>... SERIES)
-
addSeries
public void addSeries(javafx.scene.chart.XYChart.Series<java.lang.String,java.lang.Number> SERIES)
-
removeSeries
public void removeSeries(javafx.scene.chart.XYChart.Series<java.lang.String,java.lang.Number> SERIES)
-
clearSeries
public void clearSeries()
-
getTilesFXSeries
public javafx.collections.ObservableList<TilesFXSeries<java.lang.String,java.lang.Number>> getTilesFXSeries()
-
setTilesFXSeries
public void setTilesFXSeries(java.util.List<TilesFXSeries<java.lang.String,java.lang.Number>> SERIES)
-
setTilesFXSeries
public void setTilesFXSeries(TilesFXSeries<java.lang.String,java.lang.Number>... SERIES)
-
addTilesFXSeries
public void addTilesFXSeries(TilesFXSeries<java.lang.String,java.lang.Number> SERIES)
-
removeTilesFXSeries
public void removeTilesFXSeries(TilesFXSeries<java.lang.String,java.lang.Number> SERIES)
-
clearTilesFXSeries
public void clearTilesFXSeries()
-
getBarChartItems
public javafx.collections.ObservableList<BarChartItem> getBarChartItems()
-
setBarChartItems
public void setBarChartItems(java.util.List<BarChartItem> ITEMS)
-
setBarChartItems
public void setBarChartItems(BarChartItem... ITEMS)
-
addBarChartItem
public void addBarChartItem(BarChartItem ITEM)
-
removeBarChartItem
public void removeBarChartItem(BarChartItem ITEM)
-
clearBarChartItems
public void clearBarChartItems()
-
getLeaderBoardItems
public javafx.collections.ObservableList<LeaderBoardItem> getLeaderBoardItems()
-
setLeaderBoardItems
public void setLeaderBoardItems(java.util.List<LeaderBoardItem> ITEMS)
-
setLeaderBoardItems
public void setLeaderBoardItems(LeaderBoardItem... ITEMS)
-
addLeaderBoardItem
public void addLeaderBoardItem(LeaderBoardItem ITEM)
-
removeLeaderBoardItem
public void removeLeaderBoardItem(LeaderBoardItem ITEM)
-
clearLeaderBoardItems
public void clearLeaderBoardItems()
-
getGradientStops
public java.util.List<javafx.scene.paint.Stop> getGradientStops()
-
setGradientStops
public void setGradientStops(javafx.scene.paint.Stop... STOPS)
-
setGradientStops
public void setGradientStops(java.util.List<javafx.scene.paint.Stop> STOPS)
-
getImage
public javafx.scene.image.Image getImage()
-
setImage
public void setImage(javafx.scene.image.Image IMAGE)
-
imageProperty
public javafx.beans.property.ObjectProperty<javafx.scene.image.Image> imageProperty()
-
getImageMask
public Tile.ImageMask getImageMask()
-
setImageMask
public void setImageMask(Tile.ImageMask MASK)
-
imageMaskProperty
public javafx.beans.property.ObjectProperty<Tile.ImageMask> imageMaskProperty()
-
getGraphic
public javafx.scene.Node getGraphic()
Returns an optional node that can be used in combination with the CustomTileSkin- Returns:
- an optional node that can be used in combination with the CustomTileSkin
-
setGraphic
public void setGraphic(javafx.scene.Node GRAPHIC)
Defines an optional node that can be used in combination with the CustomTileSkin.- Parameters:
GRAPHIC-
-
graphicProperty
public javafx.beans.property.ObjectProperty<javafx.scene.Node> graphicProperty()
-
getCurrentLocation
public Location getCurrentLocation()
-
setCurrentLocation
public void setCurrentLocation(Location LOCATION)
-
currentLocationProperty
public javafx.beans.property.ObjectProperty<Location> currentLocationProperty()
-
updateLocation
public void updateLocation(double LATITUDE, double LONGITUDE)
-
getPoiList
public javafx.collections.ObservableList<Location> getPoiList()
-
setPoiList
public void setPoiList(java.util.List<Location> POI_LIST)
-
setPoiLocations
public void setPoiLocations(Location... LOCATIONS)
-
addPoiLocation
public void addPoiLocation(Location LOCATION)
-
removePoiLocation
public void removePoiLocation(Location LOCATION)
-
clearPoiLocations
public void clearPoiLocations()
-
getTrack
public java.util.List<Location> getTrack()
-
setTrack
public void setTrack(Location... LOCATIONS)
-
setTrack
public void setTrack(java.util.List<Location> LOCATIONS)
-
clearTrack
public void clearTrack()
-
getTrackColor
public Tile.TileColor getTrackColor()
-
setTrackColor
public void setTrackColor(Tile.TileColor COLOR)
-
trackColorProperty
public javafx.beans.property.ObjectProperty<Tile.TileColor> trackColorProperty()
-
getMapProvider
public Tile.MapProvider getMapProvider()
-
setMapProvider
public void setMapProvider(Tile.MapProvider PROVIDER)
-
mapProviderProperty
public javafx.beans.property.ObjectProperty<Tile.MapProvider> mapProviderProperty()
-
getCharacterList
public java.util.List<java.lang.String> getCharacterList()
-
setCharacters
public void setCharacters(java.lang.String... CHARACTERS)
-
getFlipTimeInMS
public long getFlipTimeInMS()
-
setFlipTimeInMS
public void setFlipTimeInMS(long FLIP_TIME)
-
getChartData
public javafx.collections.ObservableList<ChartData> getChartData()
-
addChartData
public void addChartData(ChartData... DATA)
-
addChartData
public void addChartData(java.util.List<ChartData> DATA)
-
setChartData
public void setChartData(ChartData... DATA)
-
setChartData
public void setChartData(java.util.List<ChartData> DATA)
-
removeChartData
public void removeChartData(ChartData DATA)
-
clearChartData
public void clearChartData()
-
setForegroundBaseColor
public void setForegroundBaseColor(javafx.scene.paint.Color COLOR)
A convenient method to set the color of foreground elements like title, description, unit, value, tickLabel and tickMark to the given Color.- Parameters:
COLOR-
-
getTextSize
public Tile.TextSize getTextSize()
Returns the text size that will be used for the title, subtitle and text in the different skins. The factor in the text size will be used to calculate the height of the font.- Returns:
- the text size that will be used for the title, subtitle and text
-
setTextSize
public void setTextSize(Tile.TextSize SIZE)
Defines the text size that will be used for the title, subtitle and text in the different skins.- Parameters:
SIZE-
-
textSizeProperty
public javafx.beans.property.ObjectProperty<Tile.TextSize> textSizeProperty()
-
getRoundedCorners
public boolean getRoundedCorners()
Returns true if the corners of the Tiles are rounded- Returns:
- true if the corners of the Tiles are rounded
-
setRoundedCorners
public void setRoundedCorners(boolean ROUNDED)
Switches the corners of the Tiles between rounded and rectangular- Parameters:
ROUNDED-
-
roundedCornersProperty
public javafx.beans.property.BooleanProperty roundedCornersProperty()
-
isStartFromZero
public boolean isStartFromZero()
Returns true if the visualization of the value should start from 0. This is especially useful when you work for example with a gauge that has a range with a negative minValue- Returns:
- true if the visualization of the value should start from 0
-
setStartFromZero
public void setStartFromZero(boolean IS_TRUE)
Defines the behavior of the visualization where the needle/bar should start from 0 instead of the minValue. This is especially useful when working with a gauge that has a range with a negative minValue- Parameters:
IS_TRUE-
-
startFromZeroProperty
public javafx.beans.property.BooleanProperty startFromZeroProperty()
-
isReturnToZero
public boolean isReturnToZero()
Returns true if the needle/bar should always return to zero. This setting only makes sense if animated == true and the data rate is not too high. Set to false when using real measured live data.- Returns:
- true if the needle/bar should always return to zero.
-
setReturnToZero
public void setReturnToZero(boolean IS_TRUE)
Defines the behavior of the visualization where the needle/bar should always return to 0 after it reached the final value. This setting only makes sense if animated == true and the data rate is not too high. Set to false when using real measured live data.- Parameters:
IS_TRUE-
-
returnToZeroProperty
public javafx.beans.property.BooleanProperty returnToZeroProperty()
-
getMinMeasuredValue
public double getMinMeasuredValue()
Returns the smallest value that was measured after the last reset. The default value is the maxValue of the gauge.- Returns:
- the smallest value that was measured after the last reset
-
setMinMeasuredValue
public void setMinMeasuredValue(double MIN_MEASURED_VALUE)
Sets the minMeasuredValue to the given value.- Parameters:
MIN_MEASURED_VALUE-
-
minMeasuredValueProperty
public javafx.beans.property.ReadOnlyDoubleProperty minMeasuredValueProperty()
-
getMaxMeasuredValue
public double getMaxMeasuredValue()
Returns the biggest value that was measured after the last reset. The default value is the minValue of the gauge.- Returns:
- the biggest value that was measured after the last reset
-
setMaxMeasuredValue
public void setMaxMeasuredValue(double MAX_MEASURED_VALUE)
Sets the maxMeasuredVAlue to the given value.- Parameters:
MAX_MEASURED_VALUE-
-
maxMeasuredValueProperty
public javafx.beans.property.ReadOnlyDoubleProperty maxMeasuredValueProperty()
-
resetMeasuredValues
public void resetMeasuredValues()
Resets the min- and maxMeasuredValue to the value of the gauge.
-
isMinMeasuredValueVisible
public boolean isMinMeasuredValueVisible()
Returns true if the indicator of the minMeasuredValue is visible.- Returns:
- true if the indicator of the minMeasuredValue is visible
-
setMinMeasuredValueVisible
public void setMinMeasuredValueVisible(boolean VISIBLE)
Defines if the indicator of the minMeasuredValue should be visible.- Parameters:
VISIBLE-
-
minMeasuredValueVisibleProperty
public javafx.beans.property.BooleanProperty minMeasuredValueVisibleProperty()
-
isMaxMeasuredValueVisible
public boolean isMaxMeasuredValueVisible()
Returns true if the indicator of the maxMeasuredValue is visible.- Returns:
- true if the indicator of the maxMeasuredValue is visible
-
setMaxMeasuredValueVisible
public void setMaxMeasuredValueVisible(boolean VISIBLE)
Defines if the indicator of the maxMeasuredValue should be visible.- Parameters:
VISIBLE-
-
maxMeasuredValueVisibleProperty
public javafx.beans.property.BooleanProperty maxMeasuredValueVisibleProperty()
-
isOldValueVisible
public boolean isOldValueVisible()
Returns true if the old value of the gauge is visible (not implemented)- Returns:
- true if the old value of the gauge is visible (not implemented)
-
setOldValueVisible
public void setOldValueVisible(boolean VISIBLE)
Defines if the old value of the gauge should be visible (not implemented)- Parameters:
VISIBLE-
-
oldValueVisibleProperty
public javafx.beans.property.BooleanProperty oldValueVisibleProperty()
-
isValueVisible
public boolean isValueVisible()
Returns true if the visualization of the gauge value is visible. Usually this is a Label or Text node.- Returns:
- true if the visualization of the gauge value is visible
-
setValueVisible
public void setValueVisible(boolean VISIBLE)
Defines if the visualization of the gauge value should be visible.- Parameters:
VISIBLE-
-
valueVisibleProperty
public javafx.beans.property.BooleanProperty valueVisibleProperty()
-
getForegroundColor
public javafx.scene.paint.Color getForegroundColor()
Returns the Paint object that will be used to fill the gauge foreground. This is usally a Color object.- Returns:
- the Paint object that will be used to fill the gauge foreground
-
setForegroundColor
public void setForegroundColor(javafx.scene.paint.Color COLOR)
Defines the Paint object that will be used to fill the gauge foreground.- Parameters:
COLOR-
-
foregroundColorProperty
public javafx.beans.property.ObjectProperty<javafx.scene.paint.Color> foregroundColorProperty()
-
getBackgroundColor
public javafx.scene.paint.Color getBackgroundColor()
Returns the Paint object that will be used to fill the gauge background. This is usally a Color object.- Returns:
- the Paint object that will be used to fill the gauge background
-
setBackgroundColor
public void setBackgroundColor(javafx.scene.paint.Color COLOR)
Defines the Paint object that will be used to fill the gauge background.- Parameters:
COLOR-
-
backgroundColorProperty
public javafx.beans.property.ObjectProperty<javafx.scene.paint.Color> backgroundColorProperty()
-
getBorderColor
public javafx.scene.paint.Color getBorderColor()
Returns the Paint object that will be used to draw the border of the gauge. Usually this is a Color object.- Returns:
- the Paint object that will be used to draw the border of the gauge
-
setBorderColor
public void setBorderColor(javafx.scene.paint.Color PAINT)
Defines the Paint object that will be used to draw the border of the gauge.- Parameters:
PAINT-
-
borderColorProperty
public javafx.beans.property.ObjectProperty<javafx.scene.paint.Color> borderColorProperty()
-
getBorderWidth
public double getBorderWidth()
Returns the width in pixels that will be used to draw the border of the gauge. The value will be clamped between 0 and 50 pixels.- Returns:
- the width in pixels that will be used to draw the border of the gauge
-
setBorderWidth
public void setBorderWidth(double WIDTH)
Defines the width in pixels that will be used to draw the border of the gauge. The value will be clamped between 0 and 50 pixels.- Parameters:
WIDTH-
-
borderWidthProperty
public javafx.beans.property.DoubleProperty borderWidthProperty()
-
getKnobColor
public javafx.scene.paint.Color getKnobColor()
Returns the color that will be used to colorize the knob of the radial gauges.- Returns:
- the color that will be used to colorize the knob of the radial gauges
-
setKnobColor
public void setKnobColor(javafx.scene.paint.Color COLOR)
Defines the color that will be used to colorize the knob of the radial gauges.- Parameters:
COLOR-
-
knobColorProperty
public javafx.beans.property.ObjectProperty<javafx.scene.paint.Color> knobColorProperty()
-
getActiveColor
public javafx.scene.paint.Color getActiveColor()
-
setActiveColor
public void setActiveColor(javafx.scene.paint.Color COLOR)
-
activeColorProperty
public javafx.beans.property.ObjectProperty<javafx.scene.paint.Color> activeColorProperty()
-
isAnimated
public boolean isAnimated()
Returns true if setting the value of the gauge will be animated using the duration defined in animationDuration [ms]. Keep in mind that it only makes sense to animate the setting if the data rate is low (more than 1 value per second). If you use real live measured data you should set animated to false.- Returns:
- true if setting the value of the gauge will be animated
-
setAnimated
public void setAnimated(boolean ANIMATED)
Defines if setting the value of the gauge should be animated using the duration defined in animationDuration [ms]. Keep in mind that it only makes sense to animate the setting if the data rate is low (more than 1 value per second). If you use real live measured data you should set animated to false.- Parameters:
ANIMATED-
-
animatedProperty
public javafx.beans.property.BooleanProperty animatedProperty()
-
getAnimationDuration
public long getAnimationDuration()
Returns the duration in milliseconds that will be used to animate the needle/bar of the gauge from the last value to the next value. This will only be used if animated == true. This value will be clamped in the range of 10ms - 10s.- Returns:
- the duration in ms that will be used to animate the needle/bar
-
setAnimationDuration
public void setAnimationDuration(long ANIMATION_DURATION)
Defines the duration in milliseconds that will be used to animate the needle/bar of the gauge from the last value to the next value. This will only be used if animated == true. This value will be clamped in the range of 10ms - 10s.- Parameters:
ANIMATION_DURATION-
-
getStartAngle
public double getStartAngle()
Returns the angle in degree that defines the start of the scale with it's minValue in a radial gauge. If set to 0 the scale will start at the bottom center and the direction of counting is mathematical correct counter-clockwise. Means if you would like to start the scale on the left side in the middle of the gauge height the startAngle should be set to 270 degrees.- Returns:
- the angle in degree that defines the start of the scale
-
setStartAngle
public void setStartAngle(double ANGLE)
Defines the angle in degree that defines the start of the scale with it's minValue in a radial gauge. If set to 0 the scale will start at the bottom center and the direction of counting is mathematical correct counter-clockwise. Means if you would like to start the scale on the left side in the middle of the gauge height the startAngle should be set to 270 degrees.- Parameters:
ANGLE-
-
startAngleProperty
public javafx.beans.property.DoubleProperty startAngleProperty()
-
getAngleRange
public double getAngleRange()
Returns the angle range in degree that will be used to draw the scale of the radial gauge. The given range will be clamped in the range of 0 - 360 degrees and will be drawn in the direction dependent on the scaleDirection.- Returns:
- the angle range in degree that will be used to draw the scale
-
setAngleRange
public void setAngleRange(double RANGE)
Defines the angle range in degree that will be used to draw the scale of the radial gauge. The given range will be clamped in the range of 0 - 360 degrees. The range will start at the startAngle and will be drawn in the direction dependent on the scaleDirection.- Parameters:
RANGE-
-
angleRangeProperty
public javafx.beans.property.DoubleProperty angleRangeProperty()
-
getAngleStep
public double getAngleStep()
Returns the value that is calculated by dividing the angleRange by the range. The angleStep will always be recalculated when changing the min-, maxValue or angleRange. E.g. angleRange = 180 degrees, range = 0 - 100 will lead to angleStep = 180/100 = 1.8- Returns:
- the value that is calculated by dividing the angleRange by the range
-
angleStepProperty
public javafx.beans.property.ReadOnlyDoubleProperty angleStepProperty()
-
isAutoScale
public boolean isAutoScale()
Returns true if the scale will be calculated automatically based on the defined values for min- and maxValue. The autoscaling is on per default because otherwise you will run into problems when having very large or very small scales like 0 - 10000 or 0 - 1.- Returns:
- true if the scale will be calculated automatically
-
setAutoScale
public void setAutoScale(boolean AUTO_SCALE)
Defines if the scale should be calculated automatically based on the defined values for min- and maxValue. The autoscaling is on per default because otherwise you will run into problems when having very large or very small scales like 0 - 10000 or 0 - 1.- Parameters:
AUTO_SCALE-
-
autoScaleProperty
public javafx.beans.property.BooleanProperty autoScaleProperty()
-
isShadowsEnabled
public boolean isShadowsEnabled()
Returns true if effects like shadows will be drawn. In some gauges inner- and dropshadows will be used which will be switched on/off by setting the shadowsEnabled property.- Returns:
- true if effects like shadows will be drawn
-
setShadowsEnabled
public void setShadowsEnabled(boolean ENABLED)
Defines if effects like shadows should be drawn. In some gauges inner- and dropshadows will be used which will be switched on/off by setting the shadowsEnabled property.- Parameters:
ENABLED-
-
shadowsEnabledProperty
public javafx.beans.property.BooleanProperty shadowsEnabledProperty()
-
getLocale
public java.util.Locale getLocale()
-
setLocale
public void setLocale(java.util.Locale LOCALE)
-
localeProperty
public javafx.beans.property.ObjectProperty<java.util.Locale> localeProperty()
-
getNumberFormat
public java.text.NumberFormat getNumberFormat()
Returns the number format that will be used to format the value in the gauge (NOT USED AT THE MOMENT)- Returns:
- the number format that will bused to format the value
-
setNumberFormat
public void setNumberFormat(java.text.NumberFormat FORMAT)
Defines the number format that will be used to format the value in the gauge (NOT USED AT THE MOMENT)- Parameters:
FORMAT-
-
numberFormatProperty
public javafx.beans.property.ObjectProperty<java.text.NumberFormat> numberFormatProperty()
-
getDecimals
public int getDecimals()
Returns the number of decimals that will be used to format the value of the gauge. The number of decimals will be clamped to a value between 0-3.- Returns:
- the number of decimals that will be used to format the value
-
setDecimals
public void setDecimals(int DECIMALS)
Defines the number of decimals that will be used to format the value of the gauge. The number of decimals will be clamped to a value between 0-3.- Parameters:
DECIMALS-
-
decimalsProperty
public javafx.beans.property.IntegerProperty decimalsProperty()
-
getTickLabelDecimals
public int getTickLabelDecimals()
Returns the number of tickLabelDecimals that will be used to format the ticklabels of the gauge. The number of tickLabelDecimals will be clamped to a value between 0-3.- Returns:
- the number of tickLabelDecimals that will be used to format the ticklabels
-
setTickLabelDecimals
public void setTickLabelDecimals(int DECIMALS)
Defines the number of tickLabelDecimals that will be used to format the ticklabels of the gauge. The number of tickLabelDecimals will be clamped to a value between 0-3.- Parameters:
DECIMALS-
-
tickLabelDecimalsProperty
public javafx.beans.property.IntegerProperty tickLabelDecimalsProperty()
-
getNeedleColor
public javafx.scene.paint.Color getNeedleColor()
Returns the color that will be used to colorize the needle of the radial gauges.- Returns:
- the color that wil be used to colorize the needle
-
setNeedleColor
public void setNeedleColor(javafx.scene.paint.Color COLOR)
Defines the color that will be used to colorize the needle of the radial gauges.- Parameters:
COLOR-
-
needleColorProperty
public javafx.beans.property.ObjectProperty<javafx.scene.paint.Color> needleColorProperty()
-
getBarColor
public javafx.scene.paint.Color getBarColor()
Returns the color that will be used to colorize the bar of the gauge (if it has a bar).- Returns:
- the color that will be used to colorized the bar (if available)
-
setBarColor
public void setBarColor(javafx.scene.paint.Color COLOR)
Defines the color that will be used to colorize the bar of the gauge (if it has a bar).- Parameters:
COLOR-
-
barColorProperty
public javafx.beans.property.ObjectProperty<javafx.scene.paint.Color> barColorProperty()
-
getBarBackgroundColor
public javafx.scene.paint.Color getBarBackgroundColor()
Returns the color that will be used to colorize the bar background of the gauge (if it has a bar).- Returns:
- the color that will be used to colorize the bar background
-
setBarBackgroundColor
public void setBarBackgroundColor(javafx.scene.paint.Color COLOR)
Returns the color that will be used to colorize the bar background of the gauge (if it has a bar).- Parameters:
COLOR-
-
barBackgroundColorProperty
public javafx.beans.property.ObjectProperty<javafx.scene.paint.Color> barBackgroundColorProperty()
-
getTitleColor
public javafx.scene.paint.Color getTitleColor()
Returns the color that will be used to colorize the title of the gauge.- Returns:
- the color that will be used to colorize the title
-
setTitleColor
public void setTitleColor(javafx.scene.paint.Color COLOR)
Defines the color that will be used to colorize the title of the gauge.- Parameters:
COLOR-
-
titleColorProperty
public javafx.beans.property.ObjectProperty<javafx.scene.paint.Color> titleColorProperty()
-
getDescriptionColor
public javafx.scene.paint.Color getDescriptionColor()
Returns the color that will be used to colorize the description text of the gauge.- Returns:
- the color that will be used to colorize the description
-
setDescriptionColor
public void setDescriptionColor(javafx.scene.paint.Color COLOR)
Defines the color that will be used to colorize the description text of the gauge.- Parameters:
COLOR-
-
descriptionColorProperty
public javafx.beans.property.ObjectProperty<javafx.scene.paint.Color> descriptionColorProperty()
-
getUnitColor
public javafx.scene.paint.Color getUnitColor()
Returns the color that will be used to colorize the unit of the gauge.- Returns:
- the color that will be used to colorize the unit
-
setUnitColor
public void setUnitColor(javafx.scene.paint.Color COLOR)
Defines the color that will be used to colorize the unit of the gauge.- Parameters:
COLOR-
-
unitColorProperty
public javafx.beans.property.ObjectProperty<javafx.scene.paint.Color> unitColorProperty()
-
getValueColor
public javafx.scene.paint.Color getValueColor()
Returns the color that will be used to colorize the value of the gauge.- Returns:
- the color that will be used to colorize the value
-
setValueColor
public void setValueColor(javafx.scene.paint.Color COLOR)
Defines the color that will be used to colorize the value of the gauge.- Parameters:
COLOR-
-
valueColorProperty
public javafx.beans.property.ObjectProperty<javafx.scene.paint.Color> valueColorProperty()
-
getThresholdColor
public javafx.scene.paint.Color getThresholdColor()
Returns the color that will be used to colorize the threshold indicator of the gauge.- Returns:
- the color that will be used to colorize the threshold indicator
-
setThresholdColor
public void setThresholdColor(javafx.scene.paint.Color COLOR)
Defines the color that will be used to colorize the threshold indicator of the gauge.- Parameters:
COLOR-
-
thresholdColorProperty
public javafx.beans.property.ObjectProperty<javafx.scene.paint.Color> thresholdColorProperty()
-
getLowerThresholdColor
public javafx.scene.paint.Color getLowerThresholdColor()
-
setLowerThresholdColor
public void setLowerThresholdColor(javafx.scene.paint.Color COLOR)
-
lowerThresholdColorProperty
public javafx.beans.property.ObjectProperty<javafx.scene.paint.Color> lowerThresholdColorProperty()
-
getCheckSectionsForValue
public boolean getCheckSectionsForValue()
Returns true if the value of the gauge should be checked against all sections (if sections not empty). If a value enters a section or leaves a section it will fire an event. The check will be performed after the animation is finished (if animated == true).- Returns:
- true if the value of the gauge should be checked against all sections
-
setCheckSectionsForValue
public void setCheckSectionsForValue(boolean CHECK)
Defines if the value of the gauge should be checked against all sections (if sections not empty). If a value enters a section or leaves a section it will fire an event. The check will be performed after the animation is finished (if animated == true).- Parameters:
CHECK-
-
checkSectionsForValueProperty
public javafx.beans.property.BooleanProperty checkSectionsForValueProperty()
-
isCheckThreshold
public boolean isCheckThreshold()
Returns true if the value of the gauge should be checked against the threshold. If a value crosses the threshold it will fire an event (EXCEEDED and UNDERRUN. The check will be performed after the animation is finished (if animated == true).- Returns:
- true if the value of the gauge should be checked against the threshold
-
setCheckThreshold
public void setCheckThreshold(boolean CHECK)
Defines if the value of the gauge should be checked against the threshold. If a value crosses the threshold it will fire an event (EXCEEDED and UNDERRUN. The check will be performed after the animation is finished (if animated == true).- Parameters:
CHECK-
-
checkThresholdProperty
public javafx.beans.property.BooleanProperty checkThresholdProperty()
-
isInnerShadowEnabled
public boolean isInnerShadowEnabled()
Returns true if an inner shadow should be drawn on the gauge background.- Returns:
- true if an inner shadow should be drawn on the gauge background
-
setInnerShadowEnabled
public void setInnerShadowEnabled(boolean ENABLED)
Defines if an inner shadow should be drawn on the gauge background.- Parameters:
ENABLED-
-
innerShadowEnabledProperty
public javafx.beans.property.BooleanProperty innerShadowEnabledProperty()
-
isThresholdVisible
public boolean isThresholdVisible()
Returns true if the threshold indicator should be drawn.- Returns:
- true if the threshold indicator should be drawn
-
setThresholdVisible
public void setThresholdVisible(boolean VISIBLE)
Defines if the threshold indicator should be drawn- Parameters:
VISIBLE-
-
thresholdVisibleProperty
public javafx.beans.property.BooleanProperty thresholdVisibleProperty()
-
isAverageVisible
public boolean isAverageVisible()
Returns true if the average indicator should be drawn.- Returns:
- true if the average indicator should be drawn
-
setAverageVisible
public void setAverageVisible(boolean VISIBLE)
Defines if the average indicator should be drawn- Parameters:
VISIBLE-
-
averageVisibleProperty
public javafx.beans.property.BooleanProperty averageVisibleProperty()
-
getSectionsVisible
public boolean getSectionsVisible()
Returns true if the sections will be drawn- Returns:
- true if the sections will be drawn
-
setSectionsVisible
public void setSectionsVisible(boolean VISIBLE)
Defines if the sections will be drawn- Parameters:
VISIBLE-
-
sectionsVisibleProperty
public javafx.beans.property.BooleanProperty sectionsVisibleProperty()
-
getSectionsAlwaysVisible
public boolean getSectionsAlwaysVisible()
Returns true if the sections in the IndicatorSkin will always be visible- Returns:
-
setSectionsAlwaysVisible
public void setSectionsAlwaysVisible(boolean VISIBLE)
Defines if the sections will always be visible. This is currently only used in the IndicatorSkin- Parameters:
VISIBLE-
-
sectionsAlwaysVisibleProperty
public javafx.beans.property.BooleanProperty sectionsAlwaysVisibleProperty()
-
isSectionTextVisible
public boolean isSectionTextVisible()
Returns true if the text of the sections should be drawn inside the sections. This is currently only used in the SimpleSkin.- Returns:
- true if the text of the sections should be drawn
-
setSectionTextVisible
public void setSectionTextVisible(boolean VISIBLE)
Defines if the text of the sections should be drawn inside the sections. This is currently only used in the SimpleSkin.- Parameters:
VISIBLE-
-
sectionTextVisibleProperty
public javafx.beans.property.BooleanProperty sectionTextVisibleProperty()
-
getSectionIconsVisible
public boolean getSectionIconsVisible()
Returns true if the icon of the sections should be drawn inside the sections. This is currently only used in the SimpleSkin.- Returns:
- true if the icon of the sections should be drawn
-
setSectionIconsVisible
public void setSectionIconsVisible(boolean VISIBLE)
Defines if the icon of the sections should be drawn inside the sections. This is currently only used in the SimpleSkin.- Parameters:
VISIBLE-
-
sectionIconsVisibleProperty
public javafx.beans.property.BooleanProperty sectionIconsVisibleProperty()
-
isHighlightSections
public boolean isHighlightSections()
Returns true if sections should be highlighted in case they contain the current value.- Returns:
- true if sections should be highlighted
-
setHighlightSections
public void setHighlightSections(boolean HIGHLIGHT)
Defines if sections should be highlighted in case they contain the current value- Parameters:
HIGHLIGHT-
-
highlightSectionsProperty
public javafx.beans.property.BooleanProperty highlightSectionsProperty()
-
getOrientation
public javafx.geometry.Orientation getOrientation()
Returns the orientation of the control. This feature will only be used in the BulletChartSkin and LinearSkin. Values are HORIZONTAL and VERTICAL- Returns:
- the orientation of the control
-
setOrientation
public void setOrientation(javafx.geometry.Orientation ORIENTATION)
Defines the orientation of the control. This feature will only be used in the BulletChartSkin and LinearSkin. Values are HORIZONTAL and VERTICAL- Parameters:
ORIENTATION-
-
orientationProperty
public javafx.beans.property.ObjectProperty<javafx.geometry.Orientation> orientationProperty()
-
isKeepAspect
public boolean isKeepAspect()
Returns true if the control should keep it's aspect. This is in principle only needed if the control has different width and height.- Returns:
- true if the control should keep it's aspect
-
setKeepAspect
public void setKeepAspect(boolean KEEP)
Defines if the control should keep it's aspect. This is in principle only needed if the control has different width and height.- Parameters:
KEEP-
-
keepAspectProperty
public javafx.beans.property.BooleanProperty keepAspectProperty()
-
isAlert
public boolean isAlert()
Returns true if the alert property was set. This property can be used to visualize an alert situation in a skin.- Returns:
- true if the alert property was set
-
setAlert
public void setAlert(boolean ALERT)
Defines if the alert property should be set. This property can be used to visualize an alert situation in the skin.- Parameters:
ALERT-
-
alertProperty
public javafx.beans.property.BooleanProperty alertProperty()
-
getAlertMessage
public java.lang.String getAlertMessage()
Returns the alert message text that could be used in a tooltip in case of an alert.- Returns:
- the alert message text
-
setAlertMessage
public void setAlertMessage(java.lang.String MESSAGE)
Defines the text that could be used in a tooltip as an alert message.- Parameters:
MESSAGE-
-
alertMessageProperty
public javafx.beans.property.StringProperty alertMessageProperty()
-
isSmoothing
public boolean isSmoothing()
Returns true when smoothing is enabled. This property is only used in the SparkLineTileSkin and RadarChartTileSkin (Polygon mode) to smooth the path. In a custom skin it could be also used for other things.- Returns:
- true when smoothing is enabled
-
setSmoothing
public void setSmoothing(boolean SMOOTHING)
Defines if the smoothing property should be enabled/disabled. At the moment this is only used in the SparkLineTileSkin and RadarChartTileSkin.- Parameters:
SMOOTHING-
-
smoothingProperty
public javafx.beans.property.BooleanProperty smoothingProperty()
-
calcAutoScale
public void calcAutoScale()
Calling this method will lead to a recalculation of the scale
-
getTime
public java.time.ZonedDateTime getTime()
Returns the current time of the clock.- Returns:
- the current time of the clock
-
setTime
public void setTime(java.time.ZonedDateTime TIME)
Defines the current time of the clock.- Parameters:
TIME-
-
setTime
public void setTime(long EPOCH_SECONDS)
-
timeProperty
public javafx.beans.property.ObjectProperty<java.time.ZonedDateTime> timeProperty()
-
getCurrentTime
public long getCurrentTime()
Returns the current time in epoch seconds- Returns:
- the current time in epoch seconds
-
currentTimeProperty
public javafx.beans.property.ReadOnlyLongProperty currentTimeProperty()
-
getZoneId
public java.time.ZoneId getZoneId()
-
getText
public java.lang.String getText()
Returns the text that was defined for the clock. This text could be used for additional information.- Returns:
- the text that was defined for the clock
-
setText
public void setText(java.lang.String TEXT)
Define the text for the clock. This text could be used for additional information.- Parameters:
TEXT-
-
textProperty
public javafx.beans.property.StringProperty textProperty()
-
getTextAlignment
public javafx.scene.text.TextAlignment getTextAlignment()
Returns the alignment that will be used to align the text in the Tile. Keep in mind that this property will not be used by every skin- Returns:
- the alignment of the text
-
setTextAlignment
public void setTextAlignment(javafx.scene.text.TextAlignment ALIGNMENT)
Defines the alignment that will be used to align the text in the Tile. Keep in mind that this property will not be used by every skin.- Parameters:
ALIGNMENT-
-
textAlignmentProperty
public javafx.beans.property.ObjectProperty<javafx.scene.text.TextAlignment> textAlignmentProperty()
-
getTimeSections
public javafx.collections.ObservableList<TimeSection> getTimeSections()
Returns an observable list of TimeSection objects. The sections will be used to colorize areas with a special meaning. TimeSections in the Medusa library usually are less eye-catching than Areas.- Returns:
- an observable list of TimeSection objects
-
setTimeSections
public void setTimeSections(java.util.List<TimeSection> SECTIONS)
Sets the sections to the given list of TimeSection objects. The sections will be used to colorize areas with a special meaning. Sections in the Medusa library usually are less eye-catching than Areas.- Parameters:
SECTIONS-
-
setTimeSections
public void setTimeSections(TimeSection... SECTIONS)
Sets the sections to the given array of TimeSection objects. The sections will be used to colorize areas with a special meaning. Sections in the Medusa library usually are less eye-catching than Areas.- Parameters:
SECTIONS-
-
addTimeSection
public void addTimeSection(TimeSection SECTION)
Adds the given TimeSection to the list of sections. Sections in the Medusa library usually are less eye-catching than Areas.- Parameters:
SECTION-
-
removeTimeSection
public void removeTimeSection(TimeSection SECTION)
Removes the given TimeSection from the list of sections. Sections in the Medusa library usually are less eye-catching than Areas.- Parameters:
SECTION-
-
clearTimeSections
public void clearTimeSections()
Clears the list of sections.
-
isDiscreteSeconds
public boolean isDiscreteSeconds()
Returns true if the second hand of the clock should move in discrete steps of 1 second. Otherwise it will move continuously like in an automatic clock.- Returns:
- true if the second hand of the clock should move in discrete steps of 1 second
-
setDiscreteSeconds
public void setDiscreteSeconds(boolean DISCRETE)
Defines if the second hand of the clock should move in discrete steps of 1 second. Otherwise it will move continuously like in an automatic clock.- Parameters:
DISCRETE-
-
discreteSecondsProperty
public javafx.beans.property.BooleanProperty discreteSecondsProperty()
-
isDiscreteMinutes
public boolean isDiscreteMinutes()
Returns true if the minute hand of the clock should move in discrete steps of 1 minute. Otherwise it will move continuously like in an automatic clock.- Returns:
- true if the minute hand of the clock should move in discrete steps of 1 minute
-
setDiscreteMinutes
public void setDiscreteMinutes(boolean DISCRETE)
Defines if the minute hand of the clock should move in discrete steps of 1 minute. Otherwise it will move continuously like in an automatic clock.- Parameters:
DISCRETE-
-
discreteMinutesProperty
public javafx.beans.property.BooleanProperty discreteMinutesProperty()
-
isDiscreteHours
public boolean isDiscreteHours()
Returns true if the hour hand of the clock should move in discrete steps of 1 hour. This behavior was more or less implemented to realize the clock of clocks and should usually be false.- Returns:
- true if the hour hand of the clock should move in discrete steps of 1 hour
-
setDiscreteHours
public void setDiscreteHours(boolean DISCRETE)
Defines if the hour hand of the clock should move in discrete steps of 1 hour. This behavior was more or less implemented to realize the clock of clocks and should usually be false.- Parameters:
DISCRETE-
-
discreteHoursProperty
public javafx.beans.property.BooleanProperty discreteHoursProperty()
-
isSecondsVisible
public boolean isSecondsVisible()
Returns true if the second hand of the clock will be drawn.- Returns:
- true if the second hand of the clock will be drawn.
-
setSecondsVisible
public void setSecondsVisible(boolean VISIBLE)
Defines if the second hand of the clock will be drawn.- Parameters:
VISIBLE-
-
secondsVisibleProperty
public javafx.beans.property.BooleanProperty secondsVisibleProperty()
-
isTextVisible
public boolean isTextVisible()
Returns true if the text of the clock will be drawn.- Returns:
- true if the text of the clock will be drawn
-
setTextVisible
public void setTextVisible(boolean VISIBLE)
Defines if the text of the clock will be drawn.- Parameters:
VISIBLE-
-
textVisibleProperty
public javafx.beans.property.BooleanProperty textVisibleProperty()
-
isDateVisible
public boolean isDateVisible()
Returns true if the date of the clock will be drawn.- Returns:
- true if the date of the clock will be drawn
-
setDateVisible
public void setDateVisible(boolean VISIBLE)
Defines if the date of the clock will be drawn.- Parameters:
VISIBLE-
-
dateVisibleProperty
public javafx.beans.property.BooleanProperty dateVisibleProperty()
-
isRunning
public boolean isRunning()
Returns true if the clock is running and shows the current time. The clock will only start running if animated == false.- Returns:
- true if the clock is running
-
setRunning
public void setRunning(boolean RUNNING)
Defines if the clock is running. The clock will only start running if animated == false;- Parameters:
RUNNING-
-
runningProperty
public javafx.beans.property.BooleanProperty runningProperty()
-
getTextColor
public javafx.scene.paint.Color getTextColor()
Returns the color that will be used to colorize the text of the clock.- Returns:
- the color that will be used to colorize the text of the clock
-
setTextColor
public void setTextColor(javafx.scene.paint.Color COLOR)
Defines the color that will be used to colorize the text of the clock.- Parameters:
COLOR-
-
textColorProperty
public javafx.beans.property.ObjectProperty<javafx.scene.paint.Color> textColorProperty()
-
getDateColor
public javafx.scene.paint.Color getDateColor()
Returns the color that will be used to colorize the date of the clock.- Returns:
- the color that will be used to colorize the date of the clock
-
setDateColor
public void setDateColor(javafx.scene.paint.Color COLOR)
Defines the color that will be used to colorize the date of the clock- Parameters:
COLOR-
-
dateColorProperty
public javafx.beans.property.ObjectProperty<javafx.scene.paint.Color> dateColorProperty()
-
getHourTickMarkColor
public javafx.scene.paint.Color getHourTickMarkColor()
Returns the color that will be used to colorize the hour tickmarks of the clock.- Returns:
- the color that will be used to colorize the hour tickmarks of the clock
-
setHourTickMarkColor
public void setHourTickMarkColor(javafx.scene.paint.Color COLOR)
Defines the color that will be used to colorize the hour tickmarks of the clock.- Parameters:
COLOR-
-
hourTickMarkColorProperty
public javafx.beans.property.ObjectProperty<javafx.scene.paint.Color> hourTickMarkColorProperty()
-
getMinuteTickMarkColor
public javafx.scene.paint.Color getMinuteTickMarkColor()
Returns the color that will be used to colorize the minute tickmarks of the clock.- Returns:
- the color that will be used to colorize the minute tickmarks of the clock
-
setMinuteTickMarkColor
public void setMinuteTickMarkColor(javafx.scene.paint.Color COLOR)
Defines the color that will be used to colorize the minute tickmarks of the clock.- Parameters:
COLOR-
-
minuteTickMarkColorProperty
public javafx.beans.property.ObjectProperty<javafx.scene.paint.Color> minuteTickMarkColorProperty()
-
getAlarmColor
public javafx.scene.paint.Color getAlarmColor()
Returns the color that will be used to colorize the alarm icon.- Returns:
- the color that will be used to colorize the alarm icon
-
setAlarmColor
public void setAlarmColor(javafx.scene.paint.Color COLOR)
Defines the color that will be used to colorize the alarm icon- Parameters:
COLOR-
-
alarmColorProperty
public javafx.beans.property.ObjectProperty<javafx.scene.paint.Color> alarmColorProperty()
-
getTickLabelColor
public javafx.scene.paint.Color getTickLabelColor()
Returns the color that will be used to colorize tick labels (e.g. in the SparkLineTileSkin)- Returns:
- the color that will be used to colorize tick labels (e.g. in the SparkLineTileSkin)
-
setTickLabelColor
public void setTickLabelColor(javafx.scene.paint.Color COLOR)
-
tickLabelColorProperty
public javafx.beans.property.ObjectProperty<javafx.scene.paint.Color> tickLabelColorProperty()
-
getTickMarkColor
public javafx.scene.paint.Color getTickMarkColor()
Returns the color that will be used to colorize tick marks in some skins- Returns:
- the color that will be used to colorize tick marks in some skins
-
setTickMarkColor
public void setTickMarkColor(javafx.scene.paint.Color COLOR)
-
tickMarkColorProperty
public javafx.beans.property.ObjectProperty<javafx.scene.paint.Color> tickMarkColorProperty()
-
isHourTickMarksVisible
public boolean isHourTickMarksVisible()
Returns true if the hour tickmarks will be drawn.- Returns:
- true if the hour tickmarks will be drawn
-
setHourTickMarksVisible
public void setHourTickMarksVisible(boolean VISIBLE)
Defines if the hour tickmarks will be drawn.- Parameters:
VISIBLE-
-
hourTickMarksVisibleProperty
public javafx.beans.property.BooleanProperty hourTickMarksVisibleProperty()
-
isMinuteTickMarksVisible
public boolean isMinuteTickMarksVisible()
Returns true if the minute tickmarks will be drawn.- Returns:
- true if the minute tickmarks will be drawn
-
setMinuteTickMarksVisible
public void setMinuteTickMarksVisible(boolean VISIBLE)
Defines if the minute tickmarks will be drawn.- Parameters:
VISIBLE-
-
minuteTickMarksVisibleProperty
public javafx.beans.property.BooleanProperty minuteTickMarksVisibleProperty()
-
getHourColor
public javafx.scene.paint.Color getHourColor()
Returns the color that will be used to colorize the hour hand of the clock.- Returns:
- the color that will be used to colorize the hour hand of the clock
-
setHourColor
public void setHourColor(javafx.scene.paint.Color COLOR)
Defines the color that will be used to colorize the hour hand of the clock- Parameters:
COLOR-
-
hourColorProperty
public javafx.beans.property.ObjectProperty<javafx.scene.paint.Color> hourColorProperty()
-
getMinuteColor
public javafx.scene.paint.Color getMinuteColor()
Returns the color that will be used to colorize the minute hand of the clock.- Returns:
- the color that will be used to colorize the minute hand of the clock
-
setMinuteColor
public void setMinuteColor(javafx.scene.paint.Color COLOR)
Defines the color that will be used to colorize the minute hand of the clock.- Parameters:
COLOR-
-
minuteColorProperty
public javafx.beans.property.ObjectProperty<javafx.scene.paint.Color> minuteColorProperty()
-
getSecondColor
public javafx.scene.paint.Color getSecondColor()
Returns the color that will be used to colorize the second hand of the clock.- Returns:
- the color that will be used to colorize the second hand of the clock
-
setSecondColor
public void setSecondColor(javafx.scene.paint.Color COLOR)
Defines the color that will be used to colorize the second hand of the clock- Parameters:
COLOR-
-
secondColorProperty
public javafx.beans.property.ObjectProperty<javafx.scene.paint.Color> secondColorProperty()
-
isAlarmsEnabled
public boolean isAlarmsEnabled()
Returns true if alarms are enabled. If false then no alarms will be triggered- Returns:
- true if alarms are enabled
-
setAlarmsEnabled
public void setAlarmsEnabled(boolean CHECK)
Defines if alarms are enabled. If false then no alarms will be triggered.- Parameters:
CHECK-
-
alarmsEnabledProperty
public javafx.beans.property.BooleanProperty alarmsEnabledProperty()
-
isAlarmsVisible
public boolean isAlarmsVisible()
Returns true if alarm markers should be drawn.- Returns:
- true if alarm markers should be drawn
-
setAlarmsVisible
public void setAlarmsVisible(boolean VISIBLE)
Defines if alarm markers should be drawn.- Parameters:
VISIBLE-
-
alarmsVisibleProperty
public javafx.beans.property.BooleanProperty alarmsVisibleProperty()
-
getAlarms
public javafx.collections.ObservableList<Alarm> getAlarms()
Returns an observable list of Alarm objects.- Returns:
- an observable list of Alarm objects
-
setAlarms
public void setAlarms(java.util.List<Alarm> ALARMS)
Sets the alarms to the given list of Alarm objects.- Parameters:
ALARMS-
-
setAlarms
public void setAlarms(Alarm... ALARMS)
Sets the alarms to the given array of Alarm objects.- Parameters:
ALARMS-
-
addAlarm
public void addAlarm(Alarm ALARM)
Adds the given Alarm object from the list of alarms.- Parameters:
ALARM-
-
removeAlarm
public void removeAlarm(Alarm ALARM)
Removes the given Alarm object from the list of alarms.- Parameters:
ALARM-
-
clearAlarms
public void clearAlarms()
Clears the list of alarms.
-
getTooltipText
public java.lang.String getTooltipText()
Returns the text that will be shown in the Tile tooltip- Returns:
- the text that will be shown in the Tile tooltip
-
setTooltipText
public void setTooltipText(java.lang.String TEXT)
Defines the text that will be shown in the Tile tooltip- Parameters:
TEXT-
-
tooltipTextProperty
public javafx.beans.property.StringProperty tooltipTextProperty()
-
getXAxis
public javafx.scene.chart.Axis getXAxis()
-
setXAxis
public void setXAxis(javafx.scene.chart.Axis AXIS)
-
xAxisProperty
public javafx.beans.property.ObjectProperty<javafx.scene.chart.Axis> xAxisProperty()
-
getYAxis
public javafx.scene.chart.Axis getYAxis()
-
setYAxis
public void setYAxis(javafx.scene.chart.Axis AXIS)
-
yAxisProperty
public javafx.beans.property.ObjectProperty<javafx.scene.chart.Axis> yAxisProperty()
-
getRadarChartMode
public RadarChart.Mode getRadarChartMode()
Returns the mode of the RadarChartTileSkin. There are Mode.POLYGON and Mode.SECTOR.- Returns:
- the mode of the RadarChartTileSkin
-
setRadarChartMode
public void setRadarChartMode(RadarChart.Mode MODE)
Defines the mode that is used in the RadarChartTileSkin to visualize the data in the RadarChart. There are Mode.POLYGON and Mode.SECTOR.- Parameters:
MODE-
-
radarChartModeProperty
public javafx.beans.property.ObjectProperty<RadarChart.Mode> radarChartModeProperty()
-
getChartGridColor
public javafx.scene.paint.Color getChartGridColor()
Returns the color that will be used to colorize lines in charts e.g. the grid in the RadarChartTileSkin- Returns:
- the color that will be used to colorize lines in charts
-
setChartGridColor
public void setChartGridColor(javafx.scene.paint.Color COLOR)
Defines the color that will be used to colorize lines in charts e.g. the grid in the RadarChartTileSkin- Parameters:
COLOR-
-
chartGridColorProperty
public javafx.beans.property.ObjectProperty<javafx.scene.paint.Color> chartGridColorProperty()
-
getCountry
public Country getCountry()
Returns the Locale that will be used to visualize the country in the CountryTileSkin- Returns:
- the Locale that will be used to visualize the country in the CountryTileSkin
-
setCountry
public void setCountry(Country COUNTRY)
Defines the Locale that will be used to visualize the country in the CountryTileSkin- Parameters:
COUNTRY-
-
countryProperty
public javafx.beans.property.ObjectProperty<Country> countryProperty()
-
getCountryGroup
public CountryGroup getCountryGroup()
-
setCountryGroup
public void setCountryGroup(CountryGroup GROUP)
-
countryGroupProperty
public javafx.beans.property.ObjectProperty<CountryGroup> countryGroupProperty()
-
isSortedData
public boolean isSortedData()
-
setSortedData
public void setSortedData(boolean SORTED)
-
sortedDataProperty
public javafx.beans.property.BooleanProperty sortedDataProperty()
-
getDataPointsVisible
public boolean getDataPointsVisible()
-
setDataPointsVisible
public void setDataPointsVisible(boolean VISIBLE)
-
dataPointsVisibleProperty
public javafx.beans.property.BooleanProperty dataPointsVisibleProperty()
-
isSnapToTicks
public boolean isSnapToTicks()
-
setSnapToTicks
public void setSnapToTicks(boolean SNAP)
-
snapToTicksProperty
public javafx.beans.property.BooleanProperty snapToTicksProperty()
-
getMinorTickCount
public int getMinorTickCount()
The number of ticks between 2 major tick marks (used in SliderTileSkin)- Returns:
- the number of ticks between 2 major tick marks
-
setMinorTickCount
public void setMinorTickCount(int MINOR_TICK_COUNT)
-
getMajorTickUnit
public double getMajorTickUnit()
The distance between 2 major tick marks (used in SliderTileSkin)- Returns:
- the distance between 2 major tick marks
-
setMajorTickUnit
public void setMajorTickUnit(double MAJOR_TICK_UNIT)
-
getMatrixSize
public int[] getMatrixSize()
-
setMatrixSize
public void setMatrixSize(int[] COLUMNS_AND_ROWS)
-
setMatrixSize
public void setMatrixSize(int COLUMNS, int ROWS)
-
getChartType
public Tile.ChartType getChartType()
-
setChartType
public void setChartType(Tile.ChartType TYPE)
-
getTooltipTimeout
public double getTooltipTimeout()
-
setTooltipTimeout
public void setTooltipTimeout(double TIMEOUT)
-
tooltipTimeoutProperty
public javafx.beans.property.DoubleProperty tooltipTimeoutProperty()
-
getIncrement
public double getIncrement()
-
setIncrement
public void setIncrement(double INCREMENT)
-
isCustomFontEnabled
public boolean isCustomFontEnabled()
Returns true if the control uses the given customFont to render all text elements.- Returns:
- true if the control uses the given customFont
-
setCustomFontEnabled
public void setCustomFontEnabled(boolean ENABLED)
Defines if the control should use the given customFont to render all text elements- Parameters:
ENABLED-
-
customFontEnabledProperty
public javafx.beans.property.BooleanProperty customFontEnabledProperty()
-
getCustomFont
public javafx.scene.text.Font getCustomFont()
Returns the given custom Font that can be used to render all text elements. To enable the custom font one has to set customFontEnabled = true- Returns:
- the given custom Font
-
setCustomFont
public void setCustomFont(javafx.scene.text.Font FONT)
Defines the custom font that can be used to render all text elements. To enable the custom font one has to set customFontEnabled = true- Parameters:
FONT-
-
customFontProperty
public javafx.beans.property.ObjectProperty<javafx.scene.text.Font> customFontProperty()
-
getCountryPaths
public java.util.Map<java.lang.String,java.util.List<CountryPath>> getCountryPaths()
Returns a list of path elements that define the countries- Returns:
- a list of path elements that define the countries
-
isStrokeWithGradient
public boolean isStrokeWithGradient()
Returns true if a gradient defined by gradientStops will be used to stroke the line in the SparklineTileSkin.- Returns:
- true if a gradient defined by gradientStops will be used to stroke the line in the SparklineTileSkin
-
setStrokeWithGradient
public void setStrokeWithGradient(boolean STROKE_WITH_GRADIENT)
Defines the usage of a gradient defined by gradientStops to stroke the line in the SparklineTileSkin- Parameters:
STROKE_WITH_GRADIENT-
-
strokeWithGradientProperty
public javafx.beans.property.BooleanProperty strokeWithGradientProperty()
-
isFillWithGradient
public boolean isFillWithGradient()
Returns true if a gradient defined by gradientStops will be used to fill the area in the SmoothAreaTileSkin.- Returns:
- true if a gradient defined by gradientStops will be used to fill the area in the SmoothAreaTileSkin
-
setFillWithGradient
public void setFillWithGradient(boolean FILL_WITH_GRADIENT)
Defines the usage of a gradient defined by gradientStops to fill the area in the SmoothAreaTileSkin- Parameters:
FILL_WITH_GRADIENT-
-
fillWithGradientProperty
public javafx.beans.property.BooleanProperty fillWithGradientProperty()
-
getDarkSky
public DarkSky getDarkSky()
-
setDarkSky
public void setDarkSky(DarkSky DARK_SKY)
-
updateWeather
public void updateWeather()
-
getNotifyRegionBackgroundColor
public javafx.scene.paint.Color getNotifyRegionBackgroundColor()
-
setNotifyRegionBackgroundColor
public void setNotifyRegionBackgroundColor(javafx.scene.paint.Color COLOR)
-
getNotifyRegionForegroundColor
public javafx.scene.paint.Color getNotifyRegionForegroundColor()
-
setNotifyRegionForegroundColor
public void setNotifyRegionForegroundColor(javafx.scene.paint.Color COLOR)
-
getInfoRegionBackgroundColor
public javafx.scene.paint.Color getInfoRegionBackgroundColor()
-
setInfoRegionBackgroundColor
public void setInfoRegionBackgroundColor(javafx.scene.paint.Color COLOR)
-
getInfoRegionForegroundColor
public javafx.scene.paint.Color getInfoRegionForegroundColor()
-
setInfoRegionForegroundColor
public void setInfoRegionForegroundColor(javafx.scene.paint.Color COLOR)
-
getInfoRegionTooltipText
public java.lang.String getInfoRegionTooltipText()
-
setInfoRegionTooltipText
public void setInfoRegionTooltipText(java.lang.String TEXT)
-
getBackgroundImage
public javafx.scene.image.Image getBackgroundImage()
-
setBackgroundImage
public void setBackgroundImage(javafx.scene.image.Image IMAGE)
-
getBackgroundImageOpacity
public double getBackgroundImageOpacity()
-
setBackgroundImageOpacity
public void setBackgroundImageOpacity(double OPACITY)
-
getBackgroundImageKeepAspect
public boolean getBackgroundImageKeepAspect()
-
setBackgroundImageKeepAspect
public void setBackgroundImageKeepAspect(boolean KEEP_ASPECT)
-
getLeftText
public java.lang.String getLeftText()
-
setLeftText
public void setLeftText(java.lang.String TEXT)
-
leftTextProperty
public javafx.beans.property.StringProperty leftTextProperty()
-
getMiddleText
public java.lang.String getMiddleText()
-
setMiddleText
public void setMiddleText(java.lang.String TEXT)
-
middleTextProperty
public javafx.beans.property.StringProperty middleTextProperty()
-
getRightText
public java.lang.String getRightText()
-
setRightText
public void setRightText(java.lang.String TEXT)
-
rightTextProperty
public javafx.beans.property.StringProperty rightTextProperty()
-
getLeftValue
public double getLeftValue()
-
setLeftValue
public void setLeftValue(double VALUE)
-
leftValueProperty
public javafx.beans.property.DoubleProperty leftValueProperty()
-
getMiddleValue
public double getMiddleValue()
-
setMiddleValue
public void setMiddleValue(double VALUE)
-
middleValueProperty
public javafx.beans.property.DoubleProperty middleValueProperty()
-
getRightValue
public double getRightValue()
-
setRightValue
public void setRightValue(double VALUE)
-
rightValueProperty
public javafx.beans.property.DoubleProperty rightValueProperty()
-
getLeftGraphics
public javafx.scene.Node getLeftGraphics()
-
setLeftGraphics
public void setLeftGraphics(javafx.scene.Node NODE)
-
leftGraphicsProperty
public javafx.beans.property.ObjectProperty<javafx.scene.Node> leftGraphicsProperty()
-
getMiddleGraphics
public javafx.scene.Node getMiddleGraphics()
-
setMiddleGraphics
public void setMiddleGraphics(javafx.scene.Node NODE)
-
middleGraphicsProperty
public javafx.beans.property.ObjectProperty<javafx.scene.Node> middleGraphicsProperty()
-
getRightGraphics
public javafx.scene.Node getRightGraphics()
-
setRightGraphics
public void setRightGraphics(javafx.scene.Node NODE)
-
rightGraphicsProperty
public javafx.beans.property.ObjectProperty<javafx.scene.Node> rightGraphicsProperty()
-
isTrendVisible
public boolean isTrendVisible()
Returns true if the trend indicator in the TimelineTileSkin is visible- Returns:
- true if the trend indicator in the TimelineTileSkin is visible
-
setTrendVisible
public void setTrendVisible(boolean VISIBLE)
Defines the visibility of the trend indicator in the TimelineTileSkin- Parameters:
VISIBLE-
-
trendVisibleProperty
public javafx.beans.property.BooleanProperty trendVisibleProperty()
-
getNumberOfValuesForTrendCalculation
public int getNumberOfValuesForTrendCalculation()
-
setNumberOfValuesForTrendCalculation
public void setNumberOfValuesForTrendCalculation(int NUMBER)
-
numberOfValuesForTrendCalculationProperty
public javafx.beans.property.IntegerProperty numberOfValuesForTrendCalculationProperty()
-
showNotifyRegion
public void showNotifyRegion(boolean SHOW)
-
showInfoRegion
public void showInfoRegion(boolean SHOW)
-
getInfoRegionHandler
public javafx.event.EventHandler<javafx.scene.input.MouseEvent> getInfoRegionHandler()
-
setInfoRegionEventHandler
public void setInfoRegionEventHandler(javafx.event.EventHandler<javafx.scene.input.MouseEvent> HANDLER)
-
isShowing
public boolean isShowing()
-
stop
public void stop()
Calling this method will stop all threads. This is needed when using JavaFX on mobile devices when the device goes to sleep mode.
-
setOnTileEvent
public void setOnTileEvent(TileEventListener LISTENER)
-
addTileEventListener
public void addTileEventListener(TileEventListener LISTENER)
-
removeTileEventListener
public void removeTileEventListener(TileEventListener LISTENER)
-
removeAllTileEventListeners
public void removeAllTileEventListeners()
-
fireTileEvent
public void fireTileEvent(TileEvent EVENT)
-
setOnAlarm
public void setOnAlarm(AlarmEventListener LISTENER)
-
addAlarmEventListener
public void addAlarmEventListener(AlarmEventListener LISTENER)
-
removeAlarmEventListener
public void removeAlarmEventListener(AlarmEventListener LISTENER)
-
removeAllAlarmEventListeners
public void removeAllAlarmEventListeners()
-
fireAlarmEvent
public void fireAlarmEvent(AlarmEvent EVENT)
-
setOnTimeEvent
public void setOnTimeEvent(TimeEventListener LISTENER)
-
addTimeEventListener
public void addTimeEventListener(TimeEventListener LISTENER)
-
removeTimeEventListener
public void removeTimeEventListener(TimeEventListener LISTENER)
-
removeAllTimeEventListeners
public void removeAllTimeEventListeners()
-
fireTimeEvent
public void fireTimeEvent(TimeEvent EVENT)
-
setOnSwitchPressed
public void setOnSwitchPressed(javafx.event.EventHandler<SwitchEvent> HANDLER)
-
removeOnSwitchPressed
public void removeOnSwitchPressed(javafx.event.EventHandler<SwitchEvent> HANDLER)
-
setOnSwitchReleased
public void setOnSwitchReleased(javafx.event.EventHandler<SwitchEvent> HANDLER)
-
removeOnSwitchReleased
public void removeOnSwitchReleased(javafx.event.EventHandler<SwitchEvent> HANDLER)
-
createDefaultSkin
protected javafx.scene.control.Skin createDefaultSkin()
- Overrides:
createDefaultSkinin classjavafx.scene.control.Control
-
getUserAgentStylesheet
public java.lang.String getUserAgentStylesheet()
- Overrides:
getUserAgentStylesheetin classjavafx.scene.layout.Region
-
getSkinType
public Tile.SkinType getSkinType()
-
setSkinType
public void setSkinType(Tile.SkinType SKIN_TYPE)
-
-