|
Components |
|
| |||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
com.sas.servlet.tbeans.tableview.BaseHeader
public abstract class BaseHeader
A template to use for column and row headers for a TableView.
Constructor Summary | |
---|---|
BaseHeader()
Constructs a header with a null TableView. |
|
BaseHeader(BaseTableView table)
Constructs a header which is initialized with a TableView. |
Method Summary | |
---|---|
abstract TableCellRenderer |
createDefaultRenderer()
Returns an instance of the default renderer to be used as the header renderer. |
TableCellRenderer |
getDefaultRenderer()
Returns the default renderer to be used as the header renderer. |
java.util.Locale |
getLocale()
Gets the locale. |
BaseTableView |
getTable()
Returns the TableView associated with this header. |
void |
setDefaultRenderer(TableCellRenderer defaultRenderer)
Sets the default renderer to be used as the header renderer. |
void |
setLocale(java.util.Locale loc)
Sets the locale. |
void |
setTable(BaseTableView table)
Sets the TableView associated with this header. |
Constructor Detail |
---|
public BaseHeader()
public BaseHeader(BaseTableView table)
table
- the new TableViewMethod Detail |
---|
public void setTable(BaseTableView table)
table
- the new TableViewpublic BaseTableView getTable()
public void setDefaultRenderer(TableCellRenderer defaultRenderer)
defaultRenderer
- the default rendererpublic TableCellRenderer getDefaultRenderer()
public abstract TableCellRenderer createDefaultRenderer()
public void setLocale(java.util.Locale loc)
loc
- an instance of java.util.Localepublic java.util.Locale getLocale()
|
Components |
|
| |||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |