(クラス)
データの標準文字列表現を使い、表示および編集する RecordGridCell。
| コンストラクタ public | {StandardStringCell.default} |
アクセサ public StandardStringCell.current-editor:#
TextField
| halign: | RecordGridCell 内の内容の水平方向の配置。 |
ローカル オプション public StandardStringCell.halign:
any
アクセサ public StandardStringCell.pending-value:
any
アクセサ public StandardStringCell.pending-value?:
bool プロパティ 継承 RecordGridCell:
can-update?, cells-take-focus?, column, current?, field, format-spec, grid, halign-spec, has-grid-focus?, mnemonic, option-parent, record, record-index, selected?, style-element, tab-index, valign, valign-spec プロパティ 継承 Visual:
_style-element, cursor, data-source, dragee, font-size, input-method-enabled?, input-method-keyboard-mode, name, options, options-present-here, style-class, style-manager, style-options, test-description, test-name, test-parent?, test-type-name, test-visible?, tooltip, user-data プロパティ 継承 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?, outside-margin, pagination-state, parent, selection-context, shadow-color, shadow-spec, visible?, vorigin, width
| public | {StandardStringCell.become-active forward?:bool = true}:bool |
| public | {StandardStringCell.become-active-from-traversal}:bool |
| protected | {StandardStringCell.commit-pending-value}:void |
| protected | {StandardStringCell.create-editor}:TextField |
| protected | {StandardStringCell.flush-pending-value}:void |
| public | {StandardStringCell.note-grid-focus-in}:void |
| public | {StandardStringCell.note-grid-focus-out}:void |
| public | {StandardStringCell.refresh-data}:void |
| protected | {StandardStringCell.sync-editor}:void |
メソッド 継承 BaseFrame:
add-internal, after-reposition, allocate-layout-object, attempt-revalidate-layout, before-reposition, clone-appearance-helper, compute-child-bounds, compute-parent-elastic, constrain-height, constrain-width, 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 メソッド 継承 OptionListInterface:
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-propagate-notify, option-set?, remove-styles, set-option-by-name, set-style-option-by-name, unset-option-by-name, unset-style-option-by-name メソッド 継承 Visual:
add, add-from-init-args, add-option, add-style-option, 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, release-key-focus, remove-option, remove-style-option, 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 メソッド 継承 GuiEventTarget:
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-focus-in, on-focus-out, 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-press, 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 メソッド 継承 Graphic:
create-pagination-state, detach, draw-range-as-selected, draw-shadow, find-ancestor, find-graphical-ancestor, fire-inferior-crossing-event, get-graphical-root, 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
(コンストラクタ)
| public | {StandardStringCell.default} |
(アクセサ)
アクセサ public StandardStringCell.current-editor:#
TextField 現在設置されているエディタ (存在する場合)。
説明
セルがグリッド フォーカスを持たない場合、これは null になります。
オーバーライド
通常はオーバーライドされません。
(ローカル オプション)
public StandardStringCell.halign:
any RecordGridCell 内の内容の水平方向の配置。
説明
(アクセサ)
アクセサ public StandardStringCell.pending-value:
any 編集中の、保留中で終了していないセルの値です。
説明
current editor がない場合、null を返します。例えば、エディタをサポートしないセルは常に null を返します。
一時的な状態がエディタにないセルの場合には、保留の値は存在しません。
導入:
バージョン 6.0
(アクセサ)
アクセサ public StandardStringCell.pending-value?:
bool セルが編集され、RecordSet で保持している値とは異なる保留中の値がある場合は、True です。
説明
エディタに一時的な状態がない、つまりレコード データを直ちに更新するセルでは、pending-value? が true になることはありません。
導入:
バージョン 6.0
(メソッド)
| public | {StandardStringCell.become-active forward?:bool = true}:bool |
アクティブ化に対して応答します。
説明
forward?: トラバースが前方に移動する場合 (Tab キー) は true、後方に移動する場合 (Shift + Tab キー) は false です。一般にユーザー コードでは既定値 true を使用します。
戻り値
このオブジェクトがアクティブになる予定であれば true、それ以外の場合は false です。
(メソッド)
| public | {StandardStringCell.become-active-from-traversal}:bool |
トラバースによるアクティブ化に応答します。
説明
forward?: トラバースが前方に移動する場合 (Tab キー) は true、後方に移動する場合 (Shift + Tab キー) は false です。一般にユーザー コードでは既定値 true を使用します。
戻り値
このオブジェクトがアクティブになる予定であれば true、それ以外の場合は false です。
(メソッド)
| protected | {StandardStringCell.commit-pending-value}:void |
保留中の値をセル上で強制的にコミットします。
導入:
バージョン 6.0
(メソッド)
| protected | {StandardStringCell.create-editor}:TextField |
この型のセルがフォーカスを得たときにデータの表示および編集に使用するエディタを生成します。
説明
このメソッドが返すオブジェクトはこのセルのグラフィック階層にアタッチされ、セルにフォーカスがある間はその状態を維持します。このセルがフォーカスを失った後、このオブジェクトは離されて、同じ
RecordGridColumn の別のセルのインスタンスで再利用するためにキャッシュされます。したがって、個々のインスタンスではこのメソッドが返すオブジェクトへの追加参照を保持しないようにして、この方法で再利用されているエディタを受け取れるようにする必要があります。
(メソッド)
| protected | {StandardStringCell.flush-pending-value}:void |
イベントを起動することなしに保留中の値を削除します。
導入:
バージョン 6.0
(メソッド)
| public | {StandardStringCell.note-grid-focus-in}:void |
グリッド フォーカスを受け取ったことをこのオブジェクトに通知するために呼び出されます。
説明
オーバーライド
この実装では、中の display-graphic が適切な editor オブジェクトに置き換えられる点に注意してください。したがって、実装では通常エディタを初期化する前にスーパー実装を呼び出します。
(メソッド)
| public | {StandardStringCell.note-grid-focus-out}:void |
グリッド フォーカスを失ったことをこのオブジェクトに通知するために呼び出されます。
説明
オーバーライド
この実装ではグラフィック階層から current-editor が削除され、display-graphic に置き換えられる点に注意してください。 したがって実装では通常、レコードのペンディング中の変更を確定した後でスーパー実装を呼び出します。
(メソッド)
(メソッド)
| public | {StandardStringCell.refresh-data}:void |
このセルのグラフィカル表示を、関連付けられた Record のデータと同期させます。
説明
このメソッドでは、このセルに関連付けられた
Record の
RecordField に関連付けられた基本データが実際に変更されることはありません。代わりにこのメソッドは、前記データを表示しているセル内の、どのようなグラフィックまたはエディタも同期されるようにします。
ビジュアル表示で現在の基本データが常に反映されるようにするには、
Record が変更されていない場合にも、このメソッドを頻繁に呼び出すことができます。
注意事項
オーバーライド
データを実際に表示しているグラフィック オブジェクトをリフレッシュするには、このメソッドをオーバーライドします。 実装では必ずこのメソッドのスーパー実装を呼び出してください。
(メソッド)
| protected | {StandardStringCell.sync-editor}:void |