add


Description:

public bool add (Component cpt) throws Error

Add a component to the box.

Returns an error if we could not add it (most likely due to component box constraints).

Parameters:

this

An instance of ComponentBox.

Returns:

true on success.