Class SimpleHTML
- java.lang.Object
-
- adams.core.logging.LoggingObject
-
- adams.core.logging.CustomLoggingLevelObject
-
- adams.core.option.AbstractOptionHandler
-
- adams.gui.core.spreadsheetpreview.AbstractSpreadSheetPreview
-
- adams.gui.core.spreadsheetpreview.SimpleHTML
-
- All Implemented Interfaces:
Destroyable
,GlobalInfoSupporter
,LoggingLevelHandler
,LoggingSupporter
,OptionHandler
,SizeOfHandler
,Serializable
public class SimpleHTML extends AbstractSpreadSheetPreview
Simply displays the specified columns as HTML.- Author:
- FracPete (fracpete at waikato dot ac dot nz)
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
SimpleHTML.SimpleTextPanel
Displays the rows as HTML.-
Nested classes/interfaces inherited from class adams.gui.core.spreadsheetpreview.AbstractSpreadSheetPreview
AbstractSpreadSheetPreview.AbstractSpreadSheetPreviewPanel
-
-
Field Summary
Fields Modifier and Type Field Description protected SpreadSheetColumnRange
m_Columns
the column range to display.protected String
m_MissingValue
the string to use for missing values.-
Fields inherited from class adams.core.option.AbstractOptionHandler
m_OptionManager
-
Fields inherited from class adams.core.logging.LoggingObject
m_Logger, m_LoggingIsEnabled, m_LoggingLevel
-
-
Constructor Summary
Constructors Constructor Description SimpleHTML()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
columnsTipText()
Returns the tip text for this property.void
defineOptions()
Adds options to the internal list of options.AbstractSpreadSheetPreview.AbstractSpreadSheetPreviewPanel
generate()
Generates the preview panel.SpreadSheetColumnRange
getColumns()
Returns the columns to display.String
getMissingValue()
Returns the string to use for missing values.String
globalInfo()
Returns a string describing the object.String
missingValueTipText()
Returns the tip text for this property.void
setColumns(SpreadSheetColumnRange value)
Sets the columns to display.void
setMissingValue(String value)
Sets the string to use for missing values.-
Methods inherited from class adams.core.option.AbstractOptionHandler
cleanUpOptions, destroy, finishInit, getDefaultLoggingLevel, getOptionManager, initialize, loggingLevelTipText, newOptionManager, reset, setLoggingLevel, toCommandLine, toString
-
Methods inherited from class adams.core.logging.LoggingObject
configureLogger, getLogger, getLoggingLevel, initializeLogging, isLoggingEnabled, sizeOf
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface adams.core.logging.LoggingLevelHandler
getLoggingLevel
-
-
-
-
Field Detail
-
m_Columns
protected SpreadSheetColumnRange m_Columns
the column range to display.
-
m_MissingValue
protected String m_MissingValue
the string to use for missing values.
-
-
Method Detail
-
globalInfo
public String globalInfo()
Returns a string describing the object.- Specified by:
globalInfo
in interfaceGlobalInfoSupporter
- Specified by:
globalInfo
in classAbstractOptionHandler
- Returns:
- a description suitable for displaying in the gui
-
defineOptions
public void defineOptions()
Adds options to the internal list of options.- Specified by:
defineOptions
in interfaceOptionHandler
- Overrides:
defineOptions
in classAbstractOptionHandler
-
setColumns
public void setColumns(SpreadSheetColumnRange value)
Sets the columns to display.- Parameters:
value
- the columns
-
getColumns
public SpreadSheetColumnRange getColumns()
Returns the columns to display.- Returns:
- the columns
-
columnsTipText
public String columnsTipText()
Returns the tip text for this property.- Returns:
- tip text for this property suitable for displaying in the GUI or for listing the options.
-
setMissingValue
public void setMissingValue(String value)
Sets the string to use for missing values.- Parameters:
value
- the string
-
getMissingValue
public String getMissingValue()
Returns the string to use for missing values.- Returns:
- the string
-
missingValueTipText
public String missingValueTipText()
Returns the tip text for this property.- Returns:
- tip text for this property suitable for displaying in the GUI or for listing the options.
-
generate
public AbstractSpreadSheetPreview.AbstractSpreadSheetPreviewPanel generate()
Generates the preview panel.- Specified by:
generate
in classAbstractSpreadSheetPreview
- Returns:
- the preview panel, null if none generated
-
-