|
|
@ -3,10 +3,11 @@ package com.fr.van.chart.designer.style.background; |
|
|
|
import com.fr.design.beans.BasicBeanPane; |
|
|
|
import com.fr.design.beans.BasicBeanPane; |
|
|
|
import com.fr.design.gui.controlpane.NameObjectCreator; |
|
|
|
import com.fr.design.gui.controlpane.NameObjectCreator; |
|
|
|
import com.fr.design.gui.controlpane.UnrepeatedNameHelper; |
|
|
|
import com.fr.design.gui.controlpane.UnrepeatedNameHelper; |
|
|
|
import com.fr.log.FineLoggerFactory; |
|
|
|
|
|
|
|
import com.fr.general.NameObject; |
|
|
|
import com.fr.general.NameObject; |
|
|
|
|
|
|
|
import com.fr.log.FineLoggerFactory; |
|
|
|
import com.fr.plugin.chart.attr.axis.VanChartAlertValue; |
|
|
|
import com.fr.plugin.chart.attr.axis.VanChartAlertValue; |
|
|
|
import com.fr.stable.Nameable; |
|
|
|
import com.fr.stable.Nameable; |
|
|
|
|
|
|
|
import com.fr.van.chart.config.DefaultStyleHelper4Van; |
|
|
|
|
|
|
|
|
|
|
|
import java.lang.reflect.Constructor; |
|
|
|
import java.lang.reflect.Constructor; |
|
|
|
import java.lang.reflect.InvocationTargetException; |
|
|
|
import java.lang.reflect.InvocationTargetException; |
|
|
@ -37,6 +38,7 @@ public class ChartNameObjectCreator extends NameObjectCreator { |
|
|
|
VanChartAlertValue vanChartAlertValue = constructor.newInstance(); |
|
|
|
VanChartAlertValue vanChartAlertValue = constructor.newInstance(); |
|
|
|
vanChartAlertValue.setAxisNamesArray((String[]) object); |
|
|
|
vanChartAlertValue.setAxisNamesArray((String[]) object); |
|
|
|
vanChartAlertValue.setAxisName(((String[]) object)[0]); |
|
|
|
vanChartAlertValue.setAxisName(((String[]) object)[0]); |
|
|
|
|
|
|
|
DefaultStyleHelper4Van.dealAxisAlert(vanChartAlertValue); |
|
|
|
return new NameObject(helper.createUnrepeatedName(this.menuName()), vanChartAlertValue); |
|
|
|
return new NameObject(helper.createUnrepeatedName(this.menuName()), vanChartAlertValue); |
|
|
|
|
|
|
|
|
|
|
|
} catch (NoSuchMethodException e) { |
|
|
|
} catch (NoSuchMethodException e) { |
|
|
|