Class RdcBoxDelegateImpl


  • public class RdcBoxDelegateImpl
    extends java.lang.Object
    Common implementation for choice- and combobox delegates.
    • Constructor Summary

      Constructors 
      Constructor Description
      RdcBoxDelegateImpl​(org.tentackle.fx.FxComponent component, java.util.function.Supplier<javafx.collections.ObservableList> itemSupplier, java.util.function.Supplier<PdoComponentAddon> pdoAddonSupplier)
      Creates the delegate impl.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void prepareSetType​(java.lang.Class<?> type)
      Prepare the component's setType method.
      void prepareSetViewValue()
      Prepare the component's setViewValue method.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • RdcBoxDelegateImpl

        public RdcBoxDelegateImpl​(org.tentackle.fx.FxComponent component,
                                  java.util.function.Supplier<javafx.collections.ObservableList> itemSupplier,
                                  java.util.function.Supplier<PdoComponentAddon> pdoAddonSupplier)
        Creates the delegate impl.
        Parameters:
        component - the component
        itemSupplier - gets the list of items shown by the component
        pdoAddonSupplier - get the PDO addon
    • Method Detail

      • prepareSetType

        public void prepareSetType​(java.lang.Class<?> type)
        Prepare the component's setType method.
        Parameters:
        type - the type
      • prepareSetViewValue

        public void prepareSetViewValue()
        Prepare the component's setViewValue method.