Class AbstractSource
- java.lang.Object
-
- adams.core.logging.LoggingObject
-
- adams.core.logging.CustomLoggingLevelObject
-
- adams.gui.tools.spreadsheetprocessor.AbstractWidget
-
- adams.gui.tools.spreadsheetprocessor.sources.AbstractSource
-
- All Implemented Interfaces:
LoggingLevelHandler
,LoggingSupporter
,SizeOfHandler
,Serializable
,Comparable<AbstractWidget>
- Direct Known Subclasses:
ClipboardSource
,DatabaseSource
,FileBrowserSource
,FileSource
public abstract class AbstractSource extends AbstractWidget
Ancestor for sources.- Author:
- FracPete (fracpete at waikato dot ac dot nz)
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class adams.gui.tools.spreadsheetprocessor.AbstractWidget
m_Owner
-
Fields inherited from class adams.core.logging.LoggingObject
m_Logger, m_LoggingIsEnabled, m_LoggingLevel
-
-
Constructor Summary
Constructors Constructor Description AbstractSource()
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description abstract SpreadSheet
getData()
Returns the currently available dataabstract boolean
hasData()
Checks whether data is available.-
Methods inherited from class adams.gui.tools.spreadsheetprocessor.AbstractWidget
assign, compareTo, deserialize, equals, getName, getOwner, getWidget, notifyOwner, serialize, setOwner, toString, update
-
Methods inherited from class adams.core.logging.CustomLoggingLevelObject
setLoggingLevel
-
Methods inherited from class adams.core.logging.LoggingObject
configureLogger, getLogger, getLoggingLevel, initializeLogging, isLoggingEnabled, sizeOf
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface adams.core.logging.LoggingLevelHandler
getLoggingLevel
-
-
-
-
Method Detail
-
hasData
public abstract boolean hasData()
Checks whether data is available.- Returns:
- true if available
-
getData
public abstract SpreadSheet getData()
Returns the currently available data- Returns:
- the data, null if none available
-
-