Record Class ReportColor
java.lang.Object
java.lang.Record
io.leandev.appfuse.report.node.ReportColor
- Record Components:
rgb-0xRRGGBB
-
Field Summary
Fields -
Constructor Summary
Constructors -
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.intrgb()Returns the value of thergbrecord component.static ReportColorrgb(int rgb) 以0xRRGGBB建立顏色final StringtoString()Returns a string representation of this record class.
-
Field Details
-
BLACK
-
WHITE
-
-
Constructor Details
-
ReportColor
public ReportColor(int rgb) Creates an instance of aReportColorrecord class.- Parameters:
rgb- the value for thergbrecord component
-
-
Method Details
-
rgb
-
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 with thecomparemethod from their corresponding wrapper classes. -
rgb
-