Class VirtualPropertyState


  • public class VirtualPropertyState
    extends PropertyState
    This Class implements a virtual property state
    • Constructor Detail

      • VirtualPropertyState

        public VirtualPropertyState​(PropertyId id)
        Creates a new virtual property state
        Parameters:
        id -
    • Method Detail

      • getValueProvider

        public VirtualValueProvider getValueProvider()
        Returns the virtual value provider, if registered.
        Returns:
        the virtual value provider
      • setValueProvider

        public void setValueProvider​(VirtualValueProvider valueProvider)
        Sets a virtual value provider for this property
        Parameters:
        valueProvider -
      • getValues

        public InternalValue[] getValues()
        Returns the value of this state evt. by using the registered virtual value provider.
        Overrides:
        getValues in class PropertyState
        Returns:
        the values