X-Git-Url: http://git.sourceforge.jp/view?p=coroid%2Finqubus.git;a=blobdiff_plain;f=frontend%2Fsrc%2Fyukihane%2Finqubus%2Fgui%2FMainFrame.java;h=bbca4ad37112d83f6992553fbe07b70af83f42ee;hp=eed703738071e327de53ce98897d53e03b3a1d19;hb=7e5f49f3e424ed24305320cd0dc3920a5217a299;hpb=92bf3bbda2428b60e09ef9a95b307cc66416a6a8;ds=sidebyside diff --git a/frontend/src/yukihane/inqubus/gui/MainFrame.java b/frontend/src/yukihane/inqubus/gui/MainFrame.java index eed7037..bbca4ad 100644 --- a/frontend/src/yukihane/inqubus/gui/MainFrame.java +++ b/frontend/src/yukihane/inqubus/gui/MainFrame.java @@ -310,11 +310,11 @@ private void useMovieLocalCheckBoxItemStateChanged(java.awt.event.ItemEvent evt) if (source == useMovieLocalCheckBox) { btn = movieFileSelectButton; field = movieFileField; - dir = p.getMovieDirectory(); + dir = p.getVideoDir(); } else { btn = commentFileSelectButton; field = commentFileField; - dir = p.getCommentDirectory(); + dir = p.getCommentDir(); } final boolean useLocal = (evt.getStateChange() == ItemEvent.SELECTED); @@ -329,7 +329,7 @@ private void useMovieLocalCheckBoxItemStateChanged(java.awt.event.ItemEvent evt) text = ""; } } else { - text = p.getFileNamePattern(); + text = p.getVideoFileNamePattern(); } field.setText(text); }//GEN-LAST:event_useMovieLocalCheckBoxItemStateChanged @@ -347,7 +347,7 @@ private void idFieldFocusLost(java.awt.event.FocusEvent evt) {//GEN-FIRST:event_ } if (useMovieLocalCheckBox.isSelected() && movieFileField.getText().isEmpty()) { - final File dir = p.getMovieDirectory(); + final File dir = p.getVideoDir(); final File file = searchFileMatchId(dir, id); if (file != null) { movieFileField.setText(file.getPath()); @@ -355,7 +355,7 @@ private void idFieldFocusLost(java.awt.event.FocusEvent evt) {//GEN-FIRST:event_ } if (useCommentLocalCheckBox.isSelected() && commentFileField.getText().isEmpty()) { - final File dir = p.getCommentDirectory(); + final File dir = p.getCommentDir(); final File file = searchFileMatchId(dir, id); if (file != null) { commentFileField.setText(file.getPath()); @@ -421,24 +421,24 @@ private void idFieldFocusLost(java.awt.event.FocusEvent evt) {//GEN-FIRST:event_ final Properties p = Properties.INSTANCE; - final boolean movieLocal = p.getUseMovieFileLocal(); + final boolean movieLocal = p.getVideoUseLocal(); useMovieLocalCheckBox.setSelected(movieLocal); movieFileSelectButton.setEnabled(movieLocal); if (!movieLocal) { - movieFileField.setText(p.getFileNamePattern()); + movieFileField.setText(p.getVideoFileNamePattern()); } - final boolean commentLocal = p.getCommentFileLocal(); + final boolean commentLocal = p.getCommentUseLocal(); useCommentLocalCheckBox.setSelected(commentLocal); commentFileSelectButton.setEnabled(commentLocal); if (!commentLocal) { - commentFileField.setText(p.getFileNamePattern()); + commentFileField.setText(p.getCommentFileNamePattern()); } - final boolean convert = p.getOutputConvert(); + final boolean convert = p.getOutputEnable(); outputConvertCheckBox.setSelected(convert); outputFileField.setEnabled(convert); - outputFileField.setText(p.getFileNamePattern()); + outputFileField.setText(p.getOutputFileNamePattern()); }