com.alee.managers.glasspane
Class GlassPaneManager

java.lang.Object
  extended by com.alee.managers.glasspane.GlassPaneManager

public class GlassPaneManager
extends java.lang.Object

This manager provides an instance of WebGlassPane for specified JRootPane instance.

Author:
Mikle Garin
See Also:
WebGlassPane

Field Summary
static java.lang.String WEB_GLASS_PANE_KEY
           
 
Constructor Summary
GlassPaneManager()
           
 
Method Summary
static WebGlassPane getGlassPane(java.awt.Component component)
          Returns registered WebGlassPane for JRootPane under the specified component.
static WebGlassPane getGlassPane(javax.swing.JRootPane rootPane)
          Returns registered WebGlassPane for the specified JRootPane.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

WEB_GLASS_PANE_KEY

public static final java.lang.String WEB_GLASS_PANE_KEY
See Also:
Constant Field Values
Constructor Detail

GlassPaneManager

public GlassPaneManager()
Method Detail

getGlassPane

public static WebGlassPane getGlassPane(java.awt.Component component)
Returns registered WebGlassPane for JRootPane under the specified component. If WebGlassPane is not yet registered for that JRootPane then it will be created. Might return null if no WebGlassPane could be registered for that JRootPane.

Parameters:
component - component to process
Returns:
registered WebGlassPane for JRootPane under the specified component or null if it cannot be registered

getGlassPane

public static WebGlassPane getGlassPane(javax.swing.JRootPane rootPane)
Returns registered WebGlassPane for the specified JRootPane. If WebGlassPane is not yet registered for that JRootPane then it will be created. Might return null if no WebGlassPane could be registered for that JRootPane.

Parameters:
rootPane - JRootPane to process
Returns:
registered WebGlassPane for JRootPane under the specified component or null if it cannot be registered