クラス CellMatchers

java.lang.ObjectSE
org.springframework.shell.jline.tui.table.CellMatchers

public class CellMatchers extends ObjectSE
一般的に使用される CellMatcher のファクトリメソッドが含まれています。
作成者:
Eric Bottard
  • コンストラクターの詳細

    • CellMatchers

      public CellMatchers()
  • メソッドの詳細

    • table

      public static CellMatcher table()
      戻り値:
      テーブルのすべてのセルに適用されるマッチャー。
    • column

      public static CellMatcher column(int col)
      パラメーター:
      col - 選択する列
      戻り値:
      テーブルのある列のすべてのセルに適用されるマッチャー。
    • row

      public static CellMatcher row(int theRow)
      パラメーター:
      theRow - 選択する行
      戻り値:
      テーブルのある行のすべてのセルに適用されるマッチャー。
    • at

      public static CellMatcher at(int theRow, int col)
      パラメーター:
      theRow - 選択する行
      col - 選択する列
      戻り値:
      行と列で識別される、テーブルの 1 つのセルだけに適用されるマッチャー。
    • ofType

      public static CellMatcher ofType(ClassSE<?> clazz)
      パラメーター:
      clazz - セルに含まれる型
      戻り値:
      コンテンツが特定の型のセルに一致するマッチャー