mirror of
https://github.com/GTNewHorizons/Opis.git
synced 2026-11-18 03:25:29 +00:00
32 lines
689 B
Java
32 lines
689 B
Java
package mcp.mobius.opis.swing.widgets;
|
|
|
|
import java.util.ArrayList;
|
|
|
|
import javax.swing.JTable;
|
|
|
|
import mcp.mobius.opis.data.holders.ISerializable;
|
|
import mcp.mobius.opis.data.holders.stats.StatAbstract;
|
|
|
|
public class JTableStats extends JTable {
|
|
|
|
protected ArrayList<ISerializable> statistics;
|
|
|
|
public ArrayList<ISerializable> getStatistics(){
|
|
return this.statistics;
|
|
}
|
|
|
|
public void setStatistics(ArrayList<ISerializable> statistics){
|
|
this.statistics = statistics;
|
|
}
|
|
|
|
/*
|
|
public void setStatistics(ArrayList<ISerializable> statistics){
|
|
this.statistics = new ArrayList<ISerializable>();
|
|
for (Object o : statistics){
|
|
this.statistics.add((StatAbstract)o);
|
|
}
|
|
}
|
|
*/
|
|
|
|
}
|