Enum HorizontalAlignment
水平アライメント
ウィジェットの水平配置を指定する列挙型。
列挙型を呼び出すには、その親クラス、名前、プロパティを呼び出します。たとえば、
CardService.HorizontalAlignment.START
です。
プロパティ
プロパティ | タイプ | 説明 |
START | Enum | ウィジェットを文の開始側に配置します。 |
CENTER | Enum | ウィジェットを中央に配置します。 |
END | Enum | ウィジェットを文の末尾に揃えます。 |
特に記載のない限り、このページのコンテンツはクリエイティブ・コモンズの表示 4.0 ライセンスにより使用許諾されます。コードサンプルは Apache 2.0 ライセンスにより使用許諾されます。詳しくは、Google Developers サイトのポリシーをご覧ください。Java は Oracle および関連会社の登録商標です。
最終更新日 2024-12-02 UTC。
[null,null,["最終更新日 2024-12-02 UTC。"],[[["`HorizontalAlignment` is an enum used to specify the horizontal alignment of a widget within a Google Workspace add-on."],["It offers three alignment options: `START`, `CENTER`, and `END`, allowing developers to position widgets at the beginning, middle, or end of a line or container."],["To use these options, developers call the enum property through its parent class like this: `CardService.HorizontalAlignment.START`."]]],["`HorizontalAlignment` is an enum defining how a widget aligns horizontally. It uses properties accessed via `CardService.HorizontalAlignment`. The `START` property aligns the widget to the beginning of the sentence, `CENTER` aligns it to the center, and `END` aligns it to the sentence's end. These properties are accessed as an Enum.\n"]]