FontGraphicMixin
(クラス)
public abstract FontGraphicMixin {inherits
FontVisualMixin
}
インポート元:
CURL.GUI.STANDARD
. package 内で定義されています
CURL.GUI.BASE
.
直接継承しているサブクラス:
BaseTextAreaScrollBox
,
FontGraphic
Font
情報をキャッシュするためのインターフェイス。
説明
このクラスは
Graphic
のサブクラスに取り込まれることを想定しています。例えば、
Font
情報をキャッシュする
Frame
のサブクラスを作成した場合、そのサブクラスは
FontGraphicMixin
と
Frame
の両方から継承します。
プロパティ
プロパティ 継承
FontVisualMixin
:
cached-display-context
,
color
,
display-context
,
font
,
font-family
,
font-size
,
font-style
,
font-weight
,
text-line-through?
,
text-underline?
プロパティ 継承
DataBindingTarget
:
data-binding-context
,
data-bindings
プロパティ 継承
OptionListInterface
:
option-parent
,
option-register-proc
,
options
,
options-present-here
,
registered-option-keys
,
style-options
メソッド
react-to-font-option-change
:
フォントに関するオプションの変更に対応します。
protected
{FontGraphicMixin.react-to-font-option-change
metrics-changed?:
bool
}:
void
メソッド 継承
FontVisualMixin
:
calculate-pointsize
,
font-option-changed
,
get-display-context
,
invalidate-font
,
update-font-metrics
,
validate-font
メソッド 継承
GraphicOptions
:
any-to-Distance
メソッド 継承
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
,
local-remove-notify
,
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
メソッド 継承
InitRestArgParser
:
process-rest-args
メソッド 継承
Object
:
object-describe
,
object-describe-for-debugging
,
object-serialize
プロパティ詳細
メソッド詳細
react-to-font-option-change
(メソッド)
protected
{FontGraphicMixin.react-to-font-option-change
metrics-changed?:
bool
}:
void
フォントに関するオプションの変更に対応します。
注意事項
FontGraphicMixin
は、このメソッドを、
Graphic
にふさわしい方法で実装します。このメソッドのオーバーライドは不要です。
オーバーライド
再描画やレイアウト操作が適切に行われるように、サブクラスがこのメソッドをオーバーライドすることがあります。
super.react-to-font-option-change
の呼び出しは不要です。