|
|
@ -41,6 +41,7 @@ public abstract class BaseFitAttrPane extends BasicBeanPane<ReportFitAttr> { |
|
|
|
public JPanel attrJPanel; |
|
|
|
public JPanel attrJPanel; |
|
|
|
public FitPreviewPane previewJPanel; |
|
|
|
public FitPreviewPane previewJPanel; |
|
|
|
public FitAttrModel fitAttrModel; |
|
|
|
public FitAttrModel fitAttrModel; |
|
|
|
|
|
|
|
private static final int BELOW_SET_COMPONENT_HSPACE = 8; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
protected BaseFitAttrPane() { |
|
|
|
protected BaseFitAttrPane() { |
|
|
@ -179,7 +180,7 @@ public abstract class BaseFitAttrPane extends BasicBeanPane<ReportFitAttr> { |
|
|
|
|
|
|
|
|
|
|
|
@Override |
|
|
|
@Override |
|
|
|
protected String title4PopupWindow() { |
|
|
|
protected String title4PopupWindow() { |
|
|
|
return i18nText("Fine-Designer_PC_Element_Case_Fit_Attr"); |
|
|
|
return i18nText("Fine-Designer_PC_Fit_Attr"); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
protected abstract String[] getItemNames(); |
|
|
|
protected abstract String[] getItemNames(); |
|
|
@ -202,7 +203,7 @@ public abstract class BaseFitAttrPane extends BasicBeanPane<ReportFitAttr> { |
|
|
|
itemChoose.addItemListener(itemListener); |
|
|
|
itemChoose.addItemListener(itemListener); |
|
|
|
UILabel belowSetLabel = new UILabel(i18nText("Fine-Design_Report_Blow_Set")); |
|
|
|
UILabel belowSetLabel = new UILabel(i18nText("Fine-Design_Report_Blow_Set")); |
|
|
|
JPanel buttonPane = GUICoreUtils.createFlowPane(new Component[]{ |
|
|
|
JPanel buttonPane = GUICoreUtils.createFlowPane(new Component[]{ |
|
|
|
belowSetLabel, itemChoose}, FlowLayout.LEFT, 0, 0); |
|
|
|
belowSetLabel, itemChoose}, FlowLayout.LEFT, BELOW_SET_COMPONENT_HSPACE); |
|
|
|
chooseJPanel.add(buttonPane); |
|
|
|
chooseJPanel.add(buttonPane); |
|
|
|
chooseJPanel.setPreferredSize(new Dimension(500, 50)); |
|
|
|
chooseJPanel.setPreferredSize(new Dimension(500, 50)); |
|
|
|
JPanel jPanel = new JPanel(); |
|
|
|
JPanel jPanel = new JPanel(); |
|
|
|