类 PrinterConfig.Basic

java.lang.Object
org.aya.pretty.printer.PrinterConfig.Basic
所有已实现的接口:
PrinterConfig
直接已知子类:
StringPrinterConfig
封闭接口:
PrinterConfig

public static class PrinterConfig.Basic extends Object implements PrinterConfig
Basic configure for other configs to easily extend config flags.
  • 构造器详细资料

    • Basic

      public Basic(int pageWidth, int pageHeight)
  • 方法详细资料

    • getPageWidth

      public int getPageWidth()
      从接口复制的说明: PrinterConfig
      The character count that a line can hold.
      指定者:
      getPageWidth 在接口中 PrinterConfig
      返回:
      page width or -1 for infinity page width.
    • getPageHeight

      public int getPageHeight()
      从接口复制的说明: PrinterConfig
      The line count that a page can hold.
      指定者:
      getPageHeight 在接口中 PrinterConfig
      返回:
      page height or -1 for infinity page height.