|
IBM Branch Transformation Toolkit Javadoc | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.ibm.dse.gui.ColumnFormatter
The ColumnFormatter class is used by the SpTable to encapsulate the column properties.
Constructor Summary | |
---|---|
ColumnFormatter(java.lang.String col,
java.lang.String colName,
Converter fmt,
boolean man,
boolean edit)
This constructor creates a ColumnFormatter object. |
|
ColumnFormatter(java.lang.String col,
java.lang.String colName,
Converter fmt,
boolean man,
boolean edit,
boolean auto,
int size)
This constructor creates a ColumnFormatter object. |
Method Summary | |
---|---|
ColumnFormatter |
copy()
Returns a copy of this object. |
boolean |
getAutomaticSize()
Gets the Automatic size property value. |
java.lang.String |
getColumn()
Gets the column property (java.lang.String) value. |
java.lang.String |
getColumnName()
Gets the columnName property (java.lang.String) value. |
Converter |
getConverter()
Gets the converter property (com.ibm.dse.gui.Converter) value. |
boolean |
getEditable()
Gets the editable property (boolean) value. |
boolean |
getMandatory()
Gets the mandatory property (boolean) value. |
int |
getSize()
Gets the size property (int) value. |
void |
setAutomaticSize(boolean automaticSize)
Sets the automatic size property (boolean) value. |
void |
setColumn(java.lang.String column)
Sets the column property (java.lang.String) value. |
void |
setColumnName(java.lang.String columnName)
Sets the columnName property (java.lang.String) value. |
void |
setConverter(Converter converter)
Sets the converter property (com.ibm.dse.gui.Converter) value. |
void |
setEditable(boolean editable)
Sets the editable property (boolean) value. |
void |
setMandatory(boolean mandatory)
Sets the mandatory property (boolean) value. |
void |
setSize(int size)
Sets the size property (int) value. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public ColumnFormatter(java.lang.String col, java.lang.String colName, Converter fmt, boolean man, boolean edit)
col
- java.lang.String, the internal column namecolName
- java.lang.String, the public column namefmt
- com.ibm.dse.gui.Converter, the Converter associated to the columnman
- boolean, if the column is mandatory or notedit
- boolean, if column is editable or notpublic ColumnFormatter(java.lang.String col, java.lang.String colName, Converter fmt, boolean man, boolean edit, boolean auto, int size)
col
- java.lang.String, the internal column namecolName
- java.lang.String, the public column namefmt
- com.ibm.dse.gui.Converter, the Converter associated to the columnman
- boolean, if the column is mandatory or notedit
- boolean, if the column is editable or notauto
- boolean, if the column is resizable or notsize
- int,the column percent inside the tableMethod Detail |
public ColumnFormatter copy()
public boolean getAutomaticSize()
setAutomaticSize(boolean)
public java.lang.String getColumn()
setColumn(java.lang.String)
public java.lang.String getColumnName()
setColumnName(java.lang.String)
public Converter getConverter()
setConverter(com.ibm.dse.gui.Converter)
public boolean getEditable()
setEditable(boolean)
public boolean getMandatory()
setMandatory(boolean)
public int getSize()
setSize(int)
public void setAutomaticSize(boolean automaticSize)
automaticSize
- boolean, the new value for the propertygetAutomaticSize()
public void setColumn(java.lang.String column)
column
- String, the new value for the propertygetColumn()
public void setColumnName(java.lang.String columnName)
columnName
- String, the new value for the propertygetColumnName()
public void setConverter(Converter converter)
converter
- Converter, the new value for the propertygetConverter()
public void setEditable(boolean editable)
editable
- boolean, the new value for the propertygetEditable()
public void setMandatory(boolean mandatory)
mandatory
- boolean, the new value for the propertygetMandatory()
public void setSize(int size)
size
- int, the new value for the propertygetSize()
|
IBM Branch Transformation Toolkit Javadoc | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |