ParagraphVisual (クラス)
public abstract sealed ParagraphVisual {inherits TextVisual}
インポート元: CURL.GUI.STANDARD. package 内で定義されています CURL.GUI.BASE.

テキストの段落を表現する TextVisual のサブクラス。

説明

このクラスは、テキスト段落の外観を制御する paragraph-left-indent のような幾つかのローカル オプション宣言で TextVisual を拡張します。
導入: バージョン 7.0

コンストラクタ
clone-appearance-from:このタイプの新しいオブジェクトを作成するために Visual.clone-appearance が使用するコンストラクタ。
コンストラクタ protected {ParagraphVisual.clone-appearance-from}
default:ParagraphVisual オブジェクトを作成します。
コンストラクタ protected {ParagraphVisual.default ...}

プロパティ
paragraph-after-spacing:段落の下の最小間隔を指定します (後続の段落がある場合)。
ローカル オプション public ParagraphVisual.paragraph-after-spacing:any =.6em
paragraph-before-spacing:段落の上の最小間隔を指定します (その前に段落がある場合)。
ローカル オプション public ParagraphVisual.paragraph-before-spacing:any =.6em
paragraph-first-line-offset:段落の左端に対する段落の最初の線のオフセット距離。
ローカル オプション public ParagraphVisual.paragraph-first-line-offset:any =0pt
paragraph-justify:段落内の内容 (通常はテキスト) 行の左右の配列 (行揃えとも呼ばれる) を指定します。
ローカル オプション public ParagraphVisual.paragraph-justify:ParagraphJustify =ParagraphJustify.left
paragraph-left-indent:段落の左端と段落のコンテナの左端の間隔を指定します。
ローカル オプション public ParagraphVisual.paragraph-left-indent:any =0pt
paragraph-line-spacing:段落内の線の間隔を指定します。
ローカル オプション public ParagraphVisual.paragraph-line-spacing:any =0pt
paragraph-right-indent:段落の右端と段落のコンテナの右端の間隔を指定します。
ローカル オプション public ParagraphVisual.paragraph-right-indent:any =0pt
プロパティ 継承 TextVisual: background, text-receiver, text-visual-tag, visual-children
プロパティ 継承 Visual: _style-element, clonable-class?, completely-clonable-children?, cursor, data-source, display-context, dragee, font-size, graphical-parent, has-key-focus?, input-method-enabled?, input-method-keyboard-mode, name, options, possibly-displayed?, style-class, style-element, style-manager, style-options, test-child?, test-description, test-name, test-parent?, test-type-name, test-visible?, tooltip, user-data, visual-parent
プロパティ 継承 DataBindingTarget: data-binding-context, data-bindings
プロパティ 継承 EventTarget: event-handlers
プロパティ 継承 OptionListInterface: option-parent, option-register-proc, options-present-here, registered-option-keys

メソッド
メソッド 継承 TextVisual: attach-receiver, detach-receiver, get-visual-child-index, local-add-notify, local-remove-notify, remove-child, replace-child-graphic, stream-contents-to, visit-visual-children, wrap-graphic
メソッド 継承 Visual: add, add-from-init-args, animate, change-cursor, clear, clonable-appearance?, clone-appearance, clone-appearance-helper, find-graphical-ancestor, find-test-children, get-focus-manager, get-graphical-root, get-gui-path, get-gui-path-to-child, get-layout-context, get-origin-in-graphical-ancestor, get-origin-in-root, get-test-parent, get-test-property, get-text, get-top-left-in-ancestor, get-view, maybe-fire-attach-event, maybe-fire-detach-event, non-keyword-init-arg, note-attached, note-caret-position, note-detaching, on-drag-enter, on-drag-leave, on-pointer-enter, on-pointer-envelope-event, on-pointer-leave, pop-cursor, prepare-test-object, prepare-test-parent, push-cursor, quantize-width, refresh-style-options, release-key-focus, request-draw, 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, xy-offset-to
メソッド 継承 EventForwarder: fire-crossing-event, fire-in-child
メソッド 継承 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-focus-in, on-focus-out, 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-inspection, on-key-event, on-key-press, 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
メソッド 継承 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
メソッド 継承 OptionListInterface: add-option, add-style-option, change-option-parent-notify, clone-options, get-option, get-option-by-name, keyword-init-arg, name-to-option-key, new-option-item, notify-option-children, option-change-notify, option-changed, option-lookup, option-lookup-here, option-propagate-notify, option-set?, propagate-option-change, register-options, 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
メソッド 継承 InitRestArgParser: process-rest-args
メソッド 継承 Object: object-describe, object-describe-for-debugging, object-serialize



コンストラクタ詳細
clone-appearance-from (コンストラクタ)
protected {ParagraphVisual.clone-appearance-from}

このタイプの新しいオブジェクトを作成するために Visual.clone-appearance が使用するコンストラクタ。

other: クローンする ParagraphVisual

プログラミング注意事項

クローニングをサポートするTextVisualのサブクラスは、このコンストラクタを呼び出すコンストラクタを持つ必要があります。


default (コンストラクタ)
protected {ParagraphVisual.default ...}

ParagraphVisual オブジェクトを作成します。

...: Visualのデフォルト コンストラクタによって処理されるオプションとイベントハンドラの記述



プロパティ詳細
paragraph-after-spacing (ローカル オプション)
public ParagraphVisual.paragraph-after-spacing:any =.6em

段落の下の最小間隔を指定します (後続の段落がある場合)。

注意事項

詳細な情報は paragraph-after-spacing を御覧下さい。


paragraph-before-spacing (ローカル オプション)
public ParagraphVisual.paragraph-before-spacing:any =.6em

段落の上の最小間隔を指定します (その前に段落がある場合)。

注意事項

詳細な情報は paragraph-before-spacing を御覧下さい。


paragraph-first-line-offset (ローカル オプション)
public ParagraphVisual.paragraph-first-line-offset:any =0pt

段落の左端に対する段落の最初の線のオフセット距離。

注意事項

詳細な情報は paragraph-first-line-offset を御覧下さい。


paragraph-justify (ローカル オプション)
public ParagraphVisual.paragraph-justify:ParagraphJustify =ParagraphJustify.left

段落内の内容 (通常はテキスト) 行の左右の配列 (行揃えとも呼ばれる) を指定します。

注意事項

詳細な情報は paragraph-justify を御覧下さい。


paragraph-left-indent (ローカル オプション)
public ParagraphVisual.paragraph-left-indent:any =0pt

段落の左端と段落のコンテナの左端の間隔を指定します。

注意事項

詳細な情報は paragraph-left-indent を御覧下さい。


paragraph-line-spacing (ローカル オプション)
public ParagraphVisual.paragraph-line-spacing:any =0pt

段落内の線の間隔を指定します。

注意事項

詳細な情報は paragraph-line-spacing を御覧下さい。


paragraph-right-indent (ローカル オプション)
public ParagraphVisual.paragraph-right-indent:any =0pt

段落の右端と段落のコンテナの右端の間隔を指定します。

注意事項

詳細な情報は paragraph-right-indent を御覧下さい。





メソッド詳細