mirror of
https://github.com/AndorsTrailRelease/ATCS.git
synced 2025-10-27 18:44:03 +01:00
reformat all code
This commit is contained in:
@@ -1,19 +1,19 @@
|
||||
package com.gpl.rpg.atcontentstudio.ui;
|
||||
|
||||
import javax.swing.JCheckBox;
|
||||
import javax.swing.*;
|
||||
|
||||
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));
|
||||
}
|
||||
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));
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user