外面的には
説明
注意事項
バインドする新しい |
コントロールでは、このオプションは、テキストの色および小さいシンボル ( |
look-and-feel オブジェクトまたは標準のオプション親のどちらがコントロールの外観の基準になるかを決定します。 |
このオプションで、コントロールのボタン部分の主な色を設定します。 |
このオプションは、コントロール内容が背景を持つ場合にその色を制御します。 |
このオプションは、コントロール内のテキストで使用されるフォントに影響を及ぼします。 |
このオプションは、コントロール内のテキストで使用されるフォントに影響を及ぼします。 |
このオプションは、コントロール内のテキストで使用されるフォントに影響を及ぼします。 |
このオプションは、コントロール内のテキストで使用されるフォントに影響を及ぼします。 |
スタイリングの目的のための、この |
このオプションは、コントロール内のテキストを複数行に改行できるかどうかを設定します。 |
このオプションは、コントロール内のテキストが描かれる方法に影響を及ぼします。 |
このオプションは、コントロール内のテキストが空白文字と改行文字をそのまま保持するか、折りたたむかを設定します。 |
このオプションは、コントロール内のテキストが描かれる方法に影響を及ぼします。 |
描画や |
アクティブ化に対して応答します。 |
ボックスのグラフィカルな子を削除します。 |
バインドする新しい
コントロールでは、このオプションは、テキストの色および小さいシンボル (
例
例: 色の指定 | |
{HBox valign="bottom", spacing=4pt, control-appearance-changeable?=true, color="red", {CommandButton label="Sample Button"}, {CheckButton label="Sample"}, {Scrollbar width=.8in, direction=Orientation.horizontal}, {ComboBox width=1.2in, prompt="Choose One", "First", "Second"}, {TextField width=1.0in, value="Sample text"} } |
look-and-feel オブジェクトまたは標準のオプション親のどちらがコントロールの外観の基準になるかを決定します。
説明
注意事項
このオプションで、コントロールのボタン部分の主な色を設定します。
説明
例
例 | |
{def samples = {HBox valign="bottom", spacing = 4pt, control-appearance-changeable? = true, control-color = "cornflowerblue", {CommandButton label = "Sample Button"}, {CheckButton label = "Sample"}, {Scrollbar width = .8in, direction = "horizontal"}, {ComboBox width = 1.2in, prompt = "Choose One", "First", "Second", "Third" }, {TextField width = 1.0in, value = "Sample text"} } } {install-style-sheet-on-Graphic samples, null, look-and-feel = the-standard-look-and-feel } |
このオプションは、コントロール内容が背景を持つ場合にその色を制御します。
例
例: control-content-background の指定 | |
{HBox valign="bottom", spacing=4pt, control-appearance-changeable?=true, control-content-background="yellow", {CommandButton label="Sample Button"}, {CheckButton label="Sample"}, {Scrollbar width=.8in, direction=Orientation.horizontal}, {ComboBox width=1.2in, prompt="Choose One", "First", "Second"}, {TextField width=1.0in, value="Sample text"} } |
説明
例
例 | |
{paragraph I am enabled} {paragraph enabled? = false, I'm not} |
例
例 | |
{radio-buttons value = "first", {RadioButton radio-value = "first"}, {RadioButton radio-value = "second", reactive-label = {ReactiveLabel label-disabled = "(second)" }, enabled? = false }, {RadioButton radio-value = "third"} } |
このオプションは、コントロール内のテキストで使用されるフォントに影響を及ぼします。
説明
例
例: フォント ファミリーの指定 | |
{HBox valign="bottom", spacing=4pt, control-appearance-changeable?=true, font-family="serif", {CommandButton label="Sample Button"}, {CheckButton label="Sample"}, {ComboBox width=1.2in, prompt="Choose One", "First", "Second"}, {TextField width=1.0in, value="Sample text"} } |
このオプションは、コントロール内のテキストで使用されるフォントに影響を及ぼします。
説明
例
例: フォント サイズの指定 | |
{HBox valign="bottom", spacing=4pt, control-appearance-changeable?=true, font-size=.5em, {CommandButton label="Sample Button"}, {CheckButton label="Sample"}, {ComboBox width=1.2in, prompt="Choose One", "First", "Second"}, {TextField width=1.0in, value="Sample text"} } |
このオプションは、コントロール内のテキストで使用されるフォントに影響を及ぼします。
説明
例
例: フォント スタイルの指定 | |
{HBox valign="bottom", spacing=4pt, control-appearance-changeable?=true, font-style="italic", {CommandButton label="Sample Button"}, {CheckButton label="Sample"}, {ComboBox width=1.2in, prompt="Choose One", "First", "Second"}, {TextField width=1.0in, value="Sample text"} } |
このオプションは、コントロール内のテキストで使用されるフォントに影響を及ぼします。
説明
例
例: フォントの太さの指定 | |
{HBox valign="bottom", spacing=4pt, control-appearance-changeable?=true, font-weight="bold", {CommandButton label="Sample Button"}, {CheckButton label="Sample"}, {ComboBox width=1.2in, prompt="Choose One", "First", "Second"}, {TextField width=1.0in, value="Sample text"} } |
スタイリングの目的のための、この
説明
オーバーライド
このオプションは、コントロール内のテキストを複数行に改行できるかどうかを設定します。
注意事項
説明
例
例: テキストを分割可能とするかどうかの指定 | |
{HBox valign="bottom", spacing=4pt, font-size=10pt, {CommandButton width=50pt, text-breakable? = false, label="Sample Button" }, {CheckButton width=50pt, text-breakable? = false, label="Sample CheckButton" }, {ComboBox width=50pt, text-breakable? = false, prompt="Choose One", "First", "Second" }, {TextField width=50pt, text-breakable? = false, value="Sample text" } } {HBox valign="bottom", spacing=4pt, font-size=10pt, {CommandButton width=50pt, text-breakable? = true, label="Sample Button" }, {CheckButton width=50pt, text-breakable? = true, label="Sample CheckButton" }, {ComboBox width=50pt, text-breakable? = true, prompt="Choose One", "First", "Second" }, {TextField width=50pt, text-breakable? = true, value="Sample text" } } |
このオプションは、コントロール内のテキストが描かれる方法に影響を及ぼします。
注意事項
説明
例
例: 取り消し線の指定 | |
{HBox valign="bottom", spacing=4pt, control-appearance-changeable?=true, text-line-through? = true, {CommandButton label="Sample Button"}, {CheckButton label="Sample"}, {ComboBox width=1.2in, prompt="Choose One", "First", "Second"}, {TextField width=1.0in, value="Sample text"} } |
このオプションは、コントロール内のテキストが空白文字と改行文字をそのまま保持するか、折りたたむかを設定します。
注意事項
説明
例
例: 空白を保持するかどうかの指定 | |
{HBox valign="bottom", spacing=4pt, control-appearance-changeable?=true, text-preserve-whitespace? = true, font-size=10pt, {CommandButton width=50pt, label="Sample Button"}, {CheckButton width=50pt, label="Sample CheckButton"}, {ComboBox width=50pt, prompt="Choose One", "First", "Second"}, {TextField width=50pt, value="Sample text"} } {HBox valign="bottom", spacing=4pt, control-appearance-changeable?=true, text-preserve-whitespace? = false, font-size=10pt, {CommandButton width=50pt, label="Sample Button"}, {CheckButton width=50pt, label="Sample CheckButton"}, {ComboBox width=50pt, prompt="Choose One", "First", "Second"}, {TextField width=50pt, value="Sample text"} } |
このオプションは、コントロール内のテキストが描かれる方法に影響を及ぼします。
注意事項
説明
例
例: 下線の指定 | |
{HBox valign="bottom", spacing=4pt, control-appearance-changeable?=true, text-underline? = true, {CommandButton label="Sample Button"}, {CheckButton label="Sample"}, {ComboBox width=1.2in, prompt="Choose One", "First", "Second"}, {TextField width=1.0in, value="Sample text"} } |
描画や
説明
アクティブ化に対して応答します。
説明
戻り値
ボックスのグラフィカルな子を削除します。