Uses of Class
com.amalgamasimulation.charts.Legend
Packages that use Legend
-
Uses of Legend in com.amalgamasimulation.charts
Fields in com.amalgamasimulation.charts declared as LegendModifier and TypeFieldDescriptionBarChart.barChartLegendHistogramChart.barChartLegendprotected Legend<ILineChartVisualSet> NumericLineChart.legendprotected Legend<ILineChartVisualSet> TimeLineChart.legendMethods in com.amalgamasimulation.charts that return LegendModifier and TypeMethodDescriptionLegend.addLegendItemStateHandler(Consumer<LegendItemStateChangeDescriptor<T>> handler) Adds the action to be executed every time the legend item state changed.Legend.clearLegendItemStateHandler()Clear all the legend item state change actions.AbstractBarChart.getLegend()Returns theLegendcurrently shown on this chart.abstract Legend<ILineChartVisualSet> AbstractLineChart.getLegend()Returns theLegendcurrently shown on this chart.BarChart.getLegend()HistogramChart.getLegend()NumericLineChart.getLegend()TimeLineChart.getLegend()Legend.removeLegendItemStateHandler(Consumer<LegendItemStateChangeDescriptor<T>> handler) Removes the legend item state change action.Legend.setBackgroundColor(Color color) Sets the new background color to the legend.Legend.setBackgroundColor(javafx.scene.paint.Color color) Sets the new background color to the legend.Legend.setDisplayModesToDefault()Resets the set of display modes of legend items to the REGULAR setting.Legend.setFont(javafx.scene.text.Font font) Sets the new font to the legend.Legend.setFontSize(int fontSize) Sets the new font size to the legend.Legend.setHiddenLegendItemStateEnabled(boolean enabled) Specifies the enabled HIDDEN state of legend items.Legend.setHiddenVisualSetsStackingPolicy(HiddenVisualSetsStackingPolicy hiddenVisualSetsStackingPolicy) Specifies the stacking policy of visual sets HIDDEN state of legend items.Legend.setLegendItemsStatesToDefault()Resets the set of enabled states of legend items to the default setting.Legend.setLegendItemState(T legendItem, LegendItemState state) Sets the new state to legend item.Legend.setLegendItemVisibilityRule(Predicate<T> legendItemVisibilityRule) Specifies whether the legend item should be drawn.Legend.setLegendValuesFormat(Function<Double, String> format) Sets the formatter to legend values, i.e.Legend.setShadowedLegendItemStateEnabled(boolean enabled) Specifies the enabled SHADOWED state of legend items.Legend.setVisible(boolean visible) Specifies whether the legend should be drawn.