Name | Description | |
---|---|---|
ModuleSpec Constructor | Constructs a 'ModuleSpec' object, initializing all the components and tiles to the 'SPEC_DEF' spec val type, for the specified number of components and tiles. |
The following tables list the members exposed by ModuleSpec.
Name | Description | |
---|---|---|
ModuleSpec Constructor | Constructs a 'ModuleSpec' object, initializing all the components and tiles to the 'SPEC_DEF' spec val type, for the specified number of components and tiles. |
Name | Description | |
---|---|---|
SPEC_COMP_DEF | The identifier for "component default" specification | |
SPEC_DEF | The identifier for default specification | |
SPEC_TILE_COMP | The identifier for a "tile-component" specification | |
SPEC_TILE_DEF | The identifier for "tile default" specification | |
SPEC_TYPE_COMP | The identifier for a specification module that applies only to components | |
SPEC_TYPE_TILE | The identifier for a specification module that applies only to tiles | |
SPEC_TYPE_TILE_COMP | The identifier for a specification module that applies both to tiles and components |
Name | Description | |
---|---|---|
Clone | ||
getCompDef | Gets default value of the specified component. If no specification have been entered for this component, returns default value. | |
getDefault | Gets default value for this module. | |
getSpecValType | Return the spec type of the given tile-component. | |
getTileCompVal | Gets value of specified tile-component. This method calls getSpec but has a public access. | |
getTileDef | Gets default value of the specified tile. If no specification has been entered, it returns the default value. | |
isCompSpecified | Whether or not specifications have been entered for the given component. | |
isTileCompSpecified | Whether or not a tile-component specification has been defined | |
isTileSpecified | Whether or not specifications have been entered for the given tile. | |
parseIdx | ||
rotate90 | Rotate the ModuleSpec instance by 90 degrees (this modifies only tile and tile-component specifications). | |
setCompDef | Sets default value for specified component and specValType tag if allowed by its priority. | |
setDefault | Sets default value for this module | |
setTileCompVal | Sets value for specified tile-component. | |
setTileDef | Sets default value for specified tile and specValType tag if allowed by its priority. |