Skip to content

RadarChartNode.RadarChartData

class RadarChartNode.RadarChartData
Package: dev.joid.lib.ui.node.impl.chart · Module: core · Source: RadarChartNode.java

One entry of a radar chart: a label and its value.

ReturnsSignatureSummary
RadarChartDatacreate(String label) factoryCreates an entry with this label and no value yet.
RadarChartDatacreate(String label, Number value) factoryCreates an entry with this label and this value.
RadarChartData(String label) protectedCalled by a subclass with the label.
RadarChartData(String label, Number value) protectedCalled by a subclass with the label and the value.

PropertyTypeDefaultSummary
value signalNumberset at creationThe value of the entry; null means it has none yet.
label signalStringset at creationThe label of the entry.

ReturnsSignatureSummary
booleanisEmpty()If true, the entry has no value.
thisclear() fluentRemoves the value of the entry.

RadarChartData create(String label) factory

Creates an entry with this label and no value yet.

RadarChartData create(String label, Number value) factory

Creates an entry with this label and this value.

RadarChartData(String label) protected

Called by a subclass with the label.

RadarChartData(String label, Number value) protected

Called by a subclass with the label and the value.

  • this value(Number value) fluent
  • this value(Supplier<? extends Number> value) fluent signal
  • Number getValue()

Default: set at creation

The value of the entry; null means it has none yet.

  • this label(String label) fluent
  • this label(Supplier<String> label) fluent signal
  • String getLabel()

Default: set at creation

The label of the entry.

boolean isEmpty()

If true, the entry has no value.

this clear() fluent

Removes the value of the entry.


fluent returns the instance, typed for chaining · factory creates an instance · signal also accepts a value that follows signals, as a signal, an expression or a lambda (When does JOID compute this value again?) · hook called by JOID, override it · abstract you implement it · default interface method with a body · static called on the class · protected visible to subclasses

Report a problem with this page