Record Class RendererMetadata
java.lang.Object
java.lang.Record
com.arbergashi.charts.render.RendererMetadata
- Record Components:
id- unique renderer id used for lookup/registrationnameKey- i18n key for the renderer display nameiconPath- classpath resource path to an SVG icon (e.g."/icons/line.svg")
Stable public renderer metadata.
This lightweight value object is intended for UI discovery, navigation trees, and general introspection in consuming applications. It intentionally contains only stable identifiers and resource keys, not factories or Swing types.
Framework contract: This type is part of the public API and will remain backwards compatible across 1.x releases.
- Since:
- 2025-06-17
- Version:
- 1.0.0
- Author:
- Arber Gashi
-
Constructor Summary
ConstructorsConstructorDescriptionRendererMetadata(String id, String nameKey, String iconPath) Creates an instance of aRendererMetadatarecord class. -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.iconPath()Returns the value of theiconPathrecord component.id()Returns the value of theidrecord component.nameKey()Returns the value of thenameKeyrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
RendererMetadata
-
-
Method Details
-
toString
-
hashCode
-
equals
Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. All components in this record class are compared withObjects::equals(Object,Object). -
id
-
nameKey
-
iconPath
-