1 28 package net.sf.jasperreports.engine.base; 29 30 import net.sf.jasperreports.engine.JRConstants; 31 import net.sf.jasperreports.engine.JRReportFont; 32 33 34 38 public class JRBaseReportFont extends JRBaseFont implements JRReportFont 39 { 40 41 42 45 private static final long serialVersionUID = JRConstants.SERIAL_VERSION_UID; 46 47 50 protected String name = null; 51 protected boolean isDefault = false; 52 53 54 57 public JRBaseReportFont(JRReportFont reportFont) 58 { 59 super(null, null, reportFont); 60 61 name = reportFont.getName(); 62 isDefault = reportFont.isDefault(); 63 } 64 65 66 69 public String getName() 70 { 71 return this.name; 72 } 73 74 77 public boolean isDefault() 78 { 79 return this.isDefault; 80 } 81 82 83 } 84 | Popular Tags |