Browse Source

Merge pull request #97 in BA/design from ~ZACK/design:dev to dev

* commit '52336f6123c22191cc2f386542ba088439999db8':
  修改
  误删代码了
master
superman 9 years ago
parent
commit
f6b722c7c7
  1. 10
      designer_base/src/com/fr/design/data/datapane/TableDataPaneListPane.java
  2. 8
      designer_base/src/com/fr/design/gui/controlpane/JListControlPane.java

10
designer_base/src/com/fr/design/data/datapane/TableDataPaneListPane.java

@ -273,14 +273,4 @@ public class TableDataPaneListPane extends JListControlPane implements TableData
public JPanel getPanel() { public JPanel getPanel() {
return this; return this;
} }
/**
* 设置选中项
*
* @param index 选中项的序列号
*/
@Override
public void setSelectedIndex(int index) {
nameableList.setSelectedIndex(index);
}
} }

8
designer_base/src/com/fr/design/gui/controlpane/JListControlPane.java

@ -954,5 +954,13 @@ public abstract class JListControlPane extends JControlPane {
} }
return false; return false;
} }
/**
* 设置选中项
*
* @param index 选中项的序列号
*/
public void setSelectedIndex(int index) {
nameableList.setSelectedIndex(index);
}
} }
Loading…
Cancel
Save