|
|
|
@ -3,6 +3,7 @@ package com.fr.design.dscolumn;
|
|
|
|
|
import com.fr.base.BaseFormula; |
|
|
|
|
import com.fr.data.util.SortOrder; |
|
|
|
|
import com.fr.design.border.UITitledBorder; |
|
|
|
|
import com.fr.design.constants.LayoutConstants; |
|
|
|
|
import com.fr.design.data.DesignTableDataManager; |
|
|
|
|
import com.fr.design.dialog.BasicPane; |
|
|
|
|
import com.fr.design.dialog.DialogActionAdapter; |
|
|
|
@ -33,6 +34,7 @@ import javax.swing.*;
|
|
|
|
|
import java.awt.*; |
|
|
|
|
import java.awt.event.ActionEvent; |
|
|
|
|
import java.awt.event.ActionListener; |
|
|
|
|
import java.util.Arrays; |
|
|
|
|
|
|
|
|
|
import static com.fr.report.cell.cellattr.core.group.FilterTypeEnum.BOTTOM; |
|
|
|
|
import static com.fr.report.cell.cellattr.core.group.FilterTypeEnum.SPECIFY; |
|
|
|
@ -513,10 +515,11 @@ public class DSColumnAdvancedPane extends BasicPane {
|
|
|
|
|
public static class FormatAttrPane extends TextFormatPane { |
|
|
|
|
|
|
|
|
|
protected void initLayout() { |
|
|
|
|
JPanel settingPane = FRGUIPaneFactory.createBoxFlowInnerContainer_S_Pane(0, 4, 0); |
|
|
|
|
settingPane.add(typeComboBox); |
|
|
|
|
settingPane.add(textField); |
|
|
|
|
settingPane.add(roundingBox); |
|
|
|
|
JComponent[][] components = new JComponent[][] { {typeComboBox, textField, roundingBox} }; |
|
|
|
|
double[] rowSize = new double[] { TableLayout.FILL }; |
|
|
|
|
double[] columnSize = {TableLayout.PREFERRED, 200, TableLayout.PREFERRED}; |
|
|
|
|
|
|
|
|
|
JPanel settingPane = TableLayoutHelper.createGapTableLayoutPane(components, rowSize, columnSize, 4, 0); |
|
|
|
|
|
|
|
|
|
addComponents(4, new JComponent[]{settingPane, previewLabel}); |
|
|
|
|
} |
|
|
|
|