de.javasoft.plaf.synthetica
Interface SyntheticaLogoRenderer


public interface SyntheticaLogoRenderer

A logo renderer has to implement this interface and return itself. A simple renderer could be a JLabel which implements this interface. For activation put the renderer by the client property "Synthetica.logoRenderer" to a rootPane. If the client property "Synthetica.logoRenderer.respectButtons" is set to TRUE the width used for rendering will be reduced by button sizes. The renderer also respects the menu bar if properly configured. For full support the menu bar of a Synthetica theme has to be non-opaque and the window decoration has to be handled by Synthetica (non-native). That's why a logo renderer is possibly not supported by all Synthetica themes. If the client property "Synthetica.logoRenderer.titlePaneOnly" is set to TRUE only the title pane height will be used for rendering.
If a logo renderer is installed, title painting is disabled. You can enable title painting by setting the client property "Synthetica.paintTitle" to Boolean.TRUE.

Version:
1.00, 24.03.2008

Method Summary
 javax.swing.JComponent getRendererComponent(javax.swing.JRootPane root, boolean windowIsActive)
           
 

Method Detail

getRendererComponent

javax.swing.JComponent getRendererComponent(javax.swing.JRootPane root,
                                            boolean windowIsActive)


Copyright © 2004-2011 Jyloo Software. All Rights Reserved.