public abstract class AbstractTableViewColumn extends Object implements TableViewColumn, Serializable
TableViewColumn interface.| 限定符和类型 | 字段和说明 |
|---|---|
protected EventListenerList |
mListenerList
List of listeners
|
| 构造器和说明 |
|---|
AbstractTableViewColumn() |
| 限定符和类型 | 方法和说明 |
|---|---|
Class |
getColumnClass()
Returns
Object.class regardless of columnIndex. |
String |
getColumnName(int pColumn)
Returns a default name for the column using spreadsheet conventions:
A, B, C, ...
|
boolean |
isCellEditable(Object pRowObject)
Returns false.
|
boolean |
isSearchable()
The searchable status.
|
boolean |
isSortable()
The sortable status.
|
void |
setValueAt(Object pValue,
int pRowIndex,
int pColumnIndex)
This empty implementation is provided so users don't have to implement
this method if their data model is not editable.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetComparator, getName, getValue, isDefaultVisible, setValueprotected EventListenerList mListenerList
public String getColumnName(int pColumn)
column cannot be found,
returns an empty string.pColumn - the column being queriedcolumnpublic Class getColumnClass()
Object.class regardless of columnIndex.getColumnClass 在接口中 TableViewColumnpublic boolean isCellEditable(Object pRowObject)
isCellEditable 在接口中 TableViewColumnpRowObject - the row being queried#setValueAtpublic void setValueAt(Object pValue, int pRowIndex, int pColumnIndex)
pValue - value to assign to cellpRowIndex - row of cellpColumnIndex - column of cellpublic boolean isSortable()
isSortable 在接口中 TableViewColumnpublic boolean isSearchable()
isSearchable 在接口中 TableViewColumnCopyright © 2023 onecode. All rights reserved.