tm.addColumn("Parry");
tm.addColumn("Block");
tm.addColumn("Absorb");
tm.addColumn("Intercepted");
for(Iterator<DPSStats> it2=cp.getDamageAbilityList().iterator();it2.hasNext();) {
DPSStats xx=it2.next();
tm.addRow(new Object[]{xx.getAbilityName(),
xx.getAbilityDamage(DPSStats.OutcomeHit)+" ("+xx.getOutcomeEventPercentages(DPSStats.OutcomeHit)+")",
xx.getAbilityDamage(DPSStats.OutcomeCrit)+" ("+xx.getOutcomeEventPercentages(DPSStats.OutcomeCrit)+")",
xx.getOutcomeEventPercentages(DPSStats.OutcomeMiss),
xx.getOutcomeEventPercentages(DPSStats.OutcomeDodge),
xx.getOutcomeEventPercentages(DPSStats.OutcomeParry),
xx.getAbilityDamage(DPSStats.OutcomeBlock)+" ("+xx.getOutcomeEventPercentages(DPSStats.OutcomeBlock)+")",
xx.getAbilityDamage(DPSStats.OutcomeAbsorbed)+" ("+xx.getOutcomeEventPercentages(DPSStats.OutcomeAbsorbed)+")",
xx.getAbilityDamage(DPSStats.OutcomeIntercepted)+" ("+xx.getOutcomeEventPercentages(DPSStats.OutcomeIntercepted)+")"});
}
tm.fireTableDataChanged();
x1_dps1Stats.getColumnModel().getColumn(0).setMinWidth(150);
x1_dps1Stats.getColumnModel().getColumn(1).setMinWidth(120);
x1_dps1Stats.getColumnModel().getColumn(2).setMinWidth(120);
x1_dps1Stats.getColumnModel().getColumn(3).setMinWidth(70);
x1_dps1Stats.getColumnModel().getColumn(4).setMinWidth(70);
x1_dps1Stats.getColumnModel().getColumn(5).setMinWidth(70);
x1_dps1Stats.getColumnModel().getColumn(6).setMinWidth(120);
x1_dps1Stats.getColumnModel().getColumn(7).setMinWidth(120);
x1_dps1Stats.revalidate();
x1_dps1Stats.repaint();
tm=new DefaultTableModel();
x1_dps2Stats.setModel(tm);
tm.addColumn("Target");
tm.addColumn("Hit");
tm.addColumn("Crit");
tm.addColumn("Miss");
tm.addColumn("Dodge");
tm.addColumn("Parry");
tm.addColumn("Block");
tm.addColumn("Absorb");
tm.addColumn("Intercepted");
for(Iterator<DPSStats> it3=cp.getDamageTargetList().iterator();it3.hasNext();) {
DPSStats xx=it3.next();
tm.addRow(new Object[]{xx.getAbilityName(),
xx.getAbilityDamage(DPSStats.OutcomeHit)+" ("+xx.getOutcomeEventPercentages(DPSStats.OutcomeHit)+")",
xx.getAbilityDamage(DPSStats.OutcomeCrit)+" ("+xx.getOutcomeEventPercentages(DPSStats.OutcomeCrit)+")",
xx.getOutcomeEventPercentages(DPSStats.OutcomeMiss),
xx.getOutcomeEventPercentages(DPSStats.OutcomeDodge),
xx.getOutcomeEventPercentages(DPSStats.OutcomeParry),
xx.getAbilityDamage(DPSStats.OutcomeBlock)+" ("+xx.getOutcomeEventPercentages(DPSStats.OutcomeBlock)+")",
xx.getAbilityDamage(DPSStats.OutcomeAbsorbed)+" ("+xx.getOutcomeEventPercentages(DPSStats.OutcomeAbsorbed)+")",
xx.getAbilityDamage(DPSStats.OutcomeIntercepted)+" ("+xx.getOutcomeEventPercentages(DPSStats.OutcomeIntercepted)+")"});
}
tm.fireTableDataChanged();
x1_dps2Stats.getColumnModel().getColumn(0).setMinWidth(150);
x1_dps2Stats.getColumnModel().getColumn(1).setMinWidth(120);
x1_dps2Stats.getColumnModel().getColumn(2).setMinWidth(120);
x1_dps2Stats.getColumnModel().getColumn(3).setMinWidth(70);
x1_dps2Stats.getColumnModel().getColumn(4).setMinWidth(70);
x1_dps2Stats.getColumnModel().getColumn(5).setMinWidth(70);
x1_dps2Stats.getColumnModel().getColumn(6).setMinWidth(120);
x1_dps2Stats.getColumnModel().getColumn(7).setMinWidth(120);
x1_dps2Stats.revalidate();
x1_dps2Stats.repaint();
tm=new DefaultTableModel();
x1_dtps1Stats.setModel(tm);
tm.addColumn("Ability");
tm.addColumn("Hit");
tm.addColumn("Crit");
tm.addColumn("Miss");
tm.addColumn("Dodge");
tm.addColumn("Parry");
tm.addColumn("Block");
tm.addColumn("Absorb");
tm.addColumn("Intercepted");
for(Iterator<DPSStats> it3=cp.getDamageTakenAbilityList().iterator();it3.hasNext();) {
DPSStats xx=it3.next();
tm.addRow(new Object[]{xx.getAbilityName(),
xx.getAbilityDamage(DPSStats.OutcomeHit)+" ("+xx.getOutcomeEventPercentages(DPSStats.OutcomeHit)+")",
xx.getAbilityDamage(DPSStats.OutcomeCrit)+" ("+xx.getOutcomeEventPercentages(DPSStats.OutcomeCrit)+")",
xx.getOutcomeEventPercentages(DPSStats.OutcomeMiss),
xx.getOutcomeEventPercentages(DPSStats.OutcomeDodge),
xx.getOutcomeEventPercentages(DPSStats.OutcomeParry),
xx.getAbilityDamage(DPSStats.OutcomeBlock)+" ("+xx.getOutcomeEventPercentages(DPSStats.OutcomeBlock)+")",
xx.getAbilityDamage(DPSStats.OutcomeAbsorbed)+" ("+xx.getOutcomeEventPercentages(DPSStats.OutcomeAbsorbed)+")",
xx.getAbilityDamage(DPSStats.OutcomeIntercepted)+" ("+xx.getOutcomeEventPercentages(DPSStats.OutcomeIntercepted)+")"});
}
tm.fireTableDataChanged();
x1_dtps1Stats.getColumnModel().getColumn(0).setMinWidth(150);
x1_dtps1Stats.getColumnModel().getColumn(1).setMinWidth(120);
x1_dtps1Stats.getColumnModel().getColumn(2).setMinWidth(120);
x1_dtps1Stats.getColumnModel().getColumn(3).setMinWidth(70);
x1_dtps1Stats.getColumnModel().getColumn(4).setMinWidth(70);
x1_dtps1Stats.getColumnModel().getColumn(5).setMinWidth(70);
x1_dtps1Stats.getColumnModel().getColumn(6).setMinWidth(120);
x1_dtps1Stats.getColumnModel().getColumn(7).setMinWidth(120);
x1_dtps1Stats.revalidate();
x1_dtps1Stats.repaint();
tm=new DefaultTableModel();
x1_dtps2Stats.setModel(tm);
tm.addColumn("Source");
tm.addColumn("Hit");
tm.addColumn("Crit");
tm.addColumn("Miss");
tm.addColumn("Dodge");
tm.addColumn("Parry");
tm.addColumn("Block");
tm.addColumn("Absorb");
tm.addColumn("Intercepted");
for(Iterator<DPSStats> it3=cp.getDamageTakenTargetList().iterator();it3.hasNext();) {
DPSStats xx=it3.next();
tm.addRow(new Object[]{xx.getAbilityName(),
xx.getAbilityDamage(DPSStats.OutcomeHit)+" ("+xx.getOutcomeEventPercentages(DPSStats.OutcomeHit)+")",
xx.getAbilityDamage(DPSStats.OutcomeCrit)+" ("+xx.getOutcomeEventPercentages(DPSStats.OutcomeCrit)+")",
xx.getOutcomeEventPercentages(DPSStats.OutcomeMiss),
xx.getOutcomeEventPercentages(DPSStats.OutcomeDodge),
xx.getOutcomeEventPercentages(DPSStats.OutcomeParry),
xx.getAbilityDamage(DPSStats.OutcomeBlock)+" ("+xx.getOutcomeEventPercentages(DPSStats.OutcomeBlock)+")",
xx.getAbilityDamage(DPSStats.OutcomeAbsorbed)+" ("+xx.getOutcomeEventPercentages(DPSStats.OutcomeAbsorbed)+")",
xx.getAbilityDamage(DPSStats.OutcomeIntercepted)+" ("+xx.getOutcomeEventPercentages(DPSStats.OutcomeIntercepted)+")"});
}
tm.fireTableDataChanged();
x1_dtps2Stats.getColumnModel().getColumn(0).setMinWidth(150);
x1_dtps2Stats.getColumnModel().getColumn(1).setMinWidth(120);
x1_dtps2Stats.getColumnModel().getColumn(2).setMinWidth(120);
x1_dtps2Stats.getColumnModel().getColumn(3).setMinWidth(70);
x1_dtps2Stats.getColumnModel().getColumn(4).setMinWidth(70);
x1_dtps2Stats.getColumnModel().getColumn(5).setMinWidth(70);
x1_dtps2Stats.getColumnModel().getColumn(6).setMinWidth(120);
x1_dtps2Stats.getColumnModel().getColumn(7).setMinWidth(120);
x1_dtps2Stats.revalidate();
x1_dtps2Stats.repaint();
tm=new DefaultTableModel();
x1_dtpsTypes.setModel(tm);
tm.addColumn("Damage type");
tm.addColumn("Hit");
tm.addColumn("Crit");
tm.addColumn("Miss");
tm.addColumn("Dodge");
tm.addColumn("Parry");
tm.addColumn("Block");
tm.addColumn("Absorb");
tm.addColumn("Intercepted");
for(Iterator<DPSStats> it3=cp.getDamageTakenTypeList().iterator();it3.hasNext();) {
DPSStats xx=it3.next();
tm.addRow(new Object[]{xx.getAbilityName(),
xx.getAbilityDamage(DPSStats.OutcomeHit)+" ("+xx.getOutcomeEventPercentages(DPSStats.OutcomeHit)+")",
xx.getAbilityDamage(DPSStats.OutcomeCrit)+" ("+xx.getOutcomeEventPercentages(DPSStats.OutcomeCrit)+")",
xx.getOutcomeEventPercentages(DPSStats.OutcomeMiss),
xx.getOutcomeEventPercentages(DPSStats.OutcomeDodge),
xx.getOutcomeEventPercentages(DPSStats.OutcomeParry),
xx.getAbilityDamage(DPSStats.OutcomeBlock)+" ("+xx.getOutcomeEventPercentages(DPSStats.OutcomeBlock)+")",
xx.getAbilityDamage(DPSStats.OutcomeAbsorbed)+" ("+xx.getOutcomeEventPercentages(DPSStats.OutcomeAbsorbed)+")",
xx.getAbilityDamage(DPSStats.OutcomeIntercepted)+" ("+xx.getOutcomeEventPercentages(DPSStats.OutcomeIntercepted)+")"});
}
tm.fireTableDataChanged();
x1_dtpsTypes.getColumnModel().getColumn(0).setMinWidth(150);
x1_dtpsTypes.getColumnModel().getColumn(1).setMinWidth(120);
x1_dtpsTypes.getColumnModel().getColumn(2).setMinWidth(120);
x1_dtpsTypes.getColumnModel().getColumn(3).setMinWidth(70);
x1_dtpsTypes.getColumnModel().getColumn(4).setMinWidth(70);
x1_dtpsTypes.getColumnModel().getColumn(5).setMinWidth(70);
x1_dtpsTypes.getColumnModel().getColumn(6).setMinWidth(120);
x1_dtpsTypes.getColumnModel().getColumn(7).setMinWidth(120);
x1_dtpsTypes.revalidate();
x1_dtpsTypes.repaint();
tm=new DefaultTableModel();
x1_hps1Stats.setModel(tm);
tm.addColumn("Ability");
tm.addColumn("Healing");
tm.addColumn("Overhealing");
for(Iterator<HPSStats> it3=cp.getHealingAbilityList().iterator();it3.hasNext();) {
HPSStats xx=it3.next();
tm.addRow(new Object[]{xx.getAbilityName(),
xx.getAbilityHealing()+" (crit "+xx.getHealingCritPercentage()+")",
xx.getAbilityOverhealing()+" ("+xx.getOverhealingPercentage()+")"});
}
tm.fireTableDataChanged();
x1_hps1Stats.revalidate();
x1_hps1Stats.repaint();
tm=new DefaultTableModel();
x1_hps2Stats.setModel(tm);
tm.addColumn("Target");
tm.addColumn("Healing");
tm.addColumn("Overhealing");
for(Iterator<HPSStats> it3=cp.getHealingTargetList().iterator();it3.hasNext();) {
HPSStats xx=it3.next();
tm.addRow(new Object[]{xx.getAbilityName(),
xx.getAbilityHealing()+" (crit "+xx.getHealingCritPercentage()+")",
xx.getAbilityOverhealing()+" ("+xx.getOverhealingPercentage()+")"});
}
tm.fireTableDataChanged();
x1_hps2Stats.revalidate();
x1_hps2Stats.repaint();
x1_hps3Stats.setModel(new DefaultTableModel());
x1_hps3Stats.revalidate();
x1_hps3Stats.repaint();
tm=new DefaultTableModel();
interrupts.setModel(tm);
tm.addColumn("Ability");
tm.addColumn("Combat second");
for(Iterator<InterruptStats> it3=cp.getInterruptList().iterator();it3.hasNext();) {
InterruptStats xx=it3.next();
long[] seconds=xx.getInterrupts();
for(int i=0;i<seconds.length;i++)
tm.addRow(new Object[]{xx.getAbilityName(),seconds[i]});
}
tm.fireTableDataChanged();
interrupts.revalidate();
interrupts.repaint();
tm=new DefaultTableModel();
deaths.setModel(tm);
tm.addColumn("Killed by");
tm.addColumn("Combat second");
for(Iterator<DeathDetail> it3=cp.getDeathList().iterator();it3.hasNext();) {
DeathDetail xx=it3.next();
tm.addRow(new Object[]{xx.getKilledBy(),xx.getDiedAt()});
}
tm.fireTableDataChanged();
deaths.revalidate();
deaths.repaint();
}
}
}
if(eventType==RRAMediator.EventHealingTargetChanged) {
Combat c=this.parser.getCombat((String)parameters.toArray()[0]);
for(Iterator<CombatParticipant> it=c.getSortedDPSParticipantList().iterator();it.hasNext();) {
CombatParticipant cp=it.next();
if(cp.getName().equalsIgnoreCase((String)parameters.toArray()[1])) {
for(Iterator<HPSStats> it3=cp.getHealingTargetList().iterator();it3.hasNext();) {
HPSStats xx=it3.next();
if(xx.getAbilityName().equalsIgnoreCase((String)parameters.toArray()[2])) {
DefaultTableModel tm=new DefaultTableModel();
x1_hps3Stats.setModel(tm);
tm.addColumn("Ability");
tm.addColumn("Healing");
tm.addColumn("Overhealing");
for(Iterator<HPSStats> it4=xx.getSubcategoryList().iterator();it4.hasNext();) {
HPSStats yy=it4.next();
tm.addRow(new Object[]{yy.getAbilityName(),
yy.getAbilityHealing()+" (crit "+yy.getHealingCritPercentage()+")",
yy.getAbilityOverhealing()+" ("+yy.getOverhealingPercentage()+")"});
}