com.alee.managers.glasspane
Class GlassPaneManager
java.lang.Object
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
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 |
WEB_GLASS_PANE_KEY
public static final java.lang.String WEB_GLASS_PANE_KEY
- See Also:
- Constant Field Values
GlassPaneManager
public GlassPaneManager()
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