• R/O
  • SSH
  • HTTPS

Commit

Frequently used words (click to add to your profile)

javac++androidlinuxc#windowsobjective-ccocoa誰得qtpythonphprubygameguibathyscaphec計画中(planning stage)翻訳omegatframeworktwitterdomtestvb.netdirectxゲームエンジンbtronarduinopreviewer

カルネージハートエクサのチームデータ編集ツール JAVAベース


Commit MetaInfo

Revision5 (tree)
Time2015-05-31 20:18:02
Authormanjihq

Log Message

チーム配置ボタンのラベルを修正

Change Summary

Incremental Difference

--- chexaFormation/trunk/src/chexaformation/TeamPanel.java (revision 4)
+++ chexaFormation/trunk/src/chexaformation/TeamPanel.java (revision 5)
@@ -24,7 +24,9 @@
2424 cheFile che;
2525 cheTeamData team;
2626
27- /** Creates new form TeamPanel */
27+ /**
28+ * Creates new form TeamPanel
29+ */
2830 public TeamPanel() {
2931 okedata = new DefaultListModel();
3032 che = new cheFile();
@@ -50,6 +52,7 @@
5052
5153 /**
5254 * チームデータを読み込み
55+ *
5356 * @param p チームデータ
5457 */
5558 public void load_team(cheTeamData p) {
@@ -64,7 +67,8 @@
6467
6568 /**
6669 * OKEデータを読み込み
67- * @param nidx OKE番号
70+ *
71+ * @param nidx OKE番号
6872 * @param p OKEデータ
6973 * @param n 配置場所ID
7074 */
@@ -113,6 +117,7 @@
113117
114118 /**
115119 * 選択中のOKEデータを取得
120+ *
116121 * @return OKEデータ。未選択時はnull
117122 */
118123 public cheOkeData get_current_oke() {
@@ -125,6 +130,7 @@
125130
126131 /**
127132 * 選択中のOKE配置場所IDを取得
133+ *
128134 * @return 配置場所ID。未選択時は-1
129135 */
130136 public int get_current_oke_pos() {
@@ -137,6 +143,7 @@
137143
138144 /**
139145 * チームリストの取得
146+ *
140147 * @return チームリストパネル
141148 */
142149 private TeamListPanel get_teamlist() {
@@ -144,10 +151,10 @@
144151 return form.get_teamlist();
145152 }
146153
147- /** This method is called from within the constructor to
148- * initialize the form.
149- * WARNING: Do NOT modify this code. The content of this method is
150- * always regenerated by the Form Editor.
154+ /**
155+ * This method is called from within the constructor to initialize the form.
156+ * WARNING: Do NOT modify this code. The content of this method is always
157+ * regenerated by the Form Editor.
151158 */
152159 @SuppressWarnings("unchecked")
153160 // <editor-fold defaultstate="collapsed" desc="Generated Code">//GEN-BEGIN:initComponents
@@ -476,11 +483,11 @@
476483 private void saveTEAMActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_saveTEAMActionPerformed
477484 int nret;
478485 JFileChooser fdlg = new JFileChooser(Main.cheDataDir);
479- String filterTitle =
480- java.util.ResourceBundle.getBundle("chexaformation/resource").
486+ String filterTitle
487+ = java.util.ResourceBundle.getBundle("chexaformation/resource").
481488 getString("filterTitleCHE");
482- FileNameExtensionFilter ffilter =
483- new FileNameExtensionFilter(filterTitle, "CHE");
489+ FileNameExtensionFilter ffilter
490+ = new FileNameExtensionFilter(filterTitle, "CHE");
484491 fdlg.setFileFilter(ffilter);
485492 fdlg.setSelectedFile(new File(che.get_fname()));
486493 nret = fdlg.showSaveDialog(getRootPane().getParent());
@@ -508,18 +515,18 @@
508515 if (che.save() == true) {
509516 Main.mesg_box((Dialog) (getRootPane().getParent()),
510517 java.util.ResourceBundle.getBundle(
511- "chexaformation/resource").
518+ "chexaformation/resource").
512519 getString("titleSaveTeam"),
513520 java.util.ResourceBundle.getBundle(
514- "chexaformation/resource").
521+ "chexaformation/resource").
515522 getString("mesgSaveTeam"), "");
516523 } else {
517524 Main.mesg_box((Dialog) (getRootPane().getParent()),
518525 java.util.ResourceBundle.getBundle(
519- "chexaformation/resource").
526+ "chexaformation/resource").
520527 getString("titleSaveTeam"),
521528 java.util.ResourceBundle.getBundle(
522- "chexaformation/resource").
529+ "chexaformation/resource").
523530 getString("failSaveTeam"),
524531 ifile.getAbsolutePath());
525532 }
@@ -537,7 +544,7 @@
537544 if (team.check_position(nsel, i) == true) {
538545 int old_pos = team.get_position(nsel);
539546 if (old_pos != -1) {
540- ((JButton) btnlist[old_pos]).setText("_");
547+ ((JButton) btnlist[old_pos]).setText("-");
541548 }
542549 team.set_position(nsel, i);
543550 ((JButton) btnlist[i]).setText(