first commit
This commit is contained in:
172
hrmsEjb/net/sf/jasperreports/charts/fill/JRFillBar3DPlot.java
Normal file
172
hrmsEjb/net/sf/jasperreports/charts/fill/JRFillBar3DPlot.java
Normal file
@@ -0,0 +1,172 @@
|
||||
package net.sf.jasperreports.charts.fill;
|
||||
|
||||
import java.awt.Color;
|
||||
import net.sf.jasperreports.charts.JRBar3DPlot;
|
||||
import net.sf.jasperreports.charts.JRCategoryAxisFormat;
|
||||
import net.sf.jasperreports.charts.JRValueAxisFormat;
|
||||
import net.sf.jasperreports.engine.JRChartPlot;
|
||||
import net.sf.jasperreports.engine.JRExpression;
|
||||
import net.sf.jasperreports.engine.JRFont;
|
||||
import net.sf.jasperreports.engine.JRStyleContainer;
|
||||
import net.sf.jasperreports.engine.base.JRBaseFont;
|
||||
import net.sf.jasperreports.engine.fill.JRFillChartPlot;
|
||||
import net.sf.jasperreports.engine.fill.JRFillObjectFactory;
|
||||
import net.sf.jasperreports.engine.util.JRStyleResolver;
|
||||
|
||||
public class JRFillBar3DPlot extends JRFillChartPlot implements JRBar3DPlot {
|
||||
protected JRFont categoryAxisLabelFont = null;
|
||||
|
||||
protected Color categoryAxisLabelColor = null;
|
||||
|
||||
protected JRFont categoryAxisTickLabelFont = null;
|
||||
|
||||
protected Color categoryAxisTickLabelColor = null;
|
||||
|
||||
protected Color categoryAxisLineColor = null;
|
||||
|
||||
protected JRFont valueAxisLabelFont = null;
|
||||
|
||||
protected Color valueAxisLabelColor = null;
|
||||
|
||||
protected JRFont valueAxisTickLabelFont = null;
|
||||
|
||||
protected Color valueAxisTickLabelColor = null;
|
||||
|
||||
protected Color valueAxisLineColor = null;
|
||||
|
||||
public JRFillBar3DPlot(JRBar3DPlot barPlot, JRFillObjectFactory factory) {
|
||||
super((JRChartPlot)barPlot, factory);
|
||||
this.categoryAxisLabelFont = (JRFont)new JRBaseFont(null, null, (JRStyleContainer)barPlot.getChart(), barPlot.getCategoryAxisLabelFont());
|
||||
this.categoryAxisLabelColor = barPlot.getOwnCategoryAxisLabelColor();
|
||||
this.categoryAxisTickLabelFont = (JRFont)new JRBaseFont(null, null, (JRStyleContainer)barPlot.getChart(), barPlot.getCategoryAxisTickLabelFont());
|
||||
this.categoryAxisTickLabelColor = barPlot.getOwnCategoryAxisTickLabelColor();
|
||||
this.categoryAxisLineColor = barPlot.getOwnCategoryAxisLineColor();
|
||||
this.valueAxisLabelFont = (JRFont)new JRBaseFont(null, null, (JRStyleContainer)barPlot.getChart(), barPlot.getValueAxisLabelFont());
|
||||
this.valueAxisLabelColor = barPlot.getOwnValueAxisLabelColor();
|
||||
this.valueAxisTickLabelFont = (JRFont)new JRBaseFont(null, null, (JRStyleContainer)barPlot.getChart(), barPlot.getValueAxisTickLabelFont());
|
||||
this.valueAxisTickLabelColor = barPlot.getOwnValueAxisTickLabelColor();
|
||||
this.valueAxisLineColor = barPlot.getOwnValueAxisLineColor();
|
||||
}
|
||||
|
||||
public JRExpression getCategoryAxisLabelExpression() {
|
||||
return ((JRBar3DPlot)this.parent).getCategoryAxisLabelExpression();
|
||||
}
|
||||
|
||||
public JRFont getCategoryAxisLabelFont() {
|
||||
return this.categoryAxisLabelFont;
|
||||
}
|
||||
|
||||
public void setCategoryAxisLabelFont(JRFont font) {}
|
||||
|
||||
public Color getCategoryAxisLabelColor() {
|
||||
return JRStyleResolver.getCategoryAxisLabelColor((JRCategoryAxisFormat)this, (JRChartPlot)this);
|
||||
}
|
||||
|
||||
public Color getOwnCategoryAxisLabelColor() {
|
||||
return this.categoryAxisLabelColor;
|
||||
}
|
||||
|
||||
public void setCategoryAxisLabelColor(Color color) {}
|
||||
|
||||
public JRFont getCategoryAxisTickLabelFont() {
|
||||
return this.categoryAxisTickLabelFont;
|
||||
}
|
||||
|
||||
public void setCategoryAxisTickLabelFont(JRFont font) {}
|
||||
|
||||
public Color getCategoryAxisTickLabelColor() {
|
||||
return JRStyleResolver.getCategoryAxisTickLabelColor((JRCategoryAxisFormat)this, (JRChartPlot)this);
|
||||
}
|
||||
|
||||
public Color getOwnCategoryAxisTickLabelColor() {
|
||||
return this.categoryAxisTickLabelColor;
|
||||
}
|
||||
|
||||
public void setCategoryAxisTickLabelColor(Color color) {}
|
||||
|
||||
public String getCategoryAxisTickLabelMask() {
|
||||
return ((JRBar3DPlot)this.parent).getCategoryAxisTickLabelMask();
|
||||
}
|
||||
|
||||
public void setCategoryAxisTickLabelMask(String mask) {}
|
||||
|
||||
public Color getCategoryAxisLineColor() {
|
||||
return JRStyleResolver.getCategoryAxisLineColor((JRCategoryAxisFormat)this, (JRChartPlot)this);
|
||||
}
|
||||
|
||||
public Color getOwnCategoryAxisLineColor() {
|
||||
return this.categoryAxisLineColor;
|
||||
}
|
||||
|
||||
public void setCategoryAxisLineColor(Color color) {}
|
||||
|
||||
public JRExpression getValueAxisLabelExpression() {
|
||||
return ((JRBar3DPlot)this.parent).getValueAxisLabelExpression();
|
||||
}
|
||||
|
||||
public JRFont getValueAxisLabelFont() {
|
||||
return this.valueAxisLabelFont;
|
||||
}
|
||||
|
||||
public void setValueAxisLabelFont(JRFont font) {}
|
||||
|
||||
public Color getValueAxisLabelColor() {
|
||||
return JRStyleResolver.getValueAxisLabelColor((JRValueAxisFormat)this, (JRChartPlot)this);
|
||||
}
|
||||
|
||||
public Color getOwnValueAxisLabelColor() {
|
||||
return this.valueAxisLabelColor;
|
||||
}
|
||||
|
||||
public void setValueAxisLabelColor(Color color) {}
|
||||
|
||||
public JRFont getValueAxisTickLabelFont() {
|
||||
return this.valueAxisTickLabelFont;
|
||||
}
|
||||
|
||||
public void setValueAxisTickLabelFont(JRFont font) {}
|
||||
|
||||
public Color getValueAxisTickLabelColor() {
|
||||
return JRStyleResolver.getValueAxisTickLabelColor((JRValueAxisFormat)this, (JRChartPlot)this);
|
||||
}
|
||||
|
||||
public Color getOwnValueAxisTickLabelColor() {
|
||||
return this.valueAxisTickLabelColor;
|
||||
}
|
||||
|
||||
public void setValueAxisTickLabelColor(Color color) {}
|
||||
|
||||
public String getValueAxisTickLabelMask() {
|
||||
return ((JRBar3DPlot)this.parent).getValueAxisTickLabelMask();
|
||||
}
|
||||
|
||||
public void setValueAxisTickLabelMask(String mask) {}
|
||||
|
||||
public Color getValueAxisLineColor() {
|
||||
return JRStyleResolver.getValueAxisLineColor((JRValueAxisFormat)this, (JRChartPlot)this);
|
||||
}
|
||||
|
||||
public Color getOwnValueAxisLineColor() {
|
||||
return this.valueAxisLineColor;
|
||||
}
|
||||
|
||||
public void setValueAxisLineColor(Color color) {}
|
||||
|
||||
public double getXOffset() {
|
||||
return ((JRBar3DPlot)this.parent).getXOffset();
|
||||
}
|
||||
|
||||
public void setXOffset(double xOffset) {}
|
||||
|
||||
public double getYOffset() {
|
||||
return ((JRBar3DPlot)this.parent).getYOffset();
|
||||
}
|
||||
|
||||
public void setYOffset(double yOffset) {}
|
||||
|
||||
public boolean isShowLabels() {
|
||||
return ((JRBar3DPlot)this.parent).isShowLabels();
|
||||
}
|
||||
|
||||
public void setShowLabels(boolean isShowLabels) {}
|
||||
}
|
Reference in New Issue
Block a user