Browse Source

REPORT-912 单元格数据进度条

master
zhouping 8 years ago
parent
commit
75eb75123a
  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