styledListの索引付けされた子の間への垂直間隔の挿入

注意: 階層リストがある場合は、適切なstyledListコンポーネントを選択してください。

styledListの索引付けされた子の間に垂直間隔を挿入するには、次のようにします。

  1. 目的のファイルの設計構造ウィンドウで、「styledList」ノードを展開し、次に「styledList-名前付きの子」ノードを展開します。

    「label」および「separator」という2つの名前付きの子があります。

  2. コンポーネント・パレットで、spacerコンポーネントを「Layout Components」リストから、「styledList」ノードの下の「separator」ノードにドラッグ・アンド・ドロップします。

    「spacer」ノードが設計構造ウィンドウに挿入され、強調表示されます。

  3. プロパティ・インスペクタで、挿入したspacerコンポーネントに対して適切な属性を設定します。

注意: データ・バインディングの使用は、「コンポーネント属性のデータ・バインディング」を参照してください。

例(UIX XML)


...
<pageLayout>

...

  <styledList listStyle="decimal" selectedIndex="1">
    <separator>
      <spacer height="10"/>
    </separator>
    <contents>
      <styledItem >
        <contents>
          <link text="Link 1 Text" destination="http://www.oracle.com"/>
        </contents>
      </styledItem>
      <styledItem>
        <contents>
          <link text="Link 2 Text" destination="http://www.oracle.com"/>
        </contents>
      </styledItem>
      <styledItem>
        <contents>
          <link text="Link 3 Text" destination="http://www.oracle.com"/>
        </contents>
      </styledItem>
    </contents>
  </styledList>

...

<!-- REST OF PAGE LAYOUT -->

<pageLayout>
...    

spacerとseparatorについて
styledListとstyledItemについて
bulletedListについて

styledListおよびstyledItemを使用したリストの作成
styledListとlabelを使用した階層リストの作成
レイアウト・コンポーネントの使用

 

Copyright © 1997, 2004, Oracle. All rights reserved.