|
|
@ -69,12 +69,6 @@ public class CellWidgetCardPane extends BasicPane { |
|
|
|
|
|
|
|
|
|
|
|
// 属性
|
|
|
|
// 属性
|
|
|
|
attriTabPane = FRGUIPaneFactory.createBorderLayout_S_Pane(); |
|
|
|
attriTabPane = FRGUIPaneFactory.createBorderLayout_S_Pane(); |
|
|
|
BasicScrollPane basicScrollPane = new AttrScrollPane() { |
|
|
|
|
|
|
|
@Override |
|
|
|
|
|
|
|
protected JPanel createContentPane() { |
|
|
|
|
|
|
|
return attriTabPane; |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
}; |
|
|
|
|
|
|
|
widgetPropertyPane = new BasicWidgetPropertySettingPane(); |
|
|
|
widgetPropertyPane = new BasicWidgetPropertySettingPane(); |
|
|
|
UIExpandablePane basicPane = new UIExpandablePane(com.fr.design.i18n.Toolkit.i18nText("Fine-Design_Report_Basic"), 280, 24, widgetPropertyPane); |
|
|
|
UIExpandablePane basicPane = new UIExpandablePane(com.fr.design.i18n.Toolkit.i18nText("Fine-Design_Report_Basic"), 280, 24, widgetPropertyPane); |
|
|
|
attriCardPane = FRGUIPaneFactory.createCardLayout_S_Pane(); |
|
|
|
attriCardPane = FRGUIPaneFactory.createCardLayout_S_Pane(); |
|
|
@ -98,12 +92,12 @@ public class CellWidgetCardPane extends BasicPane { |
|
|
|
mobileTabPane.add(mobileCardPane, BorderLayout.CENTER); |
|
|
|
mobileTabPane.add(mobileCardPane, BorderLayout.CENTER); |
|
|
|
mobileCardLayout = (CardLayout) mobileCardPane.getLayout(); |
|
|
|
mobileCardLayout = (CardLayout) mobileCardPane.getLayout(); |
|
|
|
tabsPane = FineTabbedPane.builder() |
|
|
|
tabsPane = FineTabbedPane.builder() |
|
|
|
.addTab(tabTitles[0], basicScrollPane) |
|
|
|
.addTab(tabTitles[0], new UIScrollPane(attriTabPane)) |
|
|
|
.addTab(tabTitles[1], eventTabPane) |
|
|
|
.addTab(tabTitles[1], eventTabPane) |
|
|
|
.addTab(tabTitles[2], mobileTabPane) |
|
|
|
.addTab(tabTitles[2], mobileTabPane) |
|
|
|
.build(); |
|
|
|
.build(); |
|
|
|
JPanel wrapperPane = new JPanel(new BorderLayout()); |
|
|
|
JPanel wrapperPane = new JPanel(new BorderLayout()); |
|
|
|
wrapperPane.add(tabsPane, BorderLayout.NORTH); |
|
|
|
wrapperPane.add(tabsPane, BorderLayout.CENTER); |
|
|
|
wrapperPane.setBorder(new ScaledEmptyBorder(0, 10, 0, 10)); |
|
|
|
wrapperPane.setBorder(new ScaledEmptyBorder(0, 10, 0, 10)); |
|
|
|
wrapperPane.setOpaque(false); |
|
|
|
wrapperPane.setOpaque(false); |
|
|
|
this.add(wrapperPane, BorderLayout.CENTER); |
|
|
|
this.add(wrapperPane, BorderLayout.CENTER); |
|
|
@ -115,7 +109,7 @@ public class CellWidgetCardPane extends BasicPane { |
|
|
|
private void initPaneList() { |
|
|
|
private void initPaneList() { |
|
|
|
paneList = new ArrayList<JPanel>(); |
|
|
|
paneList = new ArrayList<JPanel>(); |
|
|
|
paneList.add(attriTabPane); |
|
|
|
paneList.add(attriTabPane); |
|
|
|
paneList.add(eventPane); |
|
|
|
paneList.add(eventTabPane); |
|
|
|
paneList.add(mobileTabPane); |
|
|
|
paneList.add(mobileTabPane); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|