Package megameklab.printing.reference
Class ReferenceTableBase
java.lang.Object
megameklab.printing.reference.ReferenceTableBase
- Direct Known Subclasses:
GroundMovementRecord,ReferenceTable
Base class for quick reference tables for record sheets
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final ResourceBundleprotected static final Stringprotected static final String -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected ElementcreateRoundedBorder(double x, double y, double width, double height) protected ElementcreateShadeElement(double x, double y, double width, double height) createTable(double x, double y, double width, double height) createTable(Rectangle2D bbox) protected abstract ElementcreateTableBody(double x, double y, double width, double height, float fontSize) protected ElementcreateTextElement(double x, double y, String text, float fontSize, String fontWeight) protected ElementcreateTextElement(double x, double y, String text, float fontSize, String fontWeight, String fill, String anchor, boolean fixedWidth, Double width) protected StringformatStyle(float fontSize, String fontWeight) static doublegetMargins(PrintRecordSheet sheet) protected final StringgetTitle()
-
Field Details
-
SECTION_HEADER
- See Also:
-
NO_SHADE
- See Also:
-
bundle
-
-
Constructor Details
-
ReferenceTableBase
-
-
Method Details
-
getMargins
-
getTitle
- Returns:
- The text for the title bar
-
createTable
-
createTable
-
createTextElement
-
createTextElement
-
createShadeElement
-
formatStyle
-
createRoundedBorder
-
createTableBody
protected abstract Element createTableBody(double x, double y, double width, double height, float fontSize)
-