org.springframework.richclient.widget
Class ScreenSimulationWidget

Show UML class diagram
java.lang.Object
  extended by org.springframework.richclient.application.support.ApplicationServicesAccessor
      extended by org.springframework.richclient.widget.AbstractWidget
          extended by org.springframework.richclient.widget.ScreenSimulationWidget
All Implemented Interfaces:
Widget

public class ScreenSimulationWidget
extends AbstractWidget

A widget that enables to mimic a screen. This is useful for application still under development, but that want to show how a certain screen will look like. The view consists of a image tab showing the screen look-a-like and/or a HTML tab consisting of an explanation on what this screen will do.


Field Summary
 
Fields inherited from class org.springframework.richclient.widget.AbstractWidget
showing
 
Fields inherited from class org.springframework.richclient.application.support.ApplicationServicesAccessor
logger
 
Fields inherited from interface org.springframework.richclient.widget.Widget
EMPTY_WIDGET
 
Constructor Summary
ScreenSimulationWidget(Resource explanationPath)
           
ScreenSimulationWidget(Resource explanationPath, Resource imagePath)
           
ScreenSimulationWidget(Resource explanationPath, Resource imagePath, JPopupMenu popup)
           
 
Method Summary
 JComponent getComponent()
           
 
Methods inherited from class org.springframework.richclient.widget.AbstractWidget
canClose, getCommands, isShowing, onAboutToHide, onAboutToShow
 
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

ScreenSimulationWidget

public ScreenSimulationWidget(Resource explanationPath)

ScreenSimulationWidget

public ScreenSimulationWidget(Resource explanationPath,
                              Resource imagePath)

ScreenSimulationWidget

public ScreenSimulationWidget(Resource explanationPath,
                              Resource imagePath,
                              JPopupMenu popup)
Method Detail

getComponent

public JComponent getComponent()
Returns:
A not null graphical component built using the parameters held in the widget instance.


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