Class PdoObservableListTranslator<T extends org.tentackle.pdo.PersistentDomainObject<T>,​C extends java.util.List<T>>

  • Type Parameters:
    T - the element type
    C - the collection type
    All Implemented Interfaces:
    org.tentackle.fx.ValueTranslator<C,​javafx.collections.ObservableList<T>>

    @ValueTranslatorService(modelClass=java.util.List.class,
                            viewClass=javafx.collections.ObservableList.class)
    public class PdoObservableListTranslator<T extends org.tentackle.pdo.PersistentDomainObject<T>,​C extends java.util.List<T>>
    extends org.tentackle.fx.translate.ObservableListTranslator<T,​C>
    List translator.
    Replaces ObservableListTranslator and adds PDO detection for automatic configuration via GuiProvider for tables.
    Author:
    harald
    • Constructor Summary

      Constructors 
      Constructor Description
      PdoObservableListTranslator​(org.tentackle.fx.FxComponent component)
      Creates a translator for components maintaining a list of objects.
    • Method Summary

      • Methods inherited from class org.tentackle.fx.translate.ObservableListTranslator

        toModelFunction, toViewFunction
      • Methods inherited from class org.tentackle.fx.translate.AbstractValueTranslator

        getComponent, isLenient, setLenient
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • Methods inherited from interface org.tentackle.fx.ValueTranslator

        needsToModelTwice, toModel, toView
    • Constructor Detail

      • PdoObservableListTranslator

        public PdoObservableListTranslator​(org.tentackle.fx.FxComponent component)
        Creates a translator for components maintaining a list of objects.
        Parameters:
        component - the component