|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.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 NewsItempublic void setDescription(java.lang.String description)
public java.lang.String getDescription()
getDescription in interface NewsItempublic void setLink(java.lang.String link)
public java.lang.String getLink()
getLink in interface NewsItempublic void setAuthor(java.lang.String author)
public java.lang.String getAuthor()
getAuthor in interface NewsItempublic void setDate(java.util.Date date)
public java.util.Date getDate()
getDate in interface NewsItempublic void setActions(javax.swing.Action[] actions)
public javax.swing.Action[] getActions()
getActions in interface NewsItempublic java.lang.String toString()
toString in class java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals in class java.lang.ObjectObject.equals(java.lang.Object)public int hashCode()
hashCode in class java.lang.ObjectObject.hashCode()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||