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