Class Parameter
- java.lang.Object
-
- net.sf.gridarta.textedit.textarea.tokenmarker.Parameter
-
public class Parameter extends java.lang.ObjectDescribes a parameter.
-
-
Constructor Summary
Constructors Constructor Description Parameter(java.lang.String name, byte id, ParameterType parameterType)Creates a new instance.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description bytegetId()Returns the token id used to highlight the parameter name.java.lang.StringgetName()Returns the parameter name.ParameterTypegetParameterType()Returns the parameter type for the value of this parameter.
-
-
-
Constructor Detail
-
Parameter
public Parameter(java.lang.String name, byte id, ParameterType parameterType)Creates a new instance.- Parameters:
name- the parameter nameid- the token id used to highlight the parameter nameparameterType- the parameter type for the value of this parameter
-
-
Method Detail
-
getName
public java.lang.String getName()
Returns the parameter name.- Returns:
- the parameter name
-
getId
public byte getId()
Returns the token id used to highlight the parameter name.- Returns:
- the token id
-
getParameterType
public ParameterType getParameterType()
Returns the parameter type for the value of this parameter.- Returns:
- the parameter type
-
-