Package com.jbstrap.ui.interfaces
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 Summary
Modifier and TypeMethodDescriptionGets the component’s DataDescriptor instance.setDataDescriptor
(DataDescriptor dataDescriptor) Sets the component’s data descriptor.
-
Method Details
-
setDataDescriptor
Sets the component’s data descriptor.- Parameters:
dataDescriptor
- The DataDescriptor instance set as the component’s DataDescriptor
Ifnull
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
-