Fixed incorrect icon in table tree

git-svn-id: http://svn.3splooges.com/romraider-arch/trunk@348 d2e2e1cd-ba16-0410-be16-b7c4453c7c2d
This commit is contained in:
Jared Gould 2006-11-14 01:14:19 +00:00
parent 1951445a29
commit b0d3f42656
1 changed files with 5 additions and 0 deletions

View File

@ -16,6 +16,7 @@ public class TableSwitch extends Table {
public TableSwitch(Settings settings) { public TableSwitch(Settings settings) {
super(settings); super(settings);
storageType = 1; storageType = 1;
type = TABLE_SWITCH;
removeAll(); removeAll();
setLayout(new BorderLayout()); setLayout(new BorderLayout());
} }
@ -48,6 +49,10 @@ public class TableSwitch extends Table {
add(checkbox, BorderLayout.NORTH); add(checkbox, BorderLayout.NORTH);
} }
public int getType() {
return TABLE_SWITCH;
}
public void setDescription(String description) { public void setDescription(String description) {
super.setDescription(description); super.setDescription(description);