Members
タイトル表示用の変数
Variables for title display- Default Value:
- ""
Methods
各項目の表示/非表示の処理
Show/Hide each itemReturns:
Type Description void Elementのid名をキャメルケースに変換して関数を実行
例) font-select => changeFontSelectがコールされる
valueはstringで渡すので、コール先の関数内で変換とバリデーションを行う必要があるDOMの場合は最後の文字列にIDが付与されるので、関数が存在しない時は最後の文字列を外す 例) sound-volume-1 => changeSoundVolumeがコールされる Convert Element's id name to CamelCase and execute function e.g.) font-select => changeFontSelect is called Since value is passed as a string, conversion and validation must be performed in the calling function In the case of DOM, the ID is assigned to the last string, so if the function does not exist, remove the last string. e.g.) sound-volume-1 => changeSoundVolume is called
Name Type Description name
string value
string | number | Event Returns:
Type Description * Input入力終了時の処理関数
Processing function at the end of Input inputName Type Default Description event
Event | KeyboardEvent reload
boolean true optional Returns:
Type Description void Inputにフォーカスされた時に変数を初期化する
Initialize variables when Input is focusedName Type Description event
Event Returns:
Type Description void Inputにフォーカス終了した時にロックを解放する
Release lock when focus ends on InputReturns:
Type Description void コントローラーの共通の初期起動関数
Common initial startup functions for controllers.Returns:
Type Description void 数値のInputElementの場合はマウスで値を変更可能
状態に合わせてカーソルや変数を初期化する
For numeric InputElement, values can be changed with the mouse
Initialize cursors and variables according to stateName Type Description event
MouseEvent Returns:
Type Description void マウスで数値の加算減算を行う
Add and subtract numbers with the mouseName Type Description event
MouseEvent Returns:
Type Description void Inputが数値の場合マウス動作終了関数
Mouse operation end function if Input is numericName Type Description event
MouseEvent Returns:
Type Description void Inputが数値の場合マウス動作で加算減算できればカーソルを変化させる
If Input is a number, the cursor is changed if it can be added and subtracted by mouse movement.Name Type Description event
MouseEvent Returns:
Type Description void マウスアップ処理、移動イベントなどを削除して初期化
Delete and initialize mouse-up process, move events, etc.Returns:
Type Description void スクリーンエリアで変更があったElementを再描画
Redraw Element with changes in screen areaReturns:
Type Description void プロパティーの更新がある時はundo用にデータを内部保管する
Store data internally for undo when there are property updatesReturns:
Type Description void 指定のelementにchangeイベントを登録する
Register a change event to the specified element.Name Type Description element
HTMLDivElement Returns:
Type Description void 指定のelementにclickイベントを登録する
Register a click event to the specified element.Name Type Description element
HTMLDivElement Returns:
Type Description void Inputのelementに各種コントローラーで利用するイベントを登録
Register events used by various controllers in the element of InputName Type Description element
HTMLDivElement Returns:
Type Description void