public class HeadlessDataManager extends DataManagerImpl
DataManagerImpl.MyDataContext
CLIENT_PROPERTY_DATA_PROVIDER
Constructor and Description |
---|
HeadlessDataManager() |
Modifier and Type | Method and Description |
---|---|
DataContext |
getDataContext() |
DataContext |
getDataContext(java.awt.Component component) |
DataContext |
getDataContext(java.awt.Component component,
int x,
int y) |
Promise<DataContext> |
getDataContextFromFocusAsync() |
void |
setTestDataProvider(DataProvider provider) |
void |
setTestDataProvider(DataProvider provider,
Disposable parentDisposable) |
getDataContextTest, getDataFromProvider, getDataProviderEx, getDataRule, loadFromDataContext, saveInDataContext, validateEditor
getDataContextFromFocus, getDataProvider, getInstance, getInstanceIfCreated, registerDataProvider, removeDataProvider
public void setTestDataProvider(DataProvider provider)
public void setTestDataProvider(DataProvider provider, Disposable parentDisposable)
public DataContext getDataContext()
getDataContext
in class DataManagerImpl
DataContext
constructed by the currently focused componentpublic Promise<DataContext> getDataContextFromFocusAsync()
getDataContextFromFocusAsync
in class DataManagerImpl
DataContext
constructed by the currently focused component.public DataContext getDataContext(java.awt.Component component)
getDataContext
in class DataManagerImpl
DataContext
constructed by the specified component
public DataContext getDataContext(java.awt.Component component, int x, int y)
getDataContext
in class DataManagerImpl
DataContext
constructed be the specified component
and the point specified by x
and y
coordinate inside the
component.