public class SampleData extends AbstractChangeable
It is used by calling update() when a panel is displayed, and then responding to the state of the sample data by listening for changes.
Created by carl.gould on 3/31/2015.
changeEvent, listenerList
Constructor and Description |
---|
SampleData(ReportingResourceWorkspace workspace,
long resourceId,
ReportResource report) |
Modifier and Type | Method and Description |
---|---|
void |
forceUpdate()
Used by the ReportingResourceEditor to force updating when the report path changes.
|
java.util.List<java.lang.String> |
getErrors()
Returns a list of any errors incurred during the collection of Data for a report.
|
SampleDataSchema |
getLoadedSampleData() |
boolean |
isLoading() |
void |
update()
Checks to see whether or not the sample data which was previously loaded (if any) is up-to-date.
|
addChangeListener, fireStateChanged, getChangeListeners, removeChangeListener
public SampleData(ReportingResourceWorkspace workspace, long resourceId, ReportResource report)
public java.util.List<java.lang.String> getErrors()
public boolean isLoading()
public SampleDataSchema getLoadedSampleData()
public void update()
public void forceUpdate()