com.levigo.util.swing.infobar
Interface MessageWidget

All Superinterfaces:
MessageConsumer
All Known Implementing Classes:
RollingMessagePanel

public interface MessageWidget
extends MessageConsumer


Nested Class Summary
 
Nested classes/interfaces inherited from interface com.levigo.util.swing.infobar.MessageConsumer
MessageConsumer.Message
 
Method Summary
 void clearHistory()
          Clear the history of messages presented by this message widget.
 int getHistoryDepth()
          Returns the maximum number of messages the message widget presents.
 int getHistorySize()
          Return the number of messages currently being presented by this message widget.
 void setHistoryDepth(int count)
          Sets the maximum number of messages the message widget presents.
 
Methods inherited from interface com.levigo.util.swing.infobar.MessageConsumer
handleMessage
 

Method Detail

setHistoryDepth

void setHistoryDepth(int count)
Sets the maximum number of messages the message widget presents. If the number of messages is greater than the given number, the oldest message will be discarded.

Parameters:
count - an integer specifying the maximum number of messages to display

getHistoryDepth

int getHistoryDepth()
Returns the maximum number of messages the message widget presents.

Returns:
an integer specifying the maximum number of messages displayed in this widget

clearHistory

void clearHistory()
Clear the history of messages presented by this message widget.


getHistorySize

int getHistorySize()
Return the number of messages currently being presented by this message widget.



Copyright © 1995-2020 levigo holding gmbh. All Rights Reserved.