public class SubstanceWidgetManager extends Object
Modifier and Type | Method | Description |
---|---|---|
static SubstanceWidgetManager |
getInstance() |
|
boolean |
isAllowed(JRootPane rootPane,
SubstanceConstants.SubstanceWidgetType widget) |
|
boolean |
isAllowedAnywhere(SubstanceConstants.SubstanceWidgetType widget) |
|
void |
register(JRootPane rootPane,
boolean isAllowed,
SubstanceConstants.SubstanceWidgetType... substanceWidgets) |
public static SubstanceWidgetManager getInstance()
public void register(JRootPane rootPane, boolean isAllowed, SubstanceConstants.SubstanceWidgetType... substanceWidgets)
public boolean isAllowed(JRootPane rootPane, SubstanceConstants.SubstanceWidgetType widget)
public boolean isAllowedAnywhere(SubstanceConstants.SubstanceWidgetType widget)