|
JIDE 3.5.15 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object java.util.EventObject com.jidesoft.rss.FeedEvent
public class FeedEvent
Event for FeedReader
.
Field Summary | |
---|---|
static int |
CHANNEL_ADDED
A channel is added. |
static int |
CHANNEL_CHANGED
A channel's title is changed. |
static int |
CHANNEL_CLEARED
A channel's history is cleared. |
static int |
CHANNEL_MOVED
A channel is moved to another group. |
static int |
CHANNEL_RELOADED
A channel is reloaded. |
static int |
CHANNEL_REMOVED
A channel is removed. |
static int |
FEED_EVENT_FIRST
The first event id. |
static int |
GROUP_ADDED
A group is added. |
static int |
GROUP_CHANGED
A group's title is changed. |
static int |
GROUP_REMOVED
A group is removed. |
static int |
ITEM_CHANGED
An item's read status is changed. |
static int |
PREFERENCE_CHANGED
The user preference is updated. |
static int |
STATUS_CHANGED
Status is updated. |
Fields inherited from class java.util.EventObject |
---|
source |
Constructor Summary | |
---|---|
FeedEvent(Object source,
FeedPreference feedPreference)
Creates a FeedEvent to notify FeedPreference is changed. |
|
FeedEvent(Object source,
int id)
|
|
FeedEvent(Object source,
int id,
ChannelGroupIF channelGroup)
Creates a FeedEvent about a change to the group. |
|
FeedEvent(Object source,
int id,
ChannelIF channel)
Creates a FeedEvent about a change to the Channel. |
|
FeedEvent(Object source,
int id,
ChannelIF channel,
ChannelGroupIF channelGroup)
Creates a FeedEvent about a channel is moved to another channel. |
|
FeedEvent(Object source,
int id,
ItemIF item)
Creates a FeedEvent about a change to the item. |
|
FeedEvent(Object source,
String eventMsg)
Creates a FeedEvent to notify a status change. |
Method Summary | |
---|---|
ChannelIF |
getChannel()
|
ChannelGroupIF |
getChannelGroup()
|
FeedPreference |
getFeedPreference()
|
int |
getID()
|
ItemIF |
getItem()
|
String |
getMessage()
|
String |
paramString()
|
Methods inherited from class java.util.EventObject |
---|
getSource, toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final int FEED_EVENT_FIRST
public static final int CHANNEL_ADDED
getChannel()
will tell you the channel.
public static final int CHANNEL_CHANGED
getChannel()
will tell you the channel.
public static final int CHANNEL_REMOVED
getChannel()
will tell you the channel.
public static final int CHANNEL_MOVED
getChannel()
will tell you the channel.
public static final int CHANNEL_CLEARED
getChannel()
will tell you the channel.
public static final int CHANNEL_RELOADED
getChannel()
will tell you the channel.
public static final int GROUP_ADDED
getChannelGroup()
will tell you the group.
public static final int GROUP_CHANGED
getChannelGroup()
will tell you the group.
public static final int GROUP_REMOVED
getChannelGroup()
will tell you the group.
public static final int ITEM_CHANGED
getItem()
will tell you the item.
public static final int PREFERENCE_CHANGED
getFeedPreference()
will tell you the current preference.
public static final int STATUS_CHANGED
getMessage()
will tell you the message. You can listen to this event to get all
status updates so that you can display the message on the status bar if you have one.
Constructor Detail |
---|
public FeedEvent(Object source, int id)
public FeedEvent(Object source, int id, ChannelIF channel)
source
- the source.id
- the event idchannel
- the channel that is added/removed/updated etc.public FeedEvent(Object source, int id, ChannelIF channel, ChannelGroupIF channelGroup)
source
- the source.id
- the event idchannel
- the channel that is moved.channelGroup
- the group where the channel is moved to.public FeedEvent(Object source, int id, ChannelGroupIF channelGroup)
source
- the source.id
- the event idchannelGroup
- the group that is added/removed/updated etc.public FeedEvent(Object source, String eventMsg)
source
- the source.eventMsg
- the message.public FeedEvent(Object source, int id, ItemIF item)
source
- the source.id
- the event iditem
- the item that is changed.public FeedEvent(Object source, FeedPreference feedPreference)
source
- the source.feedPreference
- the new feed preference.Method Detail |
---|
public String getMessage()
public ChannelIF getChannel()
public ChannelGroupIF getChannelGroup()
public int getID()
public ItemIF getItem()
public FeedPreference getFeedPreference()
public String paramString()
|
JIDE 3.5.15 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |