|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.xnap.plugin.news.DefaultNewsItem
public class DefaultNewsItem
Implements the basic requirements for a news item. News items can be displayed in the news pane and can be provided by any plugin.
Constructor Summary | |
---|---|
DefaultNewsItem()
|
Method Summary | |
---|---|
boolean |
equals(java.lang.Object obj)
|
javax.swing.Action[] |
getActions()
Returns the actions that can performed by the news item. |
java.lang.String |
getAuthor()
|
java.util.Date |
getDate()
Returns the publishing date of this news item. |
java.lang.String |
getDescription()
Returns the description of this news item. |
java.lang.String |
getLink()
Returns the link of this news item. |
java.lang.String |
getTitle()
Returns the title of this news item. |
int |
hashCode()
|
void |
setActions(javax.swing.Action[] actions)
Sets the actions. |
void |
setAuthor(java.lang.String author)
Sets the author of this news item. |
void |
setDate(java.util.Date date)
Sets the publishing date of this news item. |
void |
setDescription(java.lang.String description)
Sets the description of this news item. |
void |
setLink(java.lang.String link)
Sets the link of this news item. |
void |
setTitle(java.lang.String title)
Sets the title of this news item. |
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public DefaultNewsItem()
Method Detail |
---|
public void setTitle(java.lang.String title)
public java.lang.String getTitle()
getTitle
in interface NewsItem
public void setDescription(java.lang.String description)
public java.lang.String getDescription()
getDescription
in interface NewsItem
public void setLink(java.lang.String link)
public java.lang.String getLink()
getLink
in interface NewsItem
public void setAuthor(java.lang.String author)
public java.lang.String getAuthor()
getAuthor
in interface NewsItem
public void setDate(java.util.Date date)
public java.util.Date getDate()
getDate
in interface NewsItem
public void setActions(javax.swing.Action[] actions)
public javax.swing.Action[] getActions()
getActions
in interface NewsItem
public java.lang.String toString()
toString
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
Object.equals(java.lang.Object)
public int hashCode()
hashCode
in class java.lang.Object
Object.hashCode()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |