рефакторинг
This commit is contained in:
@@ -1,13 +1,13 @@
|
||||
package Common.UI.Tables;
|
||||
import Common.Utils.Utils;
|
||||
import Common.Constants.Constants;
|
||||
public class ColumnInfo {
|
||||
private String Name = "?";
|
||||
private boolean visible = true;
|
||||
private boolean editable = false;
|
||||
private TableRenderers renderer = TableRenderers.RendererDefault;
|
||||
private TableEditors editor = TableEditors.EditorDefault;
|
||||
private int maxWidth = Utils.Nan;
|
||||
private int minWidth = Utils.Nan;
|
||||
private int maxWidth = Constants.Nan;
|
||||
private int minWidth = Constants.Nan;
|
||||
//private int lastWidth = Utils.Nan;
|
||||
// public void setLastWidth(int width_in) {
|
||||
// lastWidth = width_in;
|
||||
@@ -72,7 +72,7 @@ public class ColumnInfo {
|
||||
this.maxWidth = maxWidth_in;
|
||||
}
|
||||
public boolean hasMaxWidth() {
|
||||
return maxWidth != Utils.Nan;
|
||||
return maxWidth != Constants.Nan;
|
||||
}
|
||||
//-
|
||||
public int getMinWidth() {
|
||||
@@ -82,7 +82,7 @@ public class ColumnInfo {
|
||||
this.minWidth = minWidth_in;
|
||||
}
|
||||
public boolean hasMinWidth() {
|
||||
return minWidth != Utils.Nan;
|
||||
return minWidth != Constants.Nan;
|
||||
}
|
||||
|
||||
/*
|
||||
|
||||
Reference in New Issue
Block a user