Java 类net.sf.jasperreports.engine.component.FillComponent 实例源码

项目:jasperreports    文件:FillListFactory.java   
@Override
public FillComponent toFillComponent(Component component,
        JRFillObjectFactory factory)
{
    try
    {
        ListComponent list = (ListComponent) component;
        FillComponent fillList;
        PrintOrderEnum printOrder = list.getPrintOrderValue();
        if (printOrder == null 
                || printOrder == PrintOrderEnum.VERTICAL)
        {
            fillList = new VerticalFillList(list, factory);
        }
        else
        {
            fillList = new HorizontalFillList(list, factory);
        }
        return fillList;
    }
    catch (JRException e)
    {
        throw new JRRuntimeException(e);
    }
}
项目:jasperreports    文件:TextInputComponentFillFactory.java   
@Override
public FillComponent toFillComponent(Component component,
        JRFillObjectFactory factory)
{
    TextInputComponent textInputComponent = (TextInputComponent) component;
    return new TextInputComponentFill(textInputComponent, factory);
}
项目:jasperreports    文件:TextInputComponentFillFactory.java   
@Override
public FillComponent cloneFillComponent(FillComponent component,
        JRFillCloneFactory factory)
{
    TextInputComponentFill textInputComponentFill = (TextInputComponentFill) component;
    return new TextInputComponentFill(textInputComponentFill.getTextInputComponent(), factory);
}
项目:jasperreports    文件:HtmlComponentFillFactory.java   
@Override
public FillComponent toFillComponent(Component component,
        JRFillObjectFactory factory)
{
    HtmlComponent htmlComponent = (HtmlComponent) component;
    return new HtmlComponentFill(htmlComponent);
}
项目:jasperreports    文件:HtmlComponentFillFactory.java   
@Override
public FillComponent cloneFillComponent(FillComponent component,
        JRFillCloneFactory factory)
{
    HtmlComponentFill htmlComponentFill = (HtmlComponentFill) component;
    return new HtmlComponentFill(htmlComponentFill.getHtmlComponent());
}
项目:jasperreports    文件:BarcodeFillFactory.java   
@Override
public FillComponent toFillComponent(Component component,
        JRFillObjectFactory factory)
{
    BarcodeComponent barcode = (BarcodeComponent) component;
    return new BarcodeFillComponent(barcode);
}
项目:jasperreports    文件:BarcodeFillFactory.java   
@Override
public FillComponent cloneFillComponent(FillComponent component,
        JRFillCloneFactory factory)
{
    BarcodeFillComponent barcode = (BarcodeFillComponent) component;
    return new BarcodeFillComponent(barcode);
}
项目:jasperreports    文件:MapFillFactory.java   
@Override
public FillComponent toFillComponent(Component component,
        JRFillObjectFactory factory)
{
    MapComponent map = (MapComponent) component;
    return new MapFillComponent(map, factory);
}
项目:jasperreports    文件:MapFillFactory.java   
@Override
public FillComponent cloneFillComponent(FillComponent component,
        JRFillCloneFactory factory)
{
    MapFillComponent fillMap = (MapFillComponent) component;
    return new MapFillComponent(fillMap.getMap());
}
项目:jasperreports    文件:BarbecueFillFactory.java   
@Override
public FillComponent toFillComponent(Component component,
        JRFillObjectFactory factory)
{
    BarbecueComponent barcode = (BarbecueComponent) component;
    return new BarbecueFillComponent(barcode);
}
项目:jasperreports    文件:BarbecueFillFactory.java   
@Override
public FillComponent cloneFillComponent(FillComponent component,
        JRFillCloneFactory factory)
{
    BarbecueFillComponent fillBarcode = (BarbecueFillComponent) component;
    return new BarbecueFillComponent(fillBarcode.getBarcode());
}
项目:jasperreports    文件:SortComponentFillFactory.java   
@Override
public FillComponent toFillComponent(Component component,
        JRFillObjectFactory factory)
{
    SortComponent sortComponent = (SortComponent) component;
    return new SortComponentFill(sortComponent);
}
项目:jasperreports    文件:SortComponentFillFactory.java   
@Override
public FillComponent cloneFillComponent(FillComponent component,
        JRFillCloneFactory factory)
{
    SortComponentFill sortComponentFill = (SortComponentFill) component;
    return new SortComponentFill(sortComponentFill.getSortComponent());
}
项目:jasperreports    文件:IconLabelComponentFillFactory.java   
@Override
public FillComponent toFillComponent(Component component,
        JRFillObjectFactory factory)
{
    IconLabelComponent iconLabelComponent = (IconLabelComponent) component;
    return new IconLabelComponentFill(iconLabelComponent, factory);
}
项目:jasperreports    文件:IconLabelComponentFillFactory.java   
@Override
public FillComponent cloneFillComponent(FillComponent component,
        JRFillCloneFactory factory)
{
    IconLabelComponentFill iconLabelComponentFill = (IconLabelComponentFill) component;
    return new IconLabelComponentFill(iconLabelComponentFill.getIconLabelComponent(), factory);
}
项目:jasperreports    文件:FillTableFactory.java   
@Override
public FillComponent toFillComponent(Component component,
        JRFillObjectFactory factory)
{
    TableComponent table = (TableComponent) component;
    return new FillTable(table, factory);
}
项目:jasperreports    文件:XYChartFillFactory.java   
@Override
public FillComponent toFillComponent(Component component,
        JRFillObjectFactory factory)
{
    return new FillXYChart((XYChartComponent) component, factory);
}
项目:jasperreports    文件:XYChartFillFactory.java   
@Override
public FillComponent cloneFillComponent(FillComponent component,
        JRFillCloneFactory factory)
{
    throw new UnsupportedOperationException();
}
项目:jasperreports    文件:BarChartFillFactory.java   
public FillComponent toFillComponent(Component component,
        JRFillObjectFactory factory)
{
    return new FillBarChart((BarChartComponent) component, factory);
}
项目:jasperreports    文件:BarChartFillFactory.java   
public FillComponent cloneFillComponent(FillComponent component,
        JRFillCloneFactory factory)
{
    throw new UnsupportedOperationException();
}
项目:jasperreports    文件:PieChartFillFactory.java   
public FillComponent toFillComponent(Component component,
        JRFillObjectFactory factory)
{
    return new FillPieChart((PieChartComponent) component, factory);
}
项目:jasperreports    文件:PieChartFillFactory.java   
public FillComponent cloneFillComponent(FillComponent component,
        JRFillCloneFactory factory)
{
    throw new UnsupportedOperationException();
}
项目:jasperreports    文件:SpiderChartFillFactory.java   
@Override
public FillComponent toFillComponent(Component component,
        JRFillObjectFactory factory)
{
    return new FillSpiderChart((SpiderChartComponent) component, factory);
}
项目:jasperreports    文件:SpiderChartFillFactory.java   
@Override
public FillComponent cloneFillComponent(FillComponent component,
        JRFillCloneFactory factory)
{
    throw new UnsupportedOperationException();
}
项目:jasperreports    文件:FillListFactory.java   
@Override
public FillComponent cloneFillComponent(FillComponent component,
        JRFillCloneFactory factory)
{
    return (FillComponent) ((BaseFillList) component).createClone(factory);
}
项目:jasperreports    文件:FillTableFactory.java   
@Override
public FillComponent cloneFillComponent(FillComponent component,
        JRFillCloneFactory factory)
{
    return new FillTable((FillTable) component, factory);
}
项目:dynamicreports-jasper    文件:GeoMapFillFactory.java   
@Override
public FillComponent toFillComponent(Component component, JRFillObjectFactory factory) {
    GeoMapComponent geoMap = (GeoMapComponent) component;
    return new GeoMapFillComponent(geoMap, factory);
}
项目:dynamicreports-jasper    文件:GeoMapFillFactory.java   
@Override
public FillComponent cloneFillComponent(FillComponent component, JRFillCloneFactory factory) {
    throw new UnsupportedOperationException();
}
项目:jasperreports-wms-component    文件:WmsMapFillFactory.java   
@Override
public FillComponent toFillComponent(Component component,
    JRFillObjectFactory factory) {
  WmsMapComponent map = (WmsMapComponent) component;
  return new WmsMapFillComponent(map, factory);
}
项目:jasperreports-wms-component    文件:WmsMapFillFactory.java   
@Override
public FillComponent cloneFillComponent(FillComponent component,
    JRFillCloneFactory factory) {
  WmsMapFillComponent fillMap = (WmsMapFillComponent) component;
  return new WmsMapFillComponent(fillMap.getMap());
}