S-JIS[2011-04-09] 変更履歴
SplitPaneの例。
import scala.swing._
| コード例 | |
|---|---|
| 左右分割 |
contents = new SplitPane(Orientation.Vertical) { leftComponent = new ScrollPane(コンポーネント) rightComponent = new ScrollPane(コンポーネント) } |
| 上下分割 |
contents = new SplitPane(Orientation.Horizontal) { topComponent = new ScrollPane(コンポーネント) bottomComponent = new ScrollPane(コンポーネント) } |
| メンバー名 | 説明 | Java相当 |
|---|---|---|
| dividerSize | ディバイダー(仕切り線)のサイズ(太さ)の設定・取得。 | setDividerSize・getDividerSize |
| dividerLocation | ディバイダーの位置の設定・取得。 | setDividerLocation・getDividerLocation |