java.lang.Object
org.aya.pretty.printer.PrinterConfig.Basic<S>
- All Implemented Interfaces:
PrinterConfig
- Direct Known Subclasses:
StringPrinterConfig
- Enclosing interface:
PrinterConfig
Basic configure for other configs to easily extend config flags.
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.aya.pretty.printer.PrinterConfig
PrinterConfig.Basic<S extends Stylist> -
Field Summary
Fields inherited from interface org.aya.pretty.printer.PrinterConfig
INFINITE_SIZE -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintThe line count that a page can hold.intThe character count that a line can hold.
-
Constructor Details
-
Basic
-
-
Method Details
-
getStylist
- Specified by:
getStylistin interfacePrinterConfig
-
getPageWidth
public int getPageWidth()Description copied from interface:PrinterConfigThe character count that a line can hold.- Specified by:
getPageWidthin interfacePrinterConfig- Returns:
- page width or -1 for infinity page width.
-
getPageHeight
public int getPageHeight()Description copied from interface:PrinterConfigThe line count that a page can hold.- Specified by:
getPageHeightin interfacePrinterConfig- Returns:
- page height or -1 for infinity page height.
-