de.uni_paderborn.fujaba.messages
Class Message

java.lang.Object
  extended byde.uni_paderborn.fujaba.messages.Message
Direct Known Subclasses:
MessageWithThrowable, SearchResult

public class Message
extends java.lang.Object

Version:
$Revision: 1.3.2.2 $ $Date: 2006/02/09 15:30:36 $
Author:
christian.schneider@uni-kassel.de

Constructor Summary
Message()
          Constructor for class Message
Message(java.lang.String text)
          Constructor for class Message
 
Method Summary
 boolean addToContext(FElement value)
          Access method for a To N-association.
 boolean addToCustomActions(javax.swing.Action value)
          Access method for a To N-association.
 javax.swing.Action getDefaultAction()
           
 javax.swing.Icon getIcon()
          Get the icon attribute of the Message object
protected  java.net.URL getIconURL()
          Get the iconURL attribute of the Message object
 java.lang.String getMessageCategory()
          getter for field messageClass
 MessageView getMessageView()
           
 java.lang.String getPath()
          Query fully qualified package, class or method, etc. to provide userfriendly order/hierarchy.
 java.lang.String getText()
          getter for field text
 long getTime()
          getter for field time
 boolean hasInContext(FElement value)
          No comment provided by developer, please add a comment to improve documentation.
 java.util.Iterator iteratorOfActions()
          Query actions than can be performed on this message.
 java.util.Iterator iteratorOfContext()
          No comment provided by developer, please add a comment to improve documentation.
 java.util.Iterator iteratorOfCustomActions()
          No comment provided by developer, please add a comment to improve documentation.
 void removeAllFromContext()
          No comment provided by developer, please add a comment to improve documentation.
 boolean removeFromContext(FElement value)
          No comment provided by developer, please add a comment to improve documentation.
 void removeYou()
          remove this message
 void setMessageCategory(java.lang.String value)
          setter for field messageClass
 void setText(java.lang.String text)
          setter for field text
 void showContext()
          Show the context of this message via gotoElement.
 int sizeOfContext()
          No comment provided by developer, please add a comment to improve documentation.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Message

public Message()
Constructor for class Message


Message

public Message(java.lang.String text)
Constructor for class Message

Parameters:
text - No description provided
Method Detail

getMessageCategory

public java.lang.String getMessageCategory()
getter for field messageClass

Returns:
current value of field messageClass

setMessageCategory

public void setMessageCategory(java.lang.String value)
setter for field messageClass

Parameters:
value - new value

getText

public java.lang.String getText()
getter for field text

Returns:
current value of field text

setText

public void setText(java.lang.String text)
setter for field text

Parameters:
text - new value of field text

addToContext

public boolean addToContext(FElement value)
Access method for a To N-association.

Parameters:
value - The object added.
Returns:
No description provided

hasInContext

public boolean hasInContext(FElement value)
No comment provided by developer, please add a comment to improve documentation.

Parameters:
value - No description provided
Returns:
No description provided

iteratorOfContext

public java.util.Iterator iteratorOfContext()
No comment provided by developer, please add a comment to improve documentation.

Returns:
No description provided

removeAllFromContext

public void removeAllFromContext()
No comment provided by developer, please add a comment to improve documentation.


removeFromContext

public boolean removeFromContext(FElement value)
No comment provided by developer, please add a comment to improve documentation.

Parameters:
value - No description provided
Returns:
No description provided

sizeOfContext

public int sizeOfContext()
No comment provided by developer, please add a comment to improve documentation.

Returns:
No description provided

getIcon

public javax.swing.Icon getIcon()
Get the icon attribute of the Message object

Returns:
The icon value

getIconURL

protected java.net.URL getIconURL()
Get the iconURL attribute of the Message object

Returns:
The iconURL value

removeYou

public void removeYou()
remove this message


getMessageView

public MessageView getMessageView()
Returns:
current value of the field messageView

getPath

public java.lang.String getPath()
Query fully qualified package, class or method, etc. to provide userfriendly order/hierarchy.

Returns:
fully qualified name of a class/package/method this message belongs to

getTime

public long getTime()
getter for field time

Returns:
current value of field time

showContext

public void showContext()
Show the context of this message via gotoElement.


iteratorOfActions

public java.util.Iterator iteratorOfActions()
Query actions than can be performed on this message.

Returns:
iterator through actions than can be performed on this message.

addToCustomActions

public boolean addToCustomActions(javax.swing.Action value)
Access method for a To N-association.

Parameters:
value - The object added.
Returns:
No description provided

iteratorOfCustomActions

public java.util.Iterator iteratorOfCustomActions()
No comment provided by developer, please add a comment to improve documentation.

Returns:
No description provided

getDefaultAction

public javax.swing.Action getDefaultAction()
Returns:
the default action, taken when the message is clicked