Interface BasedOnDataDescriptor<T extends Component<?>>

All Known Implementing Classes:
ActivityStream, Calendar, ComboboxItem, DualListBox, Form, ListGrid, RadioButtonItem, Sparkline, Timeline, Treeview

public interface BasedOnDataDescriptor<T extends Component<?>>

This interface specifies DataDescriptor components

To use this interface, you must implement the setDataDescriptor(DataDescriptor) and getDataDescriptor() methods to set and get the DataDescriptor, respectively.

Since:
4.0
Author:
JBStrap
  • Method Details

    • setDataDescriptor

      T setDataDescriptor(DataDescriptor dataDescriptor)
      Sets the component’s data descriptor.
      Parameters:
      dataDescriptor - The DataDescriptor instance set as the component’s DataDescriptor
      If null is specified, the component will not have a DataDescriptor.
      Returns:
      Component instance
    • getDataDescriptor

      DataDescriptor getDataDescriptor()
      Gets the component’s DataDescriptor instance.
      Returns:
      The component’s DataDescriptor instance or null if there is no DataDescriptor for the component