public interface DataDisplayer extends Cloneable
| Modifier and Type | Method and Description |
|---|---|
void |
copyFrom(DataDisplayer source)
Copies the configuration of one displayer into this.
|
DataDisplayerRenderer |
getDataDisplayerRenderer()
The library used to render the displayer.
|
DataDisplayerType |
getDataDisplayerType()
The type of this displayer.
|
DataProvider |
getDataProvider()
The data provider which feeds this displayer with data.
|
void |
setDataDisplayerRenderer(DataDisplayerRenderer library) |
void |
setDataDisplayerType(DataDisplayerType type) |
void |
setDataProvider(DataProvider provider) |
void |
setDefaultSettings()
Restore the default settings.
|
void |
validate(DataProvider provider)
Check if the current displayer properties are present in the given data provider.
|
DataDisplayerType getDataDisplayerType()
void setDataDisplayerType(DataDisplayerType type)
DataProvider getDataProvider()
IllegalArgumentException - If a property in data displayer is not present in the given data provider.void setDataProvider(DataProvider provider) throws DataDisplayerInvalidConfiguration
DataDisplayerRenderer getDataDisplayerRenderer()
void setDataDisplayerRenderer(DataDisplayerRenderer library)
void setDefaultSettings()
void copyFrom(DataDisplayer source) throws DataDisplayerInvalidConfiguration
source - The displayer with the configuration to copy.IllegalArgumentException - If a property in data displayer is not present in the given data provider.DataDisplayerInvalidConfigurationvoid validate(DataProvider provider) throws DataDisplayerInvalidConfiguration
provider - The data provider.IllegalArgumentException - If a property in data displayer is not present in the given data provider.DataDisplayerInvalidConfigurationCopyright © 2012–2015 JBoss by Red Hat. All rights reserved.