Represents a component feature that has a name, description, and parameters.
Definition at line 417 of file ComponentProcessor.java.
◆ ParameterizedFeature()
com.google.appinventor.components.scripts.ComponentProcessor.ParameterizedFeature.ParameterizedFeature |
( |
String |
name, |
|
|
String |
description, |
|
|
String |
longDescription, |
|
|
String |
feature, |
|
|
boolean |
userVisible, |
|
|
boolean |
deprecated |
|
) |
| |
|
protected |
◆ addParameter() [1/2]
void com.google.appinventor.components.scripts.ComponentProcessor.ParameterizedFeature.addParameter |
( |
String |
name, |
|
|
String |
type |
|
) |
| |
|
protected |
◆ addParameter() [2/2]
void com.google.appinventor.components.scripts.ComponentProcessor.ParameterizedFeature.addParameter |
( |
String |
name, |
|
|
String |
type, |
|
|
boolean |
color |
|
) |
| |
|
protected |
◆ toParameterString()
String com.google.appinventor.components.scripts.ComponentProcessor.ParameterizedFeature.toParameterString |
( |
| ) |
|
|
protected |
Generates a comma-separated string corresponding to the parameter list, using Yail types (e.g., "number n, text t1").
- Returns
- a string representation of the parameter list
- Exceptions
-
RuntimeException | if the parameter type cannot be mapped to any of the legal return values |
Definition at line 443 of file ComponentProcessor.java.
◆ parameters
final List<Parameter> com.google.appinventor.components.scripts.ComponentProcessor.ParameterizedFeature.parameters |
|
protected |
The documentation for this class was generated from the following file:
- C:/Users/Ulli/appinventor-sources/appinventor/components/src/com/google/appinventor/components/scripts/ComponentProcessor.java