|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectde.tkuhn.swing.table.ColumnState
public class ColumnState
JavaBean used to store the state of a TableColumn
in the
ColumnStateTableColumnModel
You should not have to use this class.
ColumnStateTableColumnModel
,
Serialized FormConstructor Summary | |
---|---|
ColumnState()
Creates a new ColumnState |
|
ColumnState(java.lang.Object colId)
Create a new ColumnState for given colId |
Method Summary | |
---|---|
java.lang.Object |
getColId()
Getter for property colId. |
int |
getIndex()
Getter for property index. |
int |
getMaxWidth()
Getter for property maxWidth. |
int |
getMinWidth()
Getter for property minWidth. |
int |
getPrefWidth()
Getter for property prefWidth. |
boolean |
isHidden()
Getter for property hidden. |
void |
resetState(javax.swing.table.TableColumn col)
Reset the column's widthes to the ones in this state |
void |
saveState(javax.swing.table.TableColumn col)
Save the widthes of the column in this state |
void |
setColId(java.lang.Object colId)
Setter for property colId. |
void |
setHidden(boolean hidden)
Setter for property hidden. |
void |
setIndex(int index)
Setter for property index. |
void |
setMaxWidth(int maxWidth)
Setter for property maxWidth. |
void |
setMinWidth(int minWidth)
Setter for property minWidth. |
void |
setPrefWidth(int prefWidth)
Setter for property prefWidth. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ColumnState(java.lang.Object colId)
colId
- the column identifierpublic ColumnState()
Method Detail |
---|
public void saveState(javax.swing.table.TableColumn col)
col
- the columnpublic void resetState(javax.swing.table.TableColumn col)
col
- the columnpublic int getMaxWidth()
public void setMaxWidth(int maxWidth)
maxWidth
- New value of property maxWidth.public int getMinWidth()
public void setMinWidth(int minWidth)
minWidth
- New value of property minWidth.public int getPrefWidth()
public void setPrefWidth(int prefWidth)
prefWidth
- New value of property prefWidth.public int getIndex()
public void setIndex(int index)
index
- New value of property index.public boolean isHidden()
public void setHidden(boolean hidden)
hidden
- New value of property hidden.public java.lang.Object getColId()
public void setColId(java.lang.Object colId)
colId
- New value of property colId.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |