子コンポーネント (north
,south
,east
,west
) の size プロパティを指定してそれらの大きさを決めることができます。しかし、 size プロパティの機能は子コンポーネントのタイプ( size プロパティが縦か横か)に依存します。
縦コンポーネント (north
, and south
)では size プロパティはそれらの高さを決定します。横コンポーネント (east
, and west
)では size プロパティはそれらの広さを決定します。
border
プロパティは、レイアウトコンポーネントにボーダーが有るか無いかを決定します。ボーダーは子コンポーネントも含みます。次の表は border プロパティの取れる値です。
サンプルです。
<borderlayout height="500px"> <north size="30%" border="normal"> The North </north> <east size="30%" border="normal"> The East </east> <center border="normal"> The Center </center> <west border="normal"> The West </west> <south border="normal"> The South </south> </borderlayout>