Class DataNodeTableConfiguration<T extends DataNode>

java.lang.Object
org.tentackle.fx.table.DefaultTableConfiguration<T>
org.tentackle.maven.plugin.wizard.fx.DataNodeTableConfiguration<T>
Type Parameters:
T - the node type
All Implemented Interfaces:
org.tentackle.fx.table.TableConfiguration<T>

public class DataNodeTableConfiguration<T extends DataNode> extends org.tentackle.fx.table.DefaultTableConfiguration<T>
Table configuration extended by a Predicate.
  • Nested Class Summary

    Nested classes/interfaces inherited from interface org.tentackle.fx.table.TableConfiguration

    org.tentackle.fx.table.TableConfiguration.BINDING, org.tentackle.fx.table.TableConfiguration.EDITMODE
  • Constructor Summary

    Constructors
    Constructor
    Description
    Creates a configuration.
  • Method Summary

    Modifier and Type
    Method
    Description
    Gets the predicate.
    void
    setPredicate(Predicate<T> predicate)
    Sets the predicate.
    Usually "node -> ((DataDiff) node).isDifferent()".

    Methods inherited from class org.tentackle.fx.table.DefaultTableConfiguration

    addColumn, addColumnConfiguration, configure, configure, createTableColumnConfiguration, createTreeItem, getBaseBundleName, getBinder, getBindingType, getColumnConfiguration, getColumnConfiguration, getColumnConfiguration, getColumnConfigurations, getEditMode, getName, getObjectClass, getTableCellType, getTemplate, isSortingIncluded, isViewSizeIncluded, loadPreferences, loadPreferences, removeColumn, savePreferences, savePreferences, setBaseBundleName, setBindingType, setEditMode, setSortingIncluded, setViewSizeIncluded, toString

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
  • Constructor Details

    • DataNodeTableConfiguration

      public DataNodeTableConfiguration(Class<T> objectClass, String name)
      Creates a configuration.
      Parameters:
      objectClass - the object class
      name - the table's name, null if basename from effective class of template
  • Method Details

    • getPredicate

      public Predicate<T> getPredicate()
      Gets the predicate.
      Returns:
      null if none
    • setPredicate

      public void setPredicate(Predicate<T> predicate)
      Sets the predicate.
      Usually "node -> ((DataDiff) node).isDifferent()".
      Parameters:
      predicate - the predicate, null if none