public interface BasicResourceInitializer
BasicResourceInitializer
is a helper class used by a BasicButtonModel
to
lazily initialize resources.Modifier and Type | Method and Description |
---|---|
void |
ensureBorder(BasicButtonModel model,
String key)
Ensures that the
BorderModifier with the specified key is installed
and ready to be accessed through BasicButtonModel.getBorder(String) ; |
void ensureBorder(BasicButtonModel model, String key)
BorderModifier
with the specified key is installed
and ready to be accessed through BasicButtonModel.getBorder(String)
;model
- the caller of this initializerkey
- the key of the border to check