|
|
|
@ -18,7 +18,6 @@ import com.fr.design.gui.ilable.UILabel;
|
|
|
|
|
import com.fr.design.gui.ispinner.UISpinner; |
|
|
|
|
import com.fr.design.gui.xpane.LayoutStylePane; |
|
|
|
|
import com.fr.design.layout.FRGUIPaneFactory; |
|
|
|
|
import com.fr.design.layout.TableLayout; |
|
|
|
|
import com.fr.design.layout.TableLayoutHelper; |
|
|
|
|
import com.fr.design.mainframe.FormDesigner; |
|
|
|
|
import com.fr.design.mainframe.FormSelectionUtils; |
|
|
|
@ -38,9 +37,12 @@ import com.fr.general.act.BorderPacker;
|
|
|
|
|
import com.fr.log.FineLoggerFactory; |
|
|
|
|
import com.fr.report.core.ReportUtils; |
|
|
|
|
|
|
|
|
|
import javax.swing.*; |
|
|
|
|
import javax.swing.border.Border; |
|
|
|
|
import java.awt.*; |
|
|
|
|
import javax.swing.BorderFactory; |
|
|
|
|
import javax.swing.DefaultComboBoxModel; |
|
|
|
|
import javax.swing.JPanel; |
|
|
|
|
import java.awt.BorderLayout; |
|
|
|
|
import java.awt.Component; |
|
|
|
|
import java.awt.Dimension; |
|
|
|
|
|
|
|
|
|
/** |
|
|
|
|
* Created by ibm on 2017/8/2. |
|
|
|
@ -160,7 +162,8 @@ public class FRFitLayoutDefinePane extends AbstractFRLayoutDefinePane<WFitLayout
|
|
|
|
|
adaptComboBox.setSelectedIndex(ob.getCompState()); |
|
|
|
|
componentIntervel.setValue(ob.getCompInterval()); |
|
|
|
|
stylePane.populateBean((LayoutBorderStyle) ob.getBorderStyle()); |
|
|
|
|
watermarkEditor.setValue(ReportUtils.getWatermarkAttrFromTemplate(getCurrentIOFile())); |
|
|
|
|
//从全局读取水印
|
|
|
|
|
watermarkEditor.setValue(ReportUtils.getWatermarkAttrFromTemplateAndGlobal(getCurrentIOFile())); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
private XLayoutContainer selectedBodyLayout(FormDesigner formDesigner) { |
|
|
|
|