Interface ILcdParameter<T>

Type Parameters:
T - The type of the value provided by the parameter
All Superinterfaces:
ILcdExpression<T>

public interface ILcdParameter<T> extends ILcdExpression<T>
This interface describes an expression whose result can vary at any time without changing the expression.

You must never implement this interface yourself. You must always construct one using TLcdExpressionFactory.parameter(java.lang.String, T).

Components that use this expression (or this expression nested in other expressions) are automatically notified when the value is changed.

In particular for layers and painters, it is not necessary to fire style change events.

Since:
2012.1
  • Method Summary

    Modifier and Type
    Method
    Description
    Returns the current value of this parameter.
    void
    setValue(T aValue)
    Sets the current value of this parameter.
  • Method Details

    • setValue

      void setValue(T aValue)
      Sets the current value of this parameter.
      Parameters:
      aValue - the new parameter value
    • getValue

      T getValue()
      Returns the current value of this parameter.
      Returns:
      the current parameter value