| org.netbeans.modules.vmd.api.codegen.Parameter
All known Subclasses: org.netbeans.modules.vmd.midp.codegen.MidpParameter,
Parameter | public interface Parameter (Code) | | Represents a parameter of a setter.
author: David Kaspar |
generateParameterCode | void generateParameterCode(DesignComponent component, MultiGuardedSection section, int index)(Code) | | Generates a parameter code for the parameter.
Parameters: component - the related component Parameters: section - where the code has to be generated Parameters: index - index of the array which is used in related setter; -1 when there is no array in related setter used |
getCount | int getCount(DesignComponent component)(Code) | | Returns how many times the setter has to be used to set all values
Parameters: component - the related component the usage count; -1 if non-array setter |
getParameterName | String getParameterName()(Code) | | Returns a name of the parameter.
the parameter name |
getParameterPriority | int getParameterPriority()(Code) | | Returns a priority of the parameter while a duplicate parameters are found.
The highest priority parameter overrides other parameters with the same name.
the parameter priority; 0 is normal |
isRequiredToBeSet | boolean isRequiredToBeSet(DesignComponent component)(Code) | | Returns whether the parameter is required to be set.
Parameters: component - the related component true, if required to be set |
isRequiredToBeSet | boolean isRequiredToBeSet(DesignComponent component, int index)(Code) | | Returns whether the parameter required to be set for a particular index.
Parameters: component - the related component Parameters: index - the setter index true, if required to be set |
|
|