org.jplot2d.notice
Class AbstractNotifier
- java.lang.Object
-
- org.jplot2d.notice.AbstractNotifier
-
- All Implemented Interfaces:
- Notifier
- Direct Known Subclasses:
- DefaultNotifier, DialogNotifier, LoggingNotifier
public abstract class AbstractNotifier extends java.lang.Object implements Notifier
This abstract class receive and process plot waning messages.
-
-
Constructor Summary
Constructors Constructor and Description AbstractNotifier()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method and Description voidnotify(Notice notice)Application call this method to add notices.voidprocessNotices(NoticeType type)Application call this method to show the notices.voidreset()Discard all exist noticesabstract voidshowNotices(NoticeType type)To be overridden to show notices
-
-
-
Method Detail
-
notify
public final void notify(Notice notice)
Application call this method to add notices. This method can called multiple times.
-
processNotices
public final void processNotices(NoticeType type)
Application call this method to show the notices. All notices in the queue are treated as the given notice type.- Specified by:
processNoticesin interfaceNotifier
-
showNotices
public abstract void showNotices(NoticeType type)
To be overridden to show notices
-
-
DMelt 3.0 © DataMelt by jWork.ORG