Initial commit

This commit is contained in:
Zukero
2015-02-23 22:43:19 +01:00
commit 59d8ad1cdb
212 changed files with 29432 additions and 0 deletions

View File

@@ -0,0 +1,19 @@
package com.gpl.rpg.atcontentstudio.ui;
import javax.swing.JCheckBox;
public class IntegerBasedCheckBox extends JCheckBox {
private static final long serialVersionUID = 3941646360487399554L;
static final Integer one = 1;
public Integer getIntegerValue() {
return isSelected() ? one : null;
}
public void setIntegerValue(Integer val) {
setSelected(val != null && val.equals(one));
}
}