org.springframework.richclient.widget
Class HTMLViewWidget

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.HTMLViewWidget
All Implemented Interfaces:
Widget

public class HTMLViewWidget
extends AbstractWidget

HTMLViewingWidget generates a component to view HTML data

See Also:
setContent(org.springframework.core.io.Resource), setContent(String)

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
HTMLViewWidget()
           
HTMLViewWidget(boolean readOnly)
           
HTMLViewWidget(Resource resource)
           
HTMLViewWidget(Resource resource, boolean readOnly)
           
HTMLViewWidget(String htmlText)
           
HTMLViewWidget(String htmlText, boolean readOnly)
           
 
Method Summary
 JComponent getComponent()
           
 void setContent(Resource resource)
           
 void setContent(String htmlText)
           
 
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

HTMLViewWidget

public HTMLViewWidget()

HTMLViewWidget

public HTMLViewWidget(boolean readOnly)

HTMLViewWidget

public HTMLViewWidget(Resource resource)

HTMLViewWidget

public HTMLViewWidget(Resource resource,
                      boolean readOnly)

HTMLViewWidget

public HTMLViewWidget(String htmlText)

HTMLViewWidget

public HTMLViewWidget(String htmlText,
                      boolean readOnly)
Method Detail

setContent

public void setContent(Resource resource)

setContent

public void setContent(String htmlText)

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.