org.pushingpixels.substance.internal.utils
Class SubstanceWidgetManager

java.lang.Object
  extended by org.pushingpixels.substance.internal.utils.SubstanceWidgetManager

public class SubstanceWidgetManager
extends java.lang.Object


Method Summary
static SubstanceWidgetManager getInstance()
           
 boolean isAllowed(javax.swing.JRootPane rootPane, SubstanceConstants.SubstanceWidgetType widget)
           
 boolean isAllowedAnywhere(SubstanceConstants.SubstanceWidgetType widget)
           
 void register(javax.swing.JRootPane rootPane, boolean isAllowed, SubstanceConstants.SubstanceWidgetType... substanceWidgets)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getInstance

public static SubstanceWidgetManager getInstance()

register

public void register(javax.swing.JRootPane rootPane,
                     boolean isAllowed,
                     SubstanceConstants.SubstanceWidgetType... substanceWidgets)

isAllowed

public boolean isAllowed(javax.swing.JRootPane rootPane,
                         SubstanceConstants.SubstanceWidgetType widget)

isAllowedAnywhere

public boolean isAllowedAnywhere(SubstanceConstants.SubstanceWidgetType widget)