de.enough.polish.browser.rss
Class DefaultRssItemCommandListener

java.lang.Object
  extended by de.enough.polish.browser.rss.DefaultRssItemCommandListener
All Implemented Interfaces:
ItemCommandListener, javax.microedition.lcdui.CommandListener

public class DefaultRssItemCommandListener
extends java.lang.Object
implements javax.microedition.lcdui.CommandListener, ItemCommandListener

Displays an alert showing the description of the currently selected RSS item.

Copyright Enough Software 2007 - 2008

 history
        May 7, 2007 - rob creation
 

Author:
Robert Virkus, j2mepolish@enough.de

Constructor Summary
DefaultRssItemCommandListener()
           
 
Method Summary
 void commandAction(javax.microedition.lcdui.Command command, javax.microedition.lcdui.Displayable displayable)
           
 void commandAction(javax.microedition.lcdui.Command command, Item item)
          Called by the system to indicate that a command has been invoked on a particular item.
 void setCommandListener(javax.microedition.lcdui.CommandListener commandListener)
           
 void setRssBrowser(RssBrowser rssBrowser)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultRssItemCommandListener

public DefaultRssItemCommandListener()
Method Detail

setRssBrowser

public void setRssBrowser(RssBrowser rssBrowser)

setCommandListener

public void setCommandListener(javax.microedition.lcdui.CommandListener commandListener)

commandAction

public void commandAction(javax.microedition.lcdui.Command command,
                          javax.microedition.lcdui.Displayable displayable)
Specified by:
commandAction in interface javax.microedition.lcdui.CommandListener

commandAction

public void commandAction(javax.microedition.lcdui.Command command,
                          Item item)
Description copied from interface: ItemCommandListener
Called by the system to indicate that a command has been invoked on a particular item.

Specified by:
commandAction in interface ItemCommandListener
Parameters:
command - the Command that was invoked
item - the Item on which the command was invoked