Package adams.doc.latex.generator
Class AbstractMetaCodeGeneratorWithNoTrailingSpace
- java.lang.Object
-
- adams.core.logging.LoggingObject
-
- adams.core.logging.CustomLoggingLevelObject
-
- adams.core.option.AbstractOptionHandler
-
- adams.doc.latex.generator.AbstractCodeGenerator
-
- adams.doc.latex.generator.AbstractMetaCodeGenerator
-
- adams.doc.latex.generator.AbstractMetaCodeGeneratorWithNoTrailingSpace
-
- All Implemented Interfaces:
adams.core.AdditionalInformationHandler
,adams.core.Destroyable
,adams.core.GlobalInfoSupporter
,adams.core.logging.LoggingLevelHandler
,adams.core.logging.LoggingSupporter
,adams.core.option.OptionHandler
,adams.core.QuickInfoSupporter
,adams.core.SizeOfHandler
,CodeGenerator
,EnvironmentWithNoTrailingSpace
,adams.flow.core.FlowContextHandler
,Serializable
- Direct Known Subclasses:
MiniPage
public abstract class AbstractMetaCodeGeneratorWithNoTrailingSpace extends AbstractMetaCodeGenerator implements EnvironmentWithNoTrailingSpace
Ancestor for meta code generators that can suppress the trailing space.- Version:
- $Revision$
- Author:
- FracPete (fracpete at waikato dot ac dot nz)
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected boolean
m_SuppressTrailingSpace
whether to suppress the trailing space or not.-
Fields inherited from class adams.doc.latex.generator.AbstractMetaCodeGenerator
m_Generator
-
Fields inherited from class adams.doc.latex.generator.AbstractCodeGenerator
m_FlowContext, m_NoVariableExpansion, m_Skip
-
-
Constructor Summary
Constructors Constructor Description AbstractMetaCodeGeneratorWithNoTrailingSpace()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
defineOptions()
Adds options to the internal list of options.boolean
getSuppressTrailingSpace()
Returns whether to suppress the trailing space.void
setSuppressTrailingSpace(boolean value)
Sets whether to suppress the trailing space.String
suppressTrailingSpaceTipText()
Returns the tip text for this property.-
Methods inherited from class adams.doc.latex.generator.AbstractMetaCodeGenerator
generatorTipText, getDefaultGenerator, getGenerator, getQuickInfo, setFlowContext, setGenerator
-
Methods inherited from class adams.doc.latex.generator.AbstractCodeGenerator
check, doGenerate, ensureTrailingNewLine, ensureTrailingNewLine, escape, expand, expandEscape, generate, getAdditionalInformation, getFlowContext, getNoVariableExpansion, getRequiredPackages, getSkip, noVariableExpansionTipText, setNoVariableExpansion, setSkip, skipTipText
-
Methods inherited from class adams.core.option.AbstractOptionHandler
cleanUpOptions, destroy, finishInit, getDefaultLoggingLevel, getOptionManager, globalInfo, 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.doc.latex.generator.CodeGenerator
generate, getAdditionalInformation, getFlowContext, getNoVariableExpansion, getQuickInfo, getRequiredPackages, getSkip, noVariableExpansionTipText, setFlowContext, setNoVariableExpansion, setSkip, skipTipText
-
-
-
-
Method Detail
-
defineOptions
public void defineOptions()
Adds options to the internal list of options.- Specified by:
defineOptions
in interfaceadams.core.option.OptionHandler
- Overrides:
defineOptions
in classAbstractMetaCodeGenerator
-
setSuppressTrailingSpace
public void setSuppressTrailingSpace(boolean value)
Sets whether to suppress the trailing space.- Specified by:
setSuppressTrailingSpace
in interfaceEnvironmentWithNoTrailingSpace
- Parameters:
value
- true if to suppress
-
getSuppressTrailingSpace
public boolean getSuppressTrailingSpace()
Returns whether to suppress the trailing space.- Specified by:
getSuppressTrailingSpace
in interfaceEnvironmentWithNoTrailingSpace
- Returns:
- true if to suppress
-
suppressTrailingSpaceTipText
public String suppressTrailingSpaceTipText()
Returns the tip text for this property.- Specified by:
suppressTrailingSpaceTipText
in interfaceEnvironmentWithNoTrailingSpace
- Returns:
- tip text for this property suitable for displaying in the GUI or for listing the options.
-
-