de.uni_paderborn.fujaba.messages
Class MessageView

java.lang.Object
  extended byde.uni_paderborn.fujaba.messages.MessageView

public class MessageView
extends java.lang.Object

Version:
$Revision: 1.2.2.2 $ $Date: 2005/12/20 13:25:21 $
Author:
christian.schneider@uni-kassel.de

Field Summary
static int COLUMN_CATEGORY
          No comment provided by developer, please add a comment to improve documentation.
static int COLUMN_ICON
          No comment provided by developer, please add a comment to improve documentation.
static int COLUMN_PACKAGE
          No comment provided by developer, please add a comment to improve documentation.
static int COLUMN_TEXT
          No comment provided by developer, please add a comment to improve documentation.
static int COLUMN_TIME
          No comment provided by developer, please add a comment to improve documentation.
static int MAX_PREFERRED_WIDTH
          No comment provided by developer, please add a comment to improve documentation.
 
Constructor Summary
MessageView(java.lang.String title)
          Constructor for class MessageView
 
Method Summary
 boolean addToMessageListeners(MessageListener value)
          Access method for a To N-association.
 boolean addToMessages(Message value)
          Access method for a To N-association.
 void deleteMessages(java.lang.String messageClass)
          No comment provided by developer, please add a comment to improve documentation.
 javax.swing.JComponent getComponent()
          getter for field component
 Message getFromMessages(int index)
          Get the fromMessages attribute of the MessageView object
 java.lang.String getTitle()
          Get the title attribute of the MessageView object
 boolean hasInMessages(Message value)
          No comment provided by developer, please add a comment to improve documentation.
 java.util.Iterator iteratorOfMessages()
          No comment provided by developer, please add a comment to improve documentation.
 java.util.Iterator iteratorOfSelectedMessages()
          No comment provided by developer, please add a comment to improve documentation.
 void removeAllFromMessages()
          No comment provided by developer, please add a comment to improve documentation.
 boolean removeFromMessageListeners(MessageListener value)
          removes a messagelistener from the list of messagelisteners
 boolean removeFromMessages(Message value)
          No comment provided by developer, please add a comment to improve documentation.
 int sizeOfMessages()
          No comment provided by developer, please add a comment to improve documentation.
 void sortBy(int column, boolean ascending)
          Sort messages by a specified column.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

COLUMN_ICON

public static final int COLUMN_ICON
No comment provided by developer, please add a comment to improve documentation.

See Also:
Constant Field Values

COLUMN_TEXT

public static final int COLUMN_TEXT
No comment provided by developer, please add a comment to improve documentation.

See Also:
Constant Field Values

COLUMN_PACKAGE

public static final int COLUMN_PACKAGE
No comment provided by developer, please add a comment to improve documentation.

See Also:
Constant Field Values

COLUMN_CATEGORY

public static final int COLUMN_CATEGORY
No comment provided by developer, please add a comment to improve documentation.

See Also:
Constant Field Values

COLUMN_TIME

public static final int COLUMN_TIME
No comment provided by developer, please add a comment to improve documentation.

See Also:
Constant Field Values

MAX_PREFERRED_WIDTH

public static final int MAX_PREFERRED_WIDTH
No comment provided by developer, please add a comment to improve documentation.

See Also:
Constant Field Values
Constructor Detail

MessageView

public MessageView(java.lang.String title)
Constructor for class MessageView

Parameters:
title - No description provided
Method Detail

getTitle

public java.lang.String getTitle()
Get the title attribute of the MessageView object

Returns:
The title value

addToMessages

public boolean addToMessages(Message value)
Access method for a To N-association.

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

addToMessageListeners

public boolean addToMessageListeners(MessageListener value)
Access method for a To N-association.

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

removeFromMessageListeners

public boolean removeFromMessageListeners(MessageListener value)
removes a messagelistener from the list of messagelisteners

Parameters:
value - messagelistener to remove
Returns:
true if removed

hasInMessages

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

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

iteratorOfMessages

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

Returns:
No description provided

removeAllFromMessages

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


deleteMessages

public void deleteMessages(java.lang.String messageClass)
No comment provided by developer, please add a comment to improve documentation.

Parameters:
messageClass - No description provided

removeFromMessages

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

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

sizeOfMessages

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

Returns:
No description provided

getFromMessages

public Message getFromMessages(int index)
Get the fromMessages attribute of the MessageView object

Parameters:
index - No description provided
Returns:
The fromMessages value

iteratorOfSelectedMessages

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

Returns:
No description provided

sortBy

public void sortBy(int column,
                   boolean ascending)
Sort messages by a specified column.

Parameters:
column - which column to be sorted by
ascending - true to sort in ascending order, false for descending

getComponent

public javax.swing.JComponent getComponent()
getter for field component

Returns:
current value of field component