public class ColumnInfo
extends java.lang.Object
Constructor and Description |
---|
ColumnInfo() |
ColumnInfo(java.lang.String key) |
ColumnInfo(java.lang.String key,
boolean active) |
ColumnInfo(java.lang.String key,
boolean active,
int min,
int max,
int pref,
boolean resizable,
boolean required) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getKey() |
int |
getMaxWidth() |
int |
getMinWidth() |
int |
getPreferredWidth() |
boolean |
isActive() |
boolean |
isRequired() |
boolean |
isResizable() |
void |
setActive(boolean active) |
void |
setKey(java.lang.String key) |
void |
setMaxWidth(int maxWidth) |
void |
setMinWidth(int minWidth) |
void |
setPreferredWidth(int preferredWidth) |
void |
setRequired(boolean required) |
void |
setResizable(boolean resizable) |
java.lang.String |
toString() |
public ColumnInfo()
public ColumnInfo(java.lang.String key)
public ColumnInfo(java.lang.String key, boolean active)
public ColumnInfo(java.lang.String key, boolean active, int min, int max, int pref, boolean resizable, boolean required)
public java.lang.String toString()
toString
in class java.lang.Object
public boolean isActive()
public java.lang.String getKey()
public void setActive(boolean active)
active
- the active to setpublic void setKey(java.lang.String key)
key
- the key to setpublic boolean isResizable()
public int getMinWidth()
public int getMaxWidth()
public int getPreferredWidth()
public void setResizable(boolean resizable)
resizable
- the resizable to setpublic void setMinWidth(int minWidth)
minWidth
- the minWidth to setpublic void setMaxWidth(int maxWidth)
maxWidth
- the maxWidth to setpublic void setPreferredWidth(int preferredWidth)
preferredWidth
- the preferredWidth to setpublic boolean isRequired()
public void setRequired(boolean required)
required
- the required to set