private void jasperContent(Employee_n emps, int i) { String name = emps.getFirstname() + " " + emps.getMidlename() + " " + emps.getLastname(); m_data.addElement(m_panel.getUnitDescription()); m_data.addElement(m_panel.getMonthYearString()); m_data.addElement(Integer.toString(i + 1)); m_data.addElement(emps.getEmployeeno()); m_data.addElement(name); m_data.addElement(emps.getJobtitle()); }
private void tableContent(Employee_n emps, int i) { m_data.addElement(String.valueOf(i + 1)); m_data.addElement( emps.getFirstname() + " " + emps.getMidlename() + " " + emps.getLastname()); // menampilkan name m_data.addElement(emps.getJobtitle()); // menampilkan job title }
private void summaryContent(Employee_n emps, int i) { String name = emps.getFirstname() + " " + emps.getMidlename() + " " + emps.getLastname(); m_data.addElement(Integer.toString(i + 1)); m_data.addElement(name); m_data.addElement(emps.getEmployeeno()); }