creamtec.webcream.rendering.html
Class DefaultJDesktopPaneRenderer

java.lang.Object
  extended by creamtec.webcream.rendering.html.AbstractHTMLComponentRenderer
      extended by creamtec.webcream.rendering.html.DefaultJDesktopPaneRenderer
All Implemented Interfaces:
ComponentRenderer, HTMLComponentRenderer

public class DefaultJDesktopPaneRenderer
extends AbstractHTMLComponentRenderer


Constructor Summary
DefaultJDesktopPaneRenderer()
           
 
Method Summary
static java.awt.Component getSelectedFrame(javax.swing.JDesktopPane desktopPane)
          JDesktopPane can contain regular components as well as JInternalFrames
 void renderComponent(HTMLPage page, java.lang.Object component)
          Derived classes must override this method to render component into HTML page.
 
Methods inherited from class creamtec.webcream.rendering.html.AbstractHTMLComponentRenderer
renderComponent
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultJDesktopPaneRenderer

public DefaultJDesktopPaneRenderer()
Method Detail

renderComponent

public void renderComponent(HTMLPage page,
                            java.lang.Object component)
                     throws java.lang.Exception
Description copied from class: AbstractHTMLComponentRenderer
Derived classes must override this method to render component into HTML page.

Specified by:
renderComponent in interface HTMLComponentRenderer
Specified by:
renderComponent in class AbstractHTMLComponentRenderer
Parameters:
page - HTMLPage
component - Object
Throws:
java.lang.Exception

getSelectedFrame

public static java.awt.Component getSelectedFrame(javax.swing.JDesktopPane desktopPane)
                                           throws java.lang.Exception
JDesktopPane can contain regular components as well as JInternalFrames

Parameters:
desktopPane - to look in
Returns:
selected component or null if not found
Throws:
java.lang.Exception


Copyright © 2000-2006 CreamTec LLC. All Rights Reserved.