|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.retek.commons.gui.table.ColumnProperties
COLUMN PROPERTIES
Constructor Summary | |
ColumnProperties()
|
Method Summary | |
java.awt.Color |
getBackground()
Retrieves the background color property of the column. |
javax.swing.ButtonGroup |
getButtonGroup()
Retrieves the button group property of the column. |
java.lang.String |
getColumnCommand()
Retrieves the action command property of the column. |
java.lang.String |
getColumnIcon()
Retrieve the filename of the icon assigned to the column properties. |
Mask |
getColumnMask()
Retrieves the mask of the column properties. |
int |
getColumnType()
Retrieves the column type of the column. |
FormatValidator |
getColumnValidator()
Retrieves the mask of the column properties. |
int |
getColumnWidth()
Retrieves the width of the column properties. |
java.lang.String |
getComponentName()
Retrieves the component name of the column properties. |
int |
getComponentType()
Retrieves the display type of the column properties. |
java.awt.Font |
getFont()
Retrieves the font property of the column. |
java.awt.Color |
getForeground()
Retrieves the foreground color property of the column. |
int |
getJustification()
Retrieves the justification of the column. |
void |
setBackground(java.awt.Color background)
Assigns background color property to the column. |
void |
setButtonGroup(javax.swing.ButtonGroup group)
Assigns the button group property of the column. |
void |
setColumnCommand(java.lang.String command)
Assigns a column command to the column properties. |
void |
setColumnIcon(java.lang.String filename)
Assigns an icon in the column properties by filename. |
void |
setColumnMask(Mask mask)
Assigns a mask in the column properties. |
void |
setColumnType(int columnType)
Assigns the column type to the column. |
void |
setColumnValidator(FormatValidator validator)
Assigns a validator in the column properties. |
void |
setColumnWidth(int width)
Assigns the width in the column properties. |
void |
setComponentName(java.lang.String name)
Assigns the component name for the components displayed in the column. |
void |
setComponentType(int type)
Assigns the display type in the column properties. |
void |
setFont(java.awt.Font font)
Assigns font property to the column. |
void |
setForeground(java.awt.Color foreground)
Assigns foreground color property to the column. |
void |
setJustification(int justification)
Assigns the justification to the column. |
java.lang.String |
toString()
Returns string describing this column properties. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public ColumnProperties()
Method Detail |
public void setComponentName(java.lang.String name)
name
- The name to assign to the components within the column.public java.lang.String getComponentName()
public void setComponentType(int type)
type
- The display type to assign to the column properties.
java.lang.IllegalArgumentException
- Thrown if the display type is outside of the valid type range.public int getComponentType()
public void setColumnType(int columnType)
columnType
- The column type to assign to the column (TEXT, NUMBER, DATE, or BOOLEAN).public int getColumnType()
public void setColumnWidth(int width)
width
- The width to assign to the column properties.public int getColumnWidth()
public void setColumnMask(Mask mask)
mask
- The mask to assign to the column properties.public Mask getColumnMask()
public void setColumnValidator(FormatValidator validator)
validator
- The validator to assign to the column properties.public FormatValidator getColumnValidator()
public void setJustification(int justification)
justification
- The justification to assign to the column (LEFT, CENTER, or RIGHT).public int getJustification()
public void setColumnIcon(java.lang.String filename)
filename
- The filename of an icon in the local system classpath.public java.lang.String getColumnIcon()
public void setForeground(java.awt.Color foreground)
foreground
- The foreground color.public java.awt.Color getForeground()
public void setBackground(java.awt.Color background)
background
- The background color.public java.awt.Color getBackground()
public void setFont(java.awt.Font font)
font
- The font to assign to the column.public java.awt.Font getFont()
public void setButtonGroup(javax.swing.ButtonGroup group)
public javax.swing.ButtonGroup getButtonGroup()
public void setColumnCommand(java.lang.String command)
command
- The command to assign to the column properties.public java.lang.String getColumnCommand()
public java.lang.String toString()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |