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

Table の行を表します。

プログラミング注意事項

この行に関連する Table は、TableRow.table を呼び出すことにより取得できます。Table 内のこの行のインデックスは、 TableRow.index を使用することにより取得できます。この TableRow で設定されるオプションは、テーブルのオプション ルックアップ規則に従って行内の TableCell およびテーブル要素に反映されます。

プロパティ
border-width:Table の内部ボーダーの幅。
ローカル オプション public TableRow.border-width:any
height:Table 行の高さを制御します。
ローカル オプション public TableRow.height:any
row?:この TableFile が行と列のいずれを表しているかを判断します。
アクセサ public TableRow.row?:bool
プロパティ 継承 TableFile: background, border-color, children, first-position, group, index, last-position, option-parent, option-register-proc, table
プロパティ 継承 TablePropertyList: halign, hstretch?, opaque-cell?, seqnum-generator, valign, vstretch?, width
プロパティ 継承 GraphicOptionList: options
プロパティ 継承 DataBindingTarget: data-binding-context, data-bindings
プロパティ 継承 OptionListInterface: options-present-here, registered-option-keys, style-options

メソッド
メソッド 継承 TableFile: local-remove-notify, option-change-notify, option-lookup-here, propagate-option-change
メソッド 継承 TablePropertyList: new-option-item
メソッド 継承 GraphicOptions: any-to-Distance, get-display-context
メソッド 継承 DataBindingTarget: add-data-binding, get-data-binding, non-keyword-init-arg, refresh-data-binding, remove-data-binding, unset-property, update-data-binding, validate-data-binding
メソッド 継承 OptionListInterface: add-option, add-style-option, change-option-parent-notify, clone-options, get-option, get-option-by-name, keyword-init-arg, local-add-notify, name-to-option-key, notify-option-children, option-changed, option-lookup, option-propagate-notify, option-set?, 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
メソッド 継承 InitRestArgParser: process-rest-args
メソッド 継承 Object: object-describe, object-describe-for-debugging, object-serialize




プロパティ詳細
border-width (ローカル オプション)
public TableRow.border-width:any

Table の内部ボーダーの幅。



height (ローカル オプション)
public TableRow.height:any

Table 行の高さを制御します。

説明

このオプションは、対応する行の高さを制御するために TableRow オブジェクトで設定できます。オプションの値は任意の Dimension が可能です。このオプションを設定した場合の効果は、高さが Dimension に設定されているテーブル行に Fill オブジェクトを追加する場合の効果に似ています。したがって、テーブル行のオブジェクトの伸長性が低い場合、またはその最小値がこのオプションの値である Dimension よりも大きい場合、このオプションの設定は効果がありません。

通常、このオプションは、Table 行に対して固定された最小の高さを指定するために使用され、Table 行の自動サイズ変更をオーバーライドしてこれが発生しないようにします。次の例では、このオプションを使用し、行に含まれるテキストの高さが異なる場合でも各行を同じ高さにしています。比較参考のために height が指定されていない Table が表示されています。


{Table cell-border-width=1pt, cell-border-color="blue",
       border-width=1pt, border-color="blue",
       {row-prototype height=36pt,
            {text font-size=12pt, Big},
            {text font-size=24pt, Hello}},
       {row-prototype height=36pt,
            {text font-size=16pt, Bigger},
            {text font-size=16pt, Goodbye}},
       {row-prototype height=36pt,
            {text font-size=24pt, Biggest},
            {text font-size=8pt, Maybe}}}
{Table cell-border-width=1pt, cell-border-color="blue",
       border-width=1pt, border-color="blue",
       {row-prototype {text font-size=12pt, Big},
            {text font-size=24pt, Hello}},
       {row-prototype {text font-size=16pt, Bigger},
            {text font-size=16pt, Goodbye}},
       {row-prototype {text font-size=24pt, Biggest},
            {text font-size=8pt, Maybe}}}

注意事項

このオプションは TableColumn および TableCell に設定できますが効果はありません。


row? (アクセサ)
アクセサ public TableRow.row?:bool

この TableFile が行と列のいずれを表しているかを判断します。

戻り値

このオブジェクトが Table 行を表している場合は true です。この場合、このオブジェクトが TableRow であると見なしても安全です。このオブジェクトが Table 列を表している場合は false です。この場合、このオブジェクトが TableColumn であると見なしても安全です。





メソッド詳細