net.aerith.misao.toolkit.AgentDesktop
Class AgentNewStarSearchInternalFrame.HtmlImageGalleryObserver

java.lang.Object
  |
  +--net.aerith.misao.toolkit.AgentDesktop.AgentNewStarSearchInternalFrame.HtmlImageGalleryObserver
Enclosing class:
AgentNewStarSearchInternalFrame

protected class AgentNewStarSearchInternalFrame.HtmlImageGalleryObserver
extends java.lang.Object
implements OperationObserver

The HtmlImageGalleryObserver is an observer to create HTML image gallery.


Field Summary
protected  OperationObserver parent_observer
          The parent observer.
protected  java.lang.Exception previous_exception
          The exception thrown in the previous operation.
 
Constructor Summary
AgentNewStarSearchInternalFrame.HtmlImageGalleryObserver(OperationObserver parent_observer, java.lang.Exception previous_exception)
          Constructs a HtmlImageGalleryObserver.
 
Method Summary
 void notifyEnd(java.lang.Exception exception)
          Invoked when the operation ends.
 void notifyFailed(java.lang.Object arg)
          Invoked when a task is failed.
 void notifyStart()
          Invoked when the operation starts.
 void notifySucceeded(java.lang.Object arg)
          Invoked when a task is succeeded.
 void notifyWarned(java.lang.Object arg)
          Invoked when a task is warned.
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, registerNatives, toString, wait, wait, wait
 

Field Detail

parent_observer

protected OperationObserver parent_observer
The parent observer.

previous_exception

protected java.lang.Exception previous_exception
The exception thrown in the previous operation.
Constructor Detail

AgentNewStarSearchInternalFrame.HtmlImageGalleryObserver

public AgentNewStarSearchInternalFrame.HtmlImageGalleryObserver(OperationObserver parent_observer,
                                                                java.lang.Exception previous_exception)
Constructs a HtmlImageGalleryObserver.
Method Detail

notifyStart

public void notifyStart()
Invoked when the operation starts.
Specified by:
notifyStart in interface OperationObserver

notifyEnd

public void notifyEnd(java.lang.Exception exception)
Invoked when the operation ends.
Specified by:
notifyEnd in interface OperationObserver
Parameters:
exception - the exception if an error occurs, or null if succeeded.

notifySucceeded

public void notifySucceeded(java.lang.Object arg)
Invoked when a task is succeeded.
Specified by:
notifySucceeded in interface OperationObserver
Parameters:
arg - the argument.

notifyFailed

public void notifyFailed(java.lang.Object arg)
Invoked when a task is failed.
Specified by:
notifyFailed in interface OperationObserver
Parameters:
arg - the argument.

notifyWarned

public void notifyWarned(java.lang.Object arg)
Invoked when a task is warned.
Specified by:
notifyWarned in interface OperationObserver
Parameters:
arg - the argument.