S-JIS[2011-01-15/2011-11-10] 変更履歴
Swingは、ウィンドウ(GUI)アプリを作る為のコンポーネント(部品)群。
ScalaのSwingはJavaのSwingのラッパークラスなので、基本的な仕組みはJavaのSwingと同じ。
ただ、書き方が「宣言的」になっているらしい。
分類 | Scala | Java相当 | 概要 | 更新日 |
---|---|---|---|---|
Swingアプリ | SwingApplication SimpleSwingApplication |
Swingアプリを実行する為のクラス | 2011-01-15 | |
フレーム ウィンドウ ダイアログ |
Window RichWindow Frame MainFrame |
Window JFrame |
ウィンドウ フレーム |
2011-10-16 |
Dialog | JDialog | 汎用的なダイアログ | 2011-01-15 | |
JOptionPane | メッセージボックス・インプットボックス | |||
FileChooser | JFileChooser | ファイルを選択するダイアログ | ||
パネル ペイン |
Panel | JPanel LayoutManager |
パネル上にコンポーネントを配置する | 2011-04-03 |
ScrollPane | JScrollPane | ペインをスクロールさせる | ||
SplitPane | JSplitPane | 2分割し、大きさをユーザーが変えられる | 2011-04-09 | |
TabbedPane | JTabbedPane | 複数のペインをタブで管理する | 2011-04-09 | |
コンポーネント | Component | JComponent | コンポーネント(独自コンポーネント作成) | 2011-04-06 |
Label | JLabel | ラベル | ||
TextComponent | JTextComponent | 文字列の編集(入力)の共通クラス | ||
TextField FormattedTextField PasswordField |
JTextField JFormattedTextField JPasswordField |
一行文字列の編集(入力) | ||
TextArea | JTextArea | 複数行文字列の編集(入力) | ||
JTextPane | 装飾可能な文字列の編集(入力) | |||
ComboBox | JComboBox | コンボボックス | ||
ListView | JList | リストボックス | ||
RadioButton | JRadioButton | ラジオボタン | ||
CheckBox | JCheckBox | チェックボックス | ||
Table | JTable | テーブル(Excelのワークシートのような表) | 2011-11-10 | |
自作Tree | JTree | ツリーの表示 | 2011-10-16 | |
ProgressBar | JProgressBar | プログレスバー(進捗バー) | ||
Slider | JSlider | スライダー | ||
コンポーネント (エディター) |
EditorPane | JEditorPane | テキスト・HTMLを表示/編集するペイン | |
HTMLDocument | HTMLを保持するドキュメントクラス | |||
HTMLEditorKit | HTMLを扱うユーティリティー | |||
HTMLWriter | HTML出力方法の改善 | |||
パーツ | MenuBar | JMenuBar | メニューバー | 2011-04-03 |
JToolBar | ツールバー | |||
ステータスバー | ステータスバー | |||
Separator | JSeparator | 区切り線 | ||
Swing. 〜Border |
Border | 境界線 | 2011-04-08 | |
Swing. Box |
Box | 余白 | 2011-04-08 | |
JPopupMenu | ポップアップメニュー | |||
イベント 処理 |
Action | Action | アクションクラス | 2011-04-03 |
イベント | マウスイベント | マウス操作の処理 | 2011-04-04 | |
キーイベント | キー押下時の処理 | |||
UndoManager | UNDO/REDO機能 | |||
TransferHandler | ドラッグ&ドロップ、コピー&ペースト処理 | |||
DropTarget | ドロップされたファイルを処理する | |||
Desktop | ファイルの拡張子に応じて処理する | |||
部品 | Color | Color | 色 | 2011-04-06 |
Font | フォント | |||
Icon | Icon | アイコン | 2011-01-15 | |
Image | 画像 | |||
Caret | テキスト上のカーソル | |||
Cursor | マウスカーソルの形 |