Record Class PageSetup
java.lang.Object
java.lang.Record
io.leandev.appfuse.report.PageSetup
- Record Components:
width- 紙張寬度height- 紙張高度margins- 邊界
-
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.height()Returns the value of theheightrecord component.寬高互換的橫向頁面margins()Returns the value of themarginsrecord component.更換邊界更換邊界static PageSetup指定紙張、預設邊界final StringtoString()Returns a string representation of this record class.width()Returns the value of thewidthrecord component.
-
Field Details
-
DEFAULT_MARGIN
預設邊界 20mm
-
-
Constructor Details
-
PageSetup
-
-
Method Details
-
of
-
landscape
-
margins
-
margins
-
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). -
width
-
height
-
margins
-