インターフェース Control

既知のすべてのサブインターフェース:
Cell<T>ListCell<T>TextCell<T>View
すべての既知の実装クラス:
AbstractCellAbstractControlAbstractListCellAbstractTextCellAbstractViewAppViewBoxViewButtonViewDialogViewGridViewInputViewListCell.DefaultListCellListViewMenuBarViewMenuViewProgressViewStatusBarViewTextCell.DefaultTextCellWindowView

public interface Control
すべてのコントロールの基本インターフェース。Control は、バインドされている Rectangle を定義し、Screen に取り込むことができます。
関連事項:
  • 方法の詳細

    • draw

      void draw(Screen screen)
      ControlScreen に描画します。
      パラメーター:
      screen - スクリーン
    • getRect

      Rectangle getRect()
      この View の境界ボックスの長方形を取得します。
      戻り値:
      有界ボックスの長方形
    • setRect

      void setRect(int x, int y, int width, int height)
      この Control が動作する範囲を設定します。
      パラメーター:
      x - 境界ボックスの x 座標
      y - 有界ボックスの y 座標
      width - 境界ボックスの幅
      height - 境界ボックスの高さ
    • setThemeResolver

      void setThemeResolver(@Nullable ThemeResolver themeResolver)
      ThemeResolver を設定します。
      パラメーター:
      themeResolver - テーマリゾルバー
    • setThemeName

      void setThemeName(@Nullable StringSE themeName)
      使用するテーマ名を設定します。
      パラメーター:
      themeName - テーマ名