bibliothek.gui.dock.themes.basic.action
Interface BasicResourceInitializer

All Known Implementing Classes:
AbstractBasicHandler, BasicButtonHandler, BasicDropDownButtonHandler, BasicHandler, BasicMenuHandler, BasicPanelPopupHandler, BasicSelectableHandler, BasicSelectableHandler.Check, BasicSelectableHandler.Radio

public interface BasicResourceInitializer

A BasicResourceInitializer is a helper class used by a BasicButtonModel to lazily initialize resources.

Author:
Benjamin Sigg

Method Summary
 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);
 

Method Detail

ensureBorder

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);

Parameters:
model - the caller of this initializer
key - the key of the border to check