|
|
@ -15,14 +15,13 @@ import java.awt.*; |
|
|
|
/** |
|
|
|
/** |
|
|
|
* Created by mengao on 2017/5/3. |
|
|
|
* Created by mengao on 2017/5/3. |
|
|
|
*/ |
|
|
|
*/ |
|
|
|
public abstract class ThirdChartEditPane extends ChartEditPane implements ChartEditPaneProvider, ThirdChartInterface { |
|
|
|
public abstract class ThirdChartEditPane extends ChartEditPane implements ChartEditPaneProvider { |
|
|
|
//构建主面板
|
|
|
|
//构建主面板
|
|
|
|
protected void createTabsPane() { |
|
|
|
protected void createTabsPane() { |
|
|
|
Icon[] iconArray = new Icon[paneList.size()]; |
|
|
|
Icon[] iconArray = new Icon[paneList.size()]; |
|
|
|
card = new CardLayout(); |
|
|
|
card = new CardLayout(); |
|
|
|
center = new JPanel(card); |
|
|
|
center = new JPanel(card); |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
tabsHeaderIconPane = new UIHeadGroup(iconArray) { |
|
|
|
tabsHeaderIconPane = new UIHeadGroup(iconArray) { |
|
|
|
@Override |
|
|
|
@Override |
|
|
|
public void tabChanged(int index) { |
|
|
|
public void tabChanged(int index) { |
|
|
@ -165,4 +164,8 @@ public abstract class ThirdChartEditPane extends ChartEditPane implements ChartE |
|
|
|
return "CustomChart"; |
|
|
|
return "CustomChart"; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
protected abstract void populateBean(Object ob); |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
protected abstract void updateBean(Object ob); |
|
|
|
|
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|