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

飾り枠を表すクラス。

説明

このクラスにより、左、上、右、および下の幅がさまざまであるボーダーとマージンを作成することができます。

コンストラクタ
default:BorderSpec オブジェクトを作成します。
コンストラクタ public {BorderSpec.default
left-border-width:any = null,
right-border-width:any = null,
top-border-width:any = null,
bottom-border-width:any = null,
left-margin:any = null,
right-margin:any = null,
top-margin:any = null,
bottom-margin:any = null
}

プロパティ
bottom-border-width:下ボーダーの幅を指定します。
フィールド public constant BorderSpec.bottom-border-width:any
bottom-margin:オブジェクトの下端ボーダーとその子スロット (オブジェクトがそのグラフィカルな子を配置する場所) との間の距離を指定します。
フィールド public constant BorderSpec.bottom-margin:any
left-border-width:左ボーダーの幅を指定します。
フィールド public constant BorderSpec.left-border-width:any
left-margin:オブジェクトの左端ボーダーとその子スロット (オブジェクトがそのグラフィカルな子を配置する場所) との間の距離を指定します。
フィールド public constant BorderSpec.left-margin:any
right-border-width:右ボーダーの幅を指定します。
フィールド public constant BorderSpec.right-border-width:any
right-margin:オブジェクトの右端ボーダーとその子スロット (オブジェクトがそのグラフィカルな子を配置する場所) との間の距離を指定します。
フィールド public constant BorderSpec.right-margin:any
top-border-width:上ボーダーの幅を指定します。
フィールド public constant BorderSpec.top-border-width:any
top-margin:オブジェクトの上端ボーダーとその子スロット (オブジェクトがそのグラフィカルな子を配置する場所) との間の距離を指定します。
フィールド public constant BorderSpec.top-margin:any

メソッド
equal?:2つのBorderSpecが等しいかどうかを示します。
public {BorderSpec.equal? spec:BorderSpec}:bool
メソッド 継承 Object: object-describe, object-describe-for-debugging, object-serialize



コンストラクタ詳細
default (コンストラクタ)
public {BorderSpec.default
left-border-width:any = null,
right-border-width:any = null,
top-border-width:any = null,
bottom-border-width:any = null,
left-margin:any = null,
right-margin:any = null,
top-margin:any = null,
bottom-margin:any = null
}

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

left-border-width, right-border-width, top-border-width, bottom-border-width:
左、右、上、および下ボーダーの幅を指定します。
有効な値のタイプは次のとおりです。
既定値は NULL です。
BorderSpec を使用するオブジェクトは、非 NULL であるこれらのパラメータをすべて使用する必要があります。NULL であるパラメータの場合は、このオブジェクトのユーザーは、このオブジェクトが必要とするようにオブジェクトを解釈できます。
Graphic.border-spec および cell-border-spec も参照してください。
left-margin, right-margin, top-margin, bottom-margin:
オブジェクトの左、右、上、および下ボーダーとそれぞれの子スロット (オブジェクトがその子グラフィックを配置する場所) との間の距離を指定します。
有効な値のタイプは次のとおりです。
既定値は NULL です。
BorderSpec を使用するオブジェクトは、非 NULL であるこれらのパラメータをすべて使用する必要があります。NULL であるパラメータの場合は、このオブジェクトのユーザーは、このオブジェクトが必要とするようにオブジェクトを解釈できます。
Graphic.border-spec および cell-border-spec も参照してください。



プロパティ詳細
bottom-border-width (フィールド)
public constant BorderSpec.bottom-border-width:any

下ボーダーの幅を指定します。



bottom-margin (フィールド)
public constant BorderSpec.bottom-margin:any

オブジェクトの下端ボーダーとその子スロット (オブジェクトがそのグラフィカルな子を配置する場所) との間の距離を指定します。



left-border-width (フィールド)
public constant BorderSpec.left-border-width:any

左ボーダーの幅を指定します。



left-margin (フィールド)
public constant BorderSpec.left-margin:any

オブジェクトの左端ボーダーとその子スロット (オブジェクトがそのグラフィカルな子を配置する場所) との間の距離を指定します。



right-border-width (フィールド)
public constant BorderSpec.right-border-width:any

右ボーダーの幅を指定します。



right-margin (フィールド)
public constant BorderSpec.right-margin:any

オブジェクトの右端ボーダーとその子スロット (オブジェクトがそのグラフィカルな子を配置する場所) との間の距離を指定します。



top-border-width (フィールド)
public constant BorderSpec.top-border-width:any

上ボーダーの幅を指定します。



top-margin (フィールド)
public constant BorderSpec.top-margin:any

オブジェクトの上端ボーダーとその子スロット (オブジェクトがそのグラフィカルな子を配置する場所) との間の距離を指定します。






メソッド詳細
equal? (メソッド)
public {BorderSpec.equal? spec:BorderSpec}:bool

2つのBorderSpecが等しいかどうかを示します。

spec: selfと比較するBorderSpec

戻り値

selfspecが、各プロパティにおいて同じ値を持つ場合には、trueになります。そうでない場合は falseです。
導入: バージョン 7.0