Browse Source

Merge pull request #582 in BA/design from ~ZHOUPING/design:dev to dev

* commit '75eb75123acef6bdc7827556eb063a49567e065a':
  REPORT-912 单元格数据进度条
master
superman 8 years ago
parent
commit
e6adcb52ae
  1. 9
      designer_base/src/com/fr/design/editor/ValueEditorPane.java

9
designer_base/src/com/fr/design/editor/ValueEditorPane.java

@ -106,6 +106,15 @@ public class ValueEditorPane extends BasicPane implements UIObserver, GlobalName
return currentEditor;
}
public int getCurrentEditorIndex() {
for (int i = 0;i < cards.length; i++){
if (cards[i].getClass() == currentEditor.getClass()){
return i;
}
}
return 0;
}
public void setCurrentEditor(int i) {
this.add(arrowButton, BorderLayout.WEST);
currentEditor = this.cards[i];

Loading…
Cancel
Save