net.sf.nachocalendar.table
Class JTableCustomizer
java.lang.Object
net.sf.nachocalendar.table.JTableCustomizer
public final class JTableCustomizer
extends java.lang.Object
static void | setDefaultEditor(JTable table) - Sets the default editor/renderer for Date objets to provided JTable.
|
static void | setDefaultEditor(JTable table, DateFormat format) - Sets the default editor/renderer for Date objets to provided JTable.
|
static void | setEditorForRow(JTable table, int row) - Sets the editor/renderer for Date objects to provided JTable, for the specified column.
|
static void | setEditorForRow(JTable table, int row, DateFormat format) - Sets the editor/renderer for Date objects to provided JTable, for the specified column.
|
setDefaultEditor
public static void setDefaultEditor(JTable table)
Sets the default editor/renderer for Date objets to provided JTable.
setDefaultEditor
public static void setDefaultEditor(JTable table,
DateFormat format)
Sets the default editor/renderer for Date objets to provided JTable.
table
- JTable to set upformat
- Format to use
setEditorForRow
public static void setEditorForRow(JTable table,
int row)
Sets the editor/renderer for Date objects to provided JTable, for the specified column.
table
- JTable to set uprow
- Column to apply
setEditorForRow
public static void setEditorForRow(JTable table,
int row,
DateFormat format)
Sets the editor/renderer for Date objects to provided JTable, for the specified column.
table
- JTable to set uprow
- Column to applyformat
- Format to use