Record Class Heading
java.lang.Object
java.lang.Record
io.leandev.appfuse.report.node.Heading
- Record Components:
id- 選填識別level- 層級(1–4)inlines- 內容style- 段落樣式覆寫;null表示沿用該層級預設
- All Implemented Interfaces:
Block
-
Constructor Summary
ConstructorsConstructorDescriptionHeading(String id, int level, List<Inline> inlines, ParagraphStyle style) Creates an instance of aHeadingrecord 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.id()Returns the value of theidrecord component.inlines()Returns the value of theinlinesrecord component.intlevel()Returns the value of thelevelrecord component.static Heading純文字標題style()Returns the value of thestylerecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
Method Details
-
of
-
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. Reference components are compared withObjects::equals(Object,Object); primitive components are compared with thecomparemethod from their corresponding wrapper classes. -
id
-
level
-
inlines
-
style
-