public class ActiveBagContentKit extends Object
Activity
objects to interact with
AutoContentProvider
objects. Activities that
use ActiveBagContent
objects, like puzzles or associations,
use ActiveBagContentKits to pass all its containers (up to three) in a single argument
when calling the generateContent
method of AutoContentProvider
.Modifier and Type | Class and Description |
---|---|
static interface |
ActiveBagContentKit.Compatible
Activities should implement this interface when its contents are formed basically
by
ActiveBagContent objects, in order to let
AutoContentProvider objects to check whether
they are compatible with them. |
Modifier and Type | Field and Description |
---|---|
ActiveBagContent[] |
content |
int |
nCols |
int |
nRows |
boolean |
useIds |
Constructor and Description |
---|
ActiveBagContentKit(int nRows,
int nCols,
ActiveBagContent[] content,
boolean useIds)
Creates a new instance of ActiveBagContentKit
|
public int nRows
public int nCols
public ActiveBagContent[] content
public boolean useIds
public ActiveBagContentKit(int nRows, int nCols, ActiveBagContent[] content, boolean useIds)
Copyright © 2004-15 Francesc Busquets (fbusquets@xtec.cat) & Departament d'Educació de la Generalitat de Catalunya (info@xtec.cat)
Licensed under the terms of the GNU General Public License.