BaseTabControlUI (クラス)
public abstract BaseTabControlUI {inherits Frame, ControlUI}
インポート元: CURL.GUI.STANDARD. package 内で定義されています CURL.GUI.CONTROL-LOGICAL.
直接継承しているサブクラス: SingleTabControlUI, MultiTabControlUI

この抽象クラスは、BaseTabControl の UI デリゲートのための API を定義します。

注意事項

UI デリゲートはコントロールに接続されます。このコントロールが UI デリゲートに影響するように変更されると、このインターフェイスで定義されているメソッドを介して、このデリゲートに通知が行きます。

コンストラクタ
default:新しい BaseTabControlUI を作成します。
コンストラクタ public {BaseTabControlUI.default ...}

プロパティ
focus?:現在 BaseTabControlUI にキーボード フォーカスがあるかどうかを示します。
フィールド protected BaseTabControlUI.focus?:bool =false
プロパティ 継承 Frame: clonable-class?, halign, halign-spec, hstretch?, hstretch?-spec, style-element, valign, valign-spec, vstretch?, vstretch?-spec
プロパティ 継承 ControlUI: color, control, control-appearance-changeable?, control-color, control-content-background, copy-options, focus-skin, font-family, font-style, font-weight, skin, text-breakable?, text-line-through?, text-preserve-whitespace?, text-underline?
プロパティ 継承 BaseFrame: child, completely-clonable-children?, graphical-children, ordered-children, reverse-ordered-children, width-first?
プロパティ 継承 DataBindingTarget: data-binding-context, data-bindings
プロパティ 継承 EventTarget: event-handlers
プロパティ 継承 GetBoundsBox: layout-locally-valid?, layout-valid?
プロパティ 継承 OptionListInterface: option-register-proc, options-present-here, registered-option-keys
プロパティ 継承 Box: clip-child-shadows?
プロパティ 継承 Graphic: avoid-page-break?, background, border-color, border-spec, border-style, border-width, cell-border-spec, cell-border-width, cell-margin, discrete-select-in-range?, display-context, enabled?, graphic-selectable, height, horigin, is-paginating?, layout, margin, opaque-to-events?, option-parent, outside-margin, pagination-state, parent, possibly-displayed?, selection-context, shadow-color, shadow-spec, visible?, visual-parent, vorigin, width
プロパティ 継承 Visual: _style-element, cursor, data-source, dragee, font-size, graphical-parent, has-key-focus?, input-method-enabled?, input-method-keyboard-mode, name, options, style-class, style-manager, style-options, test-child?, test-description, test-name, test-parent?, test-type-name, test-visible?, tooltip, user-data

メソッド
note-pane-added:新たに追加されたペインが反映されるように UI を更新します。
protected abstract {BaseTabControlUI.note-pane-added index:int}:void
note-pane-modified:新たに更新されたペインが反映されるように UI を更新します。
protected abstract {BaseTabControlUI.note-pane-modified index:int}:void
note-pane-to-be-removed:新たに削除されたペインが反映されるように UI を更新します。
protected abstract {BaseTabControlUI.note-pane-to-be-removed
index:int
}:void
note-pane-to-be-shown:UI を更新して、新しい TabPane の表示を反映させます。
protected abstract {BaseTabControlUI.note-pane-to-be-shown
index:int
}:void
on-focus-in:FocusIn イベントのスタティック イベント ハンドラ
public {BaseTabControlUI.on-focus-in e:FocusIn}:void
on-focus-out:FocusOut イベントのスタティック イベント ハンドラ
public {BaseTabControlUI.on-focus-out e:FocusOut}:void
メソッド 継承 Frame: add, clone-appearance-helper, remove-child
メソッド 継承 ControlUI: fire-event-at-control, on-key-press, on-pointer-press, react-to-state-change, react-to-visual-change
メソッド 継承 BaseFrame: add-internal, after-reposition, allocate-layout-object, attempt-revalidate-layout, before-reposition, compute-child-bounds, compute-parent-elastic, constrain-height, constrain-width, draw, end-pagination, get-height-preference, get-text, get-width-preference, install-child-bounds, internal-remove-child, note-attached, note-detaching, notify-option-children, paginate, pick-child, propagate-request-layout, register-options, set-size
メソッド 継承 GraphicOptions: any-to-Distance, get-display-context
メソッド 継承 GuiEventTarget: handle-delegate-event, handle-event, on-action, on-cancel-mode, on-command-changed, on-commit, on-composition-change-event, on-composition-result-event, on-context-menu-event, on-current-record-change-request, on-current-record-changed, on-destroy-notify, on-destroy-requested, on-drag-over, on-drag-pointer, on-drag-started, on-drop, on-end-composition-event, on-focus-event, on-gesture, on-gesture-begin, on-gesture-end, on-gesture-magnify, on-gesture-pan, on-gesture-rotate, on-gesture-swipe, on-gesture-tap, on-gesture-touch, on-grab-release, on-gui-event, on-input-method-event, on-key-event, on-pointer-button, on-pointer-crossing, on-pointer-event, on-pointer-motion, on-pointer-release, on-pointer-scroll, on-raw-key-event, on-raw-key-press, on-raw-key-release, on-reset, on-selectable-added, on-selectable-removed, on-selection-changed, on-selection-context-activated, on-selection-context-deactivated, on-selection-event, on-start-composition-event, on-start-event, on-stop-event, on-view-activate, on-view-deactivate, on-window-close, remove-event-handlers-for-event-class
メソッド 継承 BasicBox: contains-point?, find-graphic-at, handle-crossing, on-pointer-envelope-event, pointer-enter-occurred, pointer-leave-occurred
メソッド 継承 DataBindingTarget: add-data-binding, get-data-binding, refresh-data-binding, remove-data-binding, unset-property, update-data-binding, validate-data-binding
メソッド 継承 EventTarget: accepts-event-class?, add-event-handler, event-handler-present?, remove-event-handler, verify-event
メソッド 継承 GetBoundsBox: get-bounds, get-elastic-bounds-into, get-nonparent-bounds-into, request-layout, validate-layout
メソッド 継承 OptionListInterface: add-option, add-style-option, change-option-parent-notify, clone-options, get-option, get-option-by-name, keyword-init-arg, local-add-notify, local-remove-notify, name-to-option-key, new-option-item, option-change-notify, option-lookup, option-lookup-here, option-propagate-notify, option-set?, propagate-option-change, remove-option, remove-style-option, remove-styles, set-option-by-name, set-style-option-by-name, unset-option-by-name, unset-style-option-by-name
メソッド 継承 BasicEventTarget: enqueue-event
メソッド 継承 Box: clear, compare-children, find-test-children, get-delimited-child-text-selection, get-gui-path-to-child, get-range-as-selected-text, get-visible-rect-in-root-into, graphical-child-visible-at, make-gui-mark, search-next-here, search-prev-here
メソッド 継承 InitRestArgParser: process-rest-args
メソッド 継承 Graphic: create-pagination-state, detach, draw-range-as-selected, draw-shadow, find-ancestor, find-graphical-ancestor, fire-inferior-crossing-event, get-graphical-root, get-gui-path, get-origin-in-graphical-ancestor, get-origin-in-root, get-pagination-state, get-top-left-in-ancestor, get-visible-bounds-into, on-drag-enter, on-inspection, on-pointer-enter, option-changed, paint-with-decorations, replace-with, request-draw, request-draw-rect, request-pointer-trace, search-next, search-prev, set-layout, start-pagination, xy-offset-to
メソッド 継承 Visual: add-from-init-args, animate, change-cursor, clonable-appearance?, clone-appearance, get-focus-manager, get-layout-context, get-test-parent, get-test-property, get-view, maybe-fire-attach-event, maybe-fire-detach-event, non-keyword-init-arg, note-caret-position, on-drag-leave, on-pointer-leave, pop-cursor, prepare-test-object, prepare-test-parent, push-cursor, quantize-width, refresh-style-options, release-key-focus, request-key-focus, scroll-to-include, test-record, test-run, transform-from-display-coordinates, transform-from-graphical-root-coordinates, transform-to-display-coordinates, transform-to-graphical-root-coordinates
メソッド 継承 Object: object-describe, object-describe-for-debugging, object-serialize



コンストラクタ詳細
default (コンストラクタ)
public {BaseTabControlUI.default ...}

新しい BaseTabControlUI を作成します。

...: 残余引数は、この UI 代理の派生元である Graphic に渡されます。



プロパティ詳細
focus? (フィールド)
protected BaseTabControlUI.focus?:bool =false

現在 BaseTabControlUI にキーボード フォーカスがあるかどうかを示します。

説明

この値は、BaseTabControlUI.on-focus-inBaseTabControlUI.on-focus-out によって自動的に設定されます。通常、サブクラスでこの値を設定しないでください。

非推奨

代わりに Visual.has-key-focus? を使用します。





メソッド詳細
note-pane-added (メソッド)
protected abstract {BaseTabControlUI.note-pane-added index:int}:void

新たに追加されたペインが反映されるように UI を更新します。

index: 新しく挿入されたペインの位置。最初のペインは 0 です。

説明

これは、別のペインがコントロールに追加されたときに呼び出されます。


note-pane-modified (メソッド)
protected abstract {BaseTabControlUI.note-pane-modified index:int}:void

新たに更新されたペインが反映されるように UI を更新します。

index: 変更されたタブの位置。最初のタブは 0 です。

説明

TabPane のプロパティが変更されると呼び出されます。これには、TabPane.labelTabPane.tab-button-tooltip、および TabPane.first-active-control といった、TabPane に固有なプロパティが含まれるので、注意してください。継承されたグラフィック オプションやレイアウト設定 (これらは共に通常の手段で通知されます) が変更されている場合は呼び出されません。


note-pane-to-be-removed (メソッド)
protected abstract {BaseTabControlUI.note-pane-to-be-removed
index:int
}:void

新たに削除されたペインが反映されるように UI を更新します。

index: 削除されるタブの位置です。最初のペインは 0 です。

説明

このメソッドは、ペインがコントロールから削除される前に呼び出されます。


note-pane-to-be-shown (メソッド)
protected abstract {BaseTabControlUI.note-pane-to-be-shown
index:int
}:void

UI を更新して、新しい TabPane の表示を反映させます。

index: 表示されるペインの位置。最初のペインは 0 です。


on-focus-in (メソッド)
public {BaseTabControlUI.on-focus-in e:FocusIn}:void

FocusIn イベントのスタティック イベント ハンドラ

説明

この実装は、親コントロールで発生させるフォーカス イベントをトリガします。
ポインタ イベントと異なり、キーボード イベントはグラフィカル コンテナ階層を自動的に増加させないため、ユーザー記述のハンドラが実行されるように、格納された Control のハンドラを明示的に呼び出す必要があります。


on-focus-out (メソッド)
public {BaseTabControlUI.on-focus-out e:FocusOut}:void

FocusOut イベントのスタティック イベント ハンドラ

説明

この実装は、親コントロールで発生させるフォーカス イベントをトリガします。
ポインタ イベントと異なり、キーボード イベントはグラフィカル コンテナ階層を自動的に増加させないため、ユーザー記述のハンドラが実行されるように、格納された Control のハンドラを明示的に呼び出す必要があります。