setControls((LayerControlButtonPanel)obj);
((LayerControlButtonPanel) obj).setLayersPanel(this);
    public void setProperties(String prefix, Properties props) {        super.setProperties(prefix, props);        prefix = PropUtils.getScopedPropertyPrefix(prefix);        String controlString =             props.getProperty(prefix + ControlButtonsProperty);        if (controlString != NO_CONTROLS) {            if (controlString == null) {                createControlButtons();            } else {                Object obj = ComponentFactory.create(                    controlString, prefix + ControlButtonsProperty, props);                                if (obj instanceof LayerControlButtonPanel) {                    setControls((LayerControlButtonPanel)obj);                }            }        }        bufferedBoundary = LayerUtils.booleanFromProperties(props, prefix + BufferedBoundaryProperty, bufferedBoundary);        showStatus = LayerUtils.booleanFromProperties(props, prefix + ShowStatusProperty, showStatus);    }