//ImagePreview imagePane; // 基準時刻画像表示
ParameterPanelFolder arg1Panel_1;
ParameterPanelImageFile arg1Panel_2;
- ParameterPanelTime arg1Panel_3;
+ ParameterPanel arg1Panel_3;
ParameterPanelSelecter arg1Panel_4; // EXIF 書き出しモード
ParameterPanelFolder arg1Panel_5; // GPXファイル・フォルダ
JButton zoomOutButton; // [Zoom out]ボタン
JButton nextButton; // [次へ]ボタン
JButton backButton; // [戻る]ボタン
+ JButton doButton; // [処理実行]ボタン
//}}
//{{DECLARE_MENUS
selectImage_Action(event);
imageView_Action(event);
}
- else if (object == arg1Panel_3.doButton) {
+ else if (object == doButton) {
doButton_Action(event);
}
else if (object == arg1Panel_4.field) {
JLabel label3 = new JLabel();
label3.setText("<html><p>正確な撮影時刻を入力してください。</p><ul><li>カメラの時計が正確ならば、設定を変更する必要はありません。</li></ul>");
argsPanel.add(label3);
- arg1Panel_3 = new ParameterPanelTime(" 基準時刻: ", ImportPicture.TIME_FORMAT_STRING);
+ arg1Panel_3 = new ParameterPanel(" 基準時刻: ", ImportPicture.TIME_FORMAT_STRING);
argsPanel.add(arg1Panel_3);
cards[cardNo].add(argsPanel, BorderLayout.NORTH);
// 4.GPXファイル設定画面
cardNo++;
cards[cardNo].setLayout(new BorderLayout());
+ JLabel label4 = new JLabel();
+ label4.setText("<html><p>ヒモ付を行うGPXファイルを選択してください。</p><ul><li>フォルダを指定すると、フォルダ内にあるすべてのGPXファイルを対象とします。</li><li>カメラの時計が正確ならば、どの画像を選んでも構いません。</li></ul>");
+ cards[cardNo].add(label4, BorderLayout.NORTH);
+
JPanel tmpPanel4 = new JPanel();
tmpPanel4.setLayout(new BoxLayout(tmpPanel4, BoxLayout.Y_AXIS));
File gpxDir = new File(".");
// 5.EXIF更新設定画面
cardNo++;
cards[cardNo].setLayout(new BorderLayout());
+ JLabel label5 = new JLabel();
+ label5.setText("<html><p>EXIF変換を行うかどうかを選択してください。</p><ul><li>EXIF変換を行う場合には、変換ファイルを出力するフォルダも指定する必要があります。</li><li>出力フォルダには、書き込み権限と、十分な空き容量が必要です。</li></ul>");
+ cards[cardNo].add(label5, BorderLayout.NORTH);
+
JPanel tmpPanel5 = new JPanel();
tmpPanel5.setLayout(new BoxLayout(tmpPanel5, BoxLayout.Y_AXIS));
String[] combodata = {"更新しない", "更新する"};
arg1Panel_4 = new ParameterPanelSelecter("EXIF変更: ", combodata);
tmpPanel5.add(arg1Panel_4);
cards[cardNo].add(tmpPanel5, BorderLayout.CENTER);
+
+ doButton = new JButton("処理実行", AdjustTime.createImageIcon("images/media_playback_start.png"));
+ cards[cardNo].add(doButton, BorderLayout.SOUTH);
+
//---------------------------------------------------------------------
// INIT_MENUS
zoomInButton.addActionListener(lSymAction);
arg1Panel_2.argField.addActionListener(lSymAction);
arg1Panel_2.openButton.addActionListener(lSymAction);
- arg1Panel_3.doButton.addActionListener(lSymAction);
+ doButton.addActionListener(lSymAction);
arg1Panel_4.field.addActionListener(lSymAction);
nextButton.addActionListener(lSymAction);
backButton.addActionListener(lSymAction);
* @param event
*/
void doButton_Action(java.awt.event.ActionEvent event) {
- arg1Panel_3.doButton.setEnabled(false);
+ doButton.setEnabled(false);
String[] argv = new String[4];
argv[0] = arg1Panel_1.getText();
(new DoDialog(this, argv)).setVisible(true);
- arg1Panel_3.doButton.setEnabled(true);
+ doButton.setEnabled(true);
}
/**