Package adams.doc.latex.generator
Class AbstractEnvironmentWithNoTrailingSpace
- java.lang.Object
-
- adams.core.logging.LoggingObject
-
- adams.core.logging.CustomLoggingLevelObject
-
- adams.core.option.AbstractOptionHandler
-
- adams.doc.latex.generator.AbstractCodeGenerator
-
- adams.doc.latex.generator.AbstractEnvironmentWithNoTrailingSpace
-
- 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:
Verbatim
public abstract class AbstractEnvironmentWithNoTrailingSpace extends AbstractCodeGenerator implements EnvironmentWithNoTrailingSpace
Ancestor for 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 booleanm_SuppressTrailingSpacewhether to suppress the trailing space or not.-
Fields inherited from class adams.doc.latex.generator.AbstractCodeGenerator
m_FlowContext, m_NoVariableExpansion, m_Skip
-
-
Constructor Summary
Constructors Constructor Description AbstractEnvironmentWithNoTrailingSpace()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voiddefineOptions()Adds options to the internal list of options.booleangetSuppressTrailingSpace()Returns whether to suppress the trailing space.voidsetSuppressTrailingSpace(boolean value)Sets whether to suppress the trailing space.StringsuppressTrailingSpaceTipText()Returns the tip text for this property.-
Methods inherited from class adams.doc.latex.generator.AbstractCodeGenerator
check, doGenerate, ensureTrailingNewLine, ensureTrailingNewLine, escape, expand, expandEscape, generate, getAdditionalInformation, getFlowContext, getNoVariableExpansion, getQuickInfo, getRequiredPackages, getSkip, noVariableExpansionTipText, setFlowContext, 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:
defineOptionsin interfaceadams.core.option.OptionHandler- Overrides:
defineOptionsin classAbstractCodeGenerator
-
setSuppressTrailingSpace
public void setSuppressTrailingSpace(boolean value)
Sets whether to suppress the trailing space.- Specified by:
setSuppressTrailingSpacein interfaceEnvironmentWithNoTrailingSpace- Parameters:
value- true if to suppress
-
getSuppressTrailingSpace
public boolean getSuppressTrailingSpace()
Returns whether to suppress the trailing space.- Specified by:
getSuppressTrailingSpacein interfaceEnvironmentWithNoTrailingSpace- Returns:
- true if to suppress
-
suppressTrailingSpaceTipText
public String suppressTrailingSpaceTipText()
Returns the tip text for this property.- Specified by:
suppressTrailingSpaceTipTextin interfaceEnvironmentWithNoTrailingSpace- Returns:
- tip text for this property suitable for displaying in the GUI or for listing the options.
-
-