110111112113114115116117118
/** * */ public void setDirection(LineDirectionEnum directionValue) { LineDirectionEnum old = this.directionValue; this.directionValue = directionValue; getEventSupport().firePropertyChange(PROPERTY_DIRECTION, old, this.directionValue); }
125126127128129130131132133
/** * */ public void setDirection(LineDirectionEnum directionValue) { LineDirectionEnum old = this.directionValue; this.directionValue = directionValue; getEventSupport().firePropertyChange(JRBaseLine.PROPERTY_DIRECTION, old, this.directionValue); }
4445464748495051525354
{ JasperDesign jasperDesign = (JasperDesign)digester.peek(digester.getCount() - 2); JRDesignLine line = new JRDesignLine(jasperDesign); LineDirectionEnum direction = LineDirectionEnum.getByName(atts.getValue(JRXmlConstants.ATTRIBUTE_direction)); if (direction != null) { line.setDirection(direction); }
{ JasperPrint jasperPrint = (JasperPrint)digester.peek(digester.getCount() - 2); JRBasePrintLine line = new JRBasePrintLine(jasperPrint.getDefaultStyleProvider()); LineDirectionEnum direction = LineDirectionEnum.getByName(atts.getValue(JRXmlConstants.ATTRIBUTE_direction)); if (direction != null) { line.setDirection(direction); }