OSDN Git Service

step by step
[importpicture/importpicture.git] / src / osm / jp / gpx / matchtime / gui / restamp / CardSourceFolder.java
1 package osm.jp.gpx.matchtime.gui.restamp;
2
3 import java.awt.BorderLayout;
4 import javax.swing.BoxLayout;
5 import javax.swing.JLabel;
6 import javax.swing.JPanel;
7 import javax.swing.JTabbedPane;
8 import osm.jp.gpx.matchtime.gui.AdjustTime;
9 import static osm.jp.gpx.matchtime.gui.AdjustTime.i18n;
10 import osm.jp.gpx.matchtime.gui.Card;
11 import osm.jp.gpx.matchtime.gui.PanelAction;
12 import osm.jp.gpx.matchtime.gui.ParameterPanelFolder;
13
14 /**
15  * [対象フォルダ]設定パネル
16  * @author yuu
17  */
18 public class CardSourceFolder extends Card implements PanelAction {
19     
20     /**
21      * コンストラクタ
22      * @param tabbe parent panel
23      * @param arg1_srcFolder        対象フォルダ
24      */
25     public CardSourceFolder(JTabbedPane tabbe, ParameterPanelFolder arg1_srcFolder) {
26         super(tabbe, AdjustTime.i18n.getString("tab.100"), -1, 1);
27         this.mainPanel.add(new JLabel(i18n.getString("label.100")), BorderLayout.NORTH);
28
29         JPanel argsPanel = new JPanel();    // パラメータ設定パネル   (上部)
30         argsPanel.setLayout(new BoxLayout(argsPanel, BoxLayout.Y_AXIS));
31         argsPanel.add(arg1_srcFolder);
32         this.mainPanel.add(argsPanel, BorderLayout.CENTER);
33     }
34
35     @Override
36     @SuppressWarnings("empty-statement")
37     public void openAction() {
38        ; // 何もしない
39     }
40 }