本文整理汇总了Java中net.sf.jasperreports.engine.type.BandTypeEnum.TITLE属性的典型用法代码示例。如果您正苦于以下问题:Java BandTypeEnum.TITLE属性的具体用法?Java BandTypeEnum.TITLE怎么用?Java BandTypeEnum.TITLE使用的例子?那么, 这里精选的属性代码示例或许可以为您提供帮助。您也可以进一步了解该属性所在类net.sf.jasperreports.engine.type.BandTypeEnum
的用法示例。
在下文中一共展示了BandTypeEnum.TITLE属性的5个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。
示例1: dropFieldElementAt
public void dropFieldElementAt(Scene theScene, JasperDesign jasperDesign, JRDesignComponentElement element, Point location)
{
if (theScene instanceof ReportObjectScene)
{
Point p = theScene.convertViewToScene( location );
// find the band...
JRDesignBand b = ModelUtils.getBandAt(jasperDesign, p);
int yLocation = ModelUtils.getBandLocation(b, jasperDesign);
Point pLocationInBand = new Point(p.x - jasperDesign.getLeftMargin(),
p.y - yLocation);
if (b != null)
{
// if the band is not a detail, propose to aggregate the value...
if (b.getOrigin().getBandTypeValue() == BandTypeEnum.TITLE)
{
((StandardMapComponent)(element.getComponent())).setEvaluationTime(EvaluationTimeEnum.REPORT);
}
}
}
super.dropElementAt(theScene, jasperDesign, element, location);
}
示例2: dropFieldElementAt
public void dropFieldElementAt(Scene theScene, JasperDesign jasperDesign, JRDesignComponentElement element, Point location)
{
if (theScene instanceof ReportObjectScene)
{
Point p = theScene.convertViewToScene( location );
// find the band...
JRDesignBand b = ModelUtils.getBandAt(jasperDesign, p);
int yLocation = ModelUtils.getBandLocation(b, jasperDesign);
Point pLocationInBand = new Point(p.x - jasperDesign.getLeftMargin(),
p.y - yLocation);
if (b != null)
{
// if the band is not a detail, propose to aggregate the value...
if (b.getOrigin().getBandTypeValue() == BandTypeEnum.TITLE)
{
((SpiderChartComponent)(element.getComponent())).setEvaluationTime(EvaluationTimeEnum.REPORT);
}
}
}
super.dropElementAt(theScene, jasperDesign, element, location);
}
示例3: dropFieldElementAt
public void dropFieldElementAt(Scene theScene, JasperDesign jasperDesign, JRDesignComponentElement element, Point location)
{
if (theScene instanceof ReportObjectScene)
{
Point p = theScene.convertViewToScene( location );
// find the band...
JRDesignBand b = ModelUtils.getBandAt(jasperDesign, p);
int yLocation = ModelUtils.getBandLocation(b, jasperDesign);
Point pLocationInBand = new Point(p.x - jasperDesign.getLeftMargin(),
p.y - yLocation);
if (b != null)
{
// if the band is not a detail, propose to aggregate the value...
if (b.getOrigin().getBandTypeValue() == BandTypeEnum.TITLE)
{
((SortComponent)(element.getComponent())).setEvaluationTime(EvaluationTimeEnum.REPORT);
}
}
}
super.dropElementAt(theScene, jasperDesign, element, location);
}
示例4: dropFieldElementAt
public void dropFieldElementAt(Scene theScene, JasperDesign jasperDesign, JRDesignComponentElement element, Point location)
{
if (theScene instanceof ReportObjectScene)
{
Point p = theScene.convertViewToScene( location );
// find the band...
JRDesignBand b = ModelUtils.getBandAt(jasperDesign, p);
int yLocation = ModelUtils.getBandLocation(b, jasperDesign);
Point pLocationInBand = new Point(p.x - jasperDesign.getLeftMargin(),
p.y - yLocation);
if (b != null)
{
// if the band is not a detail, propose to aggregate the value...
if (b.getOrigin().getBandTypeValue() == BandTypeEnum.TITLE)
{
((HtmlComponent)(element.getComponent())).setEvaluationTime(EvaluationTimeEnum.REPORT);
}
}
}
super.dropElementAt(theScene, jasperDesign, element, location);
}
示例5: dropFieldElementAt
public void dropFieldElementAt(Scene theScene, JasperDesign jasperDesign, JRDesignChart element, Point location)
{
if (theScene instanceof ReportObjectScene)
{
Point p = theScene.convertViewToScene( location );
// find the band...
JRDesignBand b = ModelUtils.getBandAt(jasperDesign, p);
int yLocation = ModelUtils.getBandLocation(b, jasperDesign);
Point pLocationInBand = new Point(p.x - jasperDesign.getLeftMargin(),
p.y - yLocation);
if (b != null)
{
// if the band is not a detail, propose to aggregate the value...
if (b.getOrigin().getBandTypeValue() == BandTypeEnum.TITLE)
{
element.setEvaluationTime( EvaluationTimeEnum.REPORT);
}
}
}
super.dropElementAt(theScene, jasperDesign, element, location);
}