|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectnet.sourceforge.java.feednread.frontend.components.newstable.NewsFeedTable.SelectionHandler
Event handler that attends to set the read status of a news depending on user selections.
| Field Summary | |
private NewsFeedEntry |
lastTrackedEntry
The NewsFeedEntry last tracked by the end-user
|
private Runnable |
statusChangedRunnable
The Runnable used to notify registered listeners of status changes |
| Constructor Summary | |
NewsFeedTable.SelectionHandler()
Creates a new SelectionHandler |
|
| Method Summary | |
void |
selectionChanged(SelectionChangedEvent event)
Handles the SelectionChangedEvent being triggered if a
NewsFeedEntry has been selected. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
private Runnable statusChangedRunnable
The Runnable used to notify registered listeners of status changes
private NewsFeedEntry lastTrackedEntry
The NewsFeedEntry last tracked by the end-user
| Constructor Detail |
public NewsFeedTable.SelectionHandler()
Creates a new SelectionHandler.
| Method Detail |
public void selectionChanged(SelectionChangedEvent event)
Handles the SelectionChangedEvent being triggered if a
NewsFeedEntry has been selected. The selected
NewsFeedEntry gets marked as read. The default status
is unselected which means unread.
selectionChanged in interface ISelectionChangedListenerevent - the SelectionChangeEvent triggered
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||