|
|
|
@ -262,8 +262,8 @@ public class FormulaPane extends BasicPane implements KeyListener, UIFormula {
|
|
|
|
|
private void initTipsPane() { |
|
|
|
|
// tipsPane
|
|
|
|
|
JPanel containerSPane = new JPanel(new BorderLayout(4, 1)); |
|
|
|
|
JPanel labelPane = new JPanel(new FlowLayout(BidiUtils.rtl() ? FlowLayout.RIGHT : FlowLayout.LEFT, 0, 0), true); |
|
|
|
|
JPanel searchPane = new JPanel(new FlowLayout(BidiUtils.rtl() ? FlowLayout.LEFT : FlowLayout.RIGHT, 0, 0), true); |
|
|
|
|
JPanel labelPane = new JPanel(new FlowLayout(FlowLayout.LEADING, 0, 0), true); |
|
|
|
|
JPanel searchPane = new JPanel(new FlowLayout(FlowLayout.TRAILING, 0, 0), true); |
|
|
|
|
containerSPane.setPreferredSize(new Dimension(892, 23)); |
|
|
|
|
this.add(containerSPane, BorderLayout.NORTH); |
|
|
|
|
|
|
|
|
@ -272,13 +272,13 @@ public class FormulaPane extends BasicPane implements KeyListener, UIFormula {
|
|
|
|
|
BidiUtils.reverseConcatenateStrings(com.fr.design.i18n.Toolkit.i18nText("Fine-Design_Basic_FormulaD_Input_Formula_In_The_Text_Area_Below"), ":")); |
|
|
|
|
formulaLabel.setBorder(BorderFactory.createEmptyBorder(4, 4, 4, 4)); |
|
|
|
|
|
|
|
|
|
labelPane.add(formulaLabel, BidiUtils.rtl() ? BorderLayout.EAST : BorderLayout.WEST); |
|
|
|
|
labelPane.add(formulaLabel, BorderLayout.LINE_START); |
|
|
|
|
keyWordTextField.setPreferredSize(new Dimension(240, 23)); |
|
|
|
|
searchPane.add(keyWordTextField, BidiUtils.rtl() ? BorderLayout.WEST : BorderLayout.EAST); |
|
|
|
|
searchPane.add(searchButton, BidiUtils.rtl() ? BorderLayout.WEST : BorderLayout.EAST); |
|
|
|
|
searchPane.add(keyWordTextField, BorderLayout.LINE_END); |
|
|
|
|
searchPane.add(searchButton, BorderLayout.LINE_END); |
|
|
|
|
|
|
|
|
|
containerSPane.add(labelPane, BidiUtils.rtl() ? BorderLayout.EAST : BorderLayout.WEST); |
|
|
|
|
containerSPane.add(searchPane, BidiUtils.rtl() ? BorderLayout.WEST : BorderLayout.EAST); |
|
|
|
|
containerSPane.add(labelPane, BorderLayout.LINE_START); |
|
|
|
|
containerSPane.add(searchPane, BorderLayout.LINE_END); |
|
|
|
|
|
|
|
|
|
initKeyWordTextFieldKeyListener(); |
|
|
|
|
tipsList = new JList(listModel); |
|
|
|
@ -332,12 +332,12 @@ public class FormulaPane extends BasicPane implements KeyListener, UIFormula {
|
|
|
|
|
|
|
|
|
|
//靠左流式布局
|
|
|
|
|
JPanel checkBoxPane = FRGUIPaneFactory.createNormalFlowInnerContainer_S_Pane(); |
|
|
|
|
checkBoxandbuttonPane.add(checkBoxPane, BidiUtils.rtl() ? BorderLayout.EAST : BorderLayout.WEST); |
|
|
|
|
checkBoxandbuttonPane.add(checkBoxPane, BorderLayout.LINE_START); |
|
|
|
|
//靠右流式布局
|
|
|
|
|
JPanel buttonPane = FRGUIPaneFactory.createRightFlowInnerContainer_S_Pane(); |
|
|
|
|
buttonPane.add(checkValidButton, BidiUtils.rtl() ? BorderLayout.WEST : BorderLayout.EAST); |
|
|
|
|
buttonPane.add(calButton, BidiUtils.rtl() ? BorderLayout.WEST : BorderLayout.EAST); |
|
|
|
|
checkBoxandbuttonPane.add(buttonPane, BidiUtils.rtl() ? BorderLayout.WEST : BorderLayout.EAST); |
|
|
|
|
buttonPane.add(checkValidButton, BorderLayout.LINE_END); |
|
|
|
|
buttonPane.add(calButton, BorderLayout.LINE_END); |
|
|
|
|
checkBoxandbuttonPane.add(buttonPane, BorderLayout.LINE_END); |
|
|
|
|
if (autoCompletionCheck == null) { |
|
|
|
|
autoCompletionCheck = new UICheckBox(com.fr.design.i18n.Toolkit.i18nText("Fine-Design_Basic_Formula_AutoCompletion")); |
|
|
|
|
autoCompletionCheck.setSelected(true); |
|
|
|
@ -346,8 +346,8 @@ public class FormulaPane extends BasicPane implements KeyListener, UIFormula {
|
|
|
|
|
checkBeforeColse = new UICheckBox(Toolkit.i18nText("Fine-Design_Basic_Formula_Check_Before_Closed")); |
|
|
|
|
checkBeforeColse.setSelected(true); |
|
|
|
|
} |
|
|
|
|
checkBoxPane.add(autoCompletionCheck, BidiUtils.rtl() ? BorderLayout.EAST : BorderLayout.WEST); |
|
|
|
|
checkBoxPane.add(checkBeforeColse, BidiUtils.rtl() ? BorderLayout.EAST : BorderLayout.WEST); |
|
|
|
|
checkBoxPane.add(autoCompletionCheck, BorderLayout.LINE_START); |
|
|
|
|
checkBoxPane.add(checkBeforeColse, BorderLayout.LINE_START); |
|
|
|
|
extendCheckBoxPane(checkBoxPane); |
|
|
|
|
|
|
|
|
|
ParameterTableModel model = new ParameterTableModel(0); |
|
|
|
|