インターフェース SizeConstraints

すべての既知の実装クラス:
AbsoluteWidthSizeConstraintsAutoSizeConstraintsKeyValueSizeConstraintsNoWrapSizeConstraints

public interface SizeConstraints
テーブルセルの寸法を計算する方法。
  • ネストされたクラスの概要

    ネストされたクラス
    修飾子と型
    インターフェース
    説明
    static class
    最小幅と最大幅の両方を保持します。
  • 方法の概要

    修飾子と型
    メソッド
    説明
    width(StringSE[] raw, int tableWidth, int nbColumns)
  • 方法の詳細

    • width

      SizeConstraints.Extent width(StringSE[] raw, int tableWidth, int nbColumns)
      パラメーター:
      raw - セルの内容の生の文字列表現 (ラップなど、後で再フォーマットすることができます)
      tableWidth - テーブルの利用可能な幅全体
      nbColumns - テーブルの列数
      戻り値:
      生のコンテンツが与えられたセルの最小幅と最大幅。