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 classSimpleHTML.SimpleTextPanelDisplays 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 SpreadSheetColumnRangem_Columnsthe column range to display.protected Stringm_MissingValuethe 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 StringcolumnsTipText()Returns the tip text for this property.voiddefineOptions()Adds options to the internal list of options.AbstractSpreadSheetPreview.AbstractSpreadSheetPreviewPanelgenerate()Generates the preview panel.SpreadSheetColumnRangegetColumns()Returns the columns to display.StringgetMissingValue()Returns the string to use for missing values.StringglobalInfo()Returns a string describing the object.StringmissingValueTipText()Returns the tip text for this property.voidsetColumns(SpreadSheetColumnRange value)Sets the columns to display.voidsetMissingValue(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:
globalInfoin interfaceGlobalInfoSupporter- Specified by:
globalInfoin classAbstractOptionHandler- Returns:
- a description suitable for displaying in the gui
-
defineOptions
public void defineOptions()
Adds options to the internal list of options.- Specified by:
defineOptionsin interfaceOptionHandler- Overrides:
defineOptionsin 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:
generatein classAbstractSpreadSheetPreview- Returns:
- the preview panel, null if none generated
-
-