|
JIDE 3.5.15 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object javax.swing.table.AbstractTableModel com.jidesoft.rss.FeedItemTableModel
public class FeedItemTableModel
The table model that contains the feed items of a channel.
Field Summary |
---|
Fields inherited from class javax.swing.table.AbstractTableModel |
---|
listenerList |
Constructor Summary | |
---|---|
FeedItemTableModel()
|
|
FeedItemTableModel(int maxItems)
|
|
FeedItemTableModel(int maxItems,
PersistenceManagerIF persistenceManager)
|
Method Summary | |
---|---|
void |
addItemAt(ItemIF aValue,
int rowIndex)
|
void |
closeCurrentChannel()
|
Class<?> |
getCellClassAt(int row,
int column)
Gets the type at cell (row, column). |
CellStyle |
getCellStyleAt(int rowIndex,
int columnIndex)
Gets the cell style at the specified row and column. |
ChannelIF |
getChannel()
|
Class<?> |
getColumnClass(int column)
|
int |
getColumnCount()
|
String |
getColumnName(int column)
|
ConverterContext |
getConverterContextAt(int row,
int column)
Gets the converter context at cell (row, column). |
EditorContext |
getEditorContextAt(int row,
int column)
Gets the editor context at cell (row, column). |
ItemIF |
getItemAt(int row)
|
long |
getItemID(int row)
|
int |
getItemIndex(ItemIF item)
|
int |
getMaxItems()
|
PersistenceManagerIF |
getPersistenceManager()
|
ResourceBundle |
getResourceBundle()
|
protected String |
getResourceString(String key)
|
int |
getRowCount()
|
Object |
getValueAt(int row,
int column)
|
boolean |
isCellEditable(int rowIndex,
int columnIndex)
|
boolean |
isCellStyleOn()
Checks if the style is on. |
void |
openChannel(ChannelIF channel)
|
void |
removeAll()
|
void |
setAllItemReadStatus(boolean unread)
|
void |
setChannel(ChannelIF channel)
|
void |
setItemReadStatus(int row,
boolean unread)
|
void |
setMaxItems(int maxItems)
|
void |
setPersistenceManager(PersistenceManagerIF persistenceManager)
|
void |
toggleItemReadStatus(int row)
|
Methods inherited from class javax.swing.table.AbstractTableModel |
---|
addTableModelListener, findColumn, fireTableCellUpdated, fireTableChanged, fireTableDataChanged, fireTableRowsDeleted, fireTableRowsInserted, fireTableRowsUpdated, fireTableStructureChanged, getListeners, getTableModelListeners, removeTableModelListener, setValueAt |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface javax.swing.table.TableModel |
---|
addTableModelListener, removeTableModelListener, setValueAt |
Constructor Detail |
---|
public FeedItemTableModel()
public FeedItemTableModel(int maxItems)
public FeedItemTableModel(int maxItems, PersistenceManagerIF persistenceManager)
Method Detail |
---|
public int getColumnCount()
getColumnCount
in interface TableModel
public int getRowCount()
getRowCount
in interface TableModel
public boolean isCellEditable(int rowIndex, int columnIndex)
isCellEditable
in interface TableModel
isCellEditable
in class AbstractTableModel
public ConverterContext getConverterContextAt(int row, int column)
ContextSensitiveTableModel
getConverterContextAt
in interface ContextSensitiveTableModel
row
- the row indexcolumn
- the column index
public EditorContext getEditorContextAt(int row, int column)
ContextSensitiveTableModel
getEditorContextAt
in interface ContextSensitiveTableModel
row
- the row indexcolumn
- the column index
public long getItemID(int row)
public ItemIF getItemAt(int row)
public int getItemIndex(ItemIF item)
public Class<?> getCellClassAt(int row, int column)
ContextSensitiveTableModel
getCellClassAt
in interface ContextSensitiveTableModel
row
- the row indexcolumn
- the column index
public Class<?> getColumnClass(int column)
getColumnClass
in interface TableModel
getColumnClass
in class AbstractTableModel
public Object getValueAt(int row, int column)
getValueAt
in interface TableModel
public void addItemAt(ItemIF aValue, int rowIndex)
public void setItemReadStatus(int row, boolean unread)
public void toggleItemReadStatus(int row)
public void setAllItemReadStatus(boolean unread)
public void removeAll()
public CellStyle getCellStyleAt(int rowIndex, int columnIndex)
StyleModel
getCellStyleAt
in interface StyleModel
rowIndex
- the row indexcolumnIndex
- the column index
public boolean isCellStyleOn()
StyleModel
isCellStyleOn
in interface StyleModel
public void openChannel(ChannelIF channel)
public void closeCurrentChannel()
protected String getResourceString(String key)
public ResourceBundle getResourceBundle()
public String getColumnName(int column)
getColumnName
in interface TableModel
getColumnName
in class AbstractTableModel
public PersistenceManagerIF getPersistenceManager()
public void setPersistenceManager(PersistenceManagerIF persistenceManager)
public int getMaxItems()
public void setMaxItems(int maxItems)
public ChannelIF getChannel()
public void setChannel(ChannelIF channel)
|
JIDE 3.5.15 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |