01: /*
02: * GWT-Ext Widget Library
03: * Copyright(c) 2007-2008, GWT-Ext.
04: * licensing@gwt-ext.com
05: *
06: * http://www.gwt-ext.com/license
07: */
08: package com.gwtext.client.widgets;
09:
10: /**
11: * Interface that is used by {@link com.gwtext.client.widgets.Container#setDefaults(DefaultsHandler)} . Users
12: * can pass in thier own implmentation of this interface where thier settings will apply to each component that is
13: * adde to the container.
14: */
15: public interface DefaultsHandler {
16:
17: /**
18: * Apply default settings to components added to the container.
19: *
20: * @param component the component being added
21: */
22: void apply(Component component);
23: }
|