|
|
@ -13,6 +13,7 @@ import com.fr.design.gui.icombobox.UIComboBox; |
|
|
|
import com.fr.design.gui.ispinner.UISpinner; |
|
|
|
import com.fr.design.gui.ispinner.UISpinner; |
|
|
|
import com.fr.design.gui.itoolbar.UIToolbar; |
|
|
|
import com.fr.design.gui.itoolbar.UIToolbar; |
|
|
|
import com.fr.design.i18n.Toolkit; |
|
|
|
import com.fr.design.i18n.Toolkit; |
|
|
|
|
|
|
|
import com.fr.stable.StringUtils; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public class MaxMemRowCountPanel extends UIToolbar { |
|
|
|
public class MaxMemRowCountPanel extends UIToolbar { |
|
|
@ -92,9 +93,9 @@ public class MaxMemRowCountPanel extends UIToolbar { |
|
|
|
//此处因为switchCache的setSelectedIndex可能会造成双层调用,然后因为重复添加组件产生bug,故而定义这个工具栏的正常最大组件数,做个判断
|
|
|
|
//此处因为switchCache的setSelectedIndex可能会造成双层调用,然后因为重复添加组件产生bug,故而定义这个工具栏的正常最大组件数,做个判断
|
|
|
|
return; |
|
|
|
return; |
|
|
|
} |
|
|
|
} |
|
|
|
this.add(new UILabel(" ")); |
|
|
|
this.add(new UILabel(StringUtils.BLANK)); |
|
|
|
this.add(numberSpinner); |
|
|
|
this.add(numberSpinner); |
|
|
|
this.add(new UILabel(" " + Toolkit.i18nText("Fine-Design_Basic_Row"))); |
|
|
|
this.add(new UILabel(StringUtils.BLANK + Toolkit.i18nText("Fine-Design_Basic_Row"))); |
|
|
|
this.validate(); |
|
|
|
this.validate(); |
|
|
|
this.repaint(); |
|
|
|
this.repaint(); |
|
|
|
} |
|
|
|
} |
|
|
|