調査アンケート: Blockly のご利用体験についてお聞かせください
アンケートを開始
コレクションでコンテンツを整理
必要に応じて、コンテンツの保存と分類を行います。
ブロックする >手順 >IProcedureModel
Procedures.IProcedureModel インターフェース
プロシージャのデータモデル。
署名:
export interface IProcedureModel
メソッド
特に記載のない限り、このページのコンテンツはクリエイティブ・コモンズの表示 4.0 ライセンスにより使用許諾されます。コードサンプルは Apache 2.0 ライセンスにより使用許諾されます。詳しくは、Google Developers サイトのポリシーをご覧ください。Java は Oracle および関連会社の登録商標です。
最終更新日 2024-09-12 UTC。
[[["わかりやすい","easyToUnderstand","thumb-up"],["問題の解決に役立った","solvedMyProblem","thumb-up"],["その他","otherUp","thumb-up"]],[["必要な情報がない","missingTheInformationINeed","thumb-down"],["複雑すぎる / 手順が多すぎる","tooComplicatedTooManySteps","thumb-down"],["最新ではない","outOfDate","thumb-down"],["翻訳に関する問題","translationIssue","thumb-down"],["サンプル / コードに問題がある","samplesCodeIssue","thumb-down"],["その他","otherDown","thumb-down"]],["最終更新日 2024-09-12 UTC。"],[[["`IProcedureModel` is an interface that defines a data model for procedures in Blockly."],["It provides methods for managing procedure parameters, such as adding, removing, and accessing them."],["The interface also includes methods for controlling the procedure's enabled status, name, and return types."],["`IProcedureModel` enables saving and loading the procedure's state through serialization."],["This model is crucial for representing and manipulating procedures within the Blockly environment."]]],["The `IProcedureModel` interface manages procedure data. Key actions include: retrieving the procedure's ID, name, enabled status, parameters, and return types. Parameters can be managed by inserting, deleting, and retrieving them. The name, enabled status, and return types can be set. It supports getting all parameters as an array. Additionally, it allows saving the procedure's state and has the capacity of disabling or enabling it.\n"]]