org.springframework.richclient.control
Class ExceptionDetailsPane

java.lang.Object
  extended by org.springframework.richclient.application.support.ApplicationServicesAccessor
      extended by org.springframework.richclient.factory.AbstractControlFactory
          extended by org.springframework.richclient.control.ExceptionDetailsPane
All Implemented Interfaces:
ControlFactory

public class ExceptionDetailsPane
extends AbstractControlFactory

A simple pane which can display an exception stack trace.

Author:
Keith Donald, Oliver Hutchison

Field Summary
 
Fields inherited from class org.springframework.richclient.application.support.ApplicationServicesAccessor
logger
 
Constructor Summary
ExceptionDetailsPane()
           
 
Method Summary
protected  JComponent createControl()
          Subclasses must override this method to create a new instance of the control that this factory produces.
 void setException(Throwable t)
           
 
Methods inherited from class org.springframework.richclient.factory.AbstractControlFactory
createControlIfNecessary, getControl, isControlCreated, isSingleton, setSingleton
 
Methods inherited from class org.springframework.richclient.application.support.ApplicationServicesAccessor
getActiveWindow, getApplication, getApplicationContext, getApplicationName, getApplicationServices, getCommandConfigurer, getComponentFactory, getConversionService, getIconSource, getImageSource, getMessage, getMessage, getMessage, getMessage, getMessages, getMessageSource, getObjectConfigurer, getService
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ExceptionDetailsPane

public ExceptionDetailsPane()
Method Detail

setException

public void setException(Throwable t)

createControl

protected JComponent createControl()
Description copied from class: AbstractControlFactory
Subclasses must override this method to create a new instance of the control that this factory produces.

Specified by:
createControl in class AbstractControlFactory
Returns:
The newly created control, never null.
See Also:
AbstractControlFactory.createControl()


Copyright © 2004-2008 The Spring Framework. All Rights Reserved.