Class AbstractGeneratorParameter<T>
java.lang.Object
org.openscience.cdk.renderer.generators.parameter.AbstractGeneratorParameter<T>
- All Implemented Interfaces:
IGeneratorParameter<T>
- Direct Known Subclasses:
AtomNumberGenerator.AtomColorer, AtomNumberGenerator.AtomNumberTextColor, AtomNumberGenerator.ColorByType, AtomNumberGenerator.Offset, AtomNumberGenerator.WillDrawAtomNumbers, BasicAtomGenerator.AtomColor, BasicAtomGenerator.AtomColorer, BasicAtomGenerator.AtomRadius, BasicAtomGenerator.ColorByType, BasicAtomGenerator.CompactAtom, BasicAtomGenerator.CompactShape, BasicAtomGenerator.KekuleStructure, BasicAtomGenerator.ShowEndCarbons, BasicAtomGenerator.ShowExplicitHydrogens, BasicBondGenerator.BondDistance, BasicBondGenerator.BondWidth, BasicBondGenerator.DefaultBondColor, BasicBondGenerator.TowardsRingCenterProportion, BasicBondGenerator.WedgeWidth, BasicSceneGenerator.ArrowHeadWidth, BasicSceneGenerator.BackgroundColor, BasicSceneGenerator.BondLength, BasicSceneGenerator.FitToScreen, BasicSceneGenerator.FontName, BasicSceneGenerator.ForegroundColor, BasicSceneGenerator.Margin, BasicSceneGenerator.Scale, BasicSceneGenerator.ShowMoleculeTitle, BasicSceneGenerator.ShowReactionTitle, BasicSceneGenerator.ShowTooltip, BasicSceneGenerator.UseAntiAliasing, BasicSceneGenerator.UsedFontStyle, BasicSceneGenerator.ZoomFactor, BoundsGenerator.BoundsColor, ExtendedAtomGenerator.ShowAtomTypeNames, ExtendedAtomGenerator.ShowImplicitHydrogens, HighlightGenerator.HighlightPalette, HighlightGenerator.HighlightRadius, MappingGenerator.AtomAtomMappingLineColor, MappingGenerator.MappingLineWidth, MappingGenerator.ShowAtomAtomMapping, ReactionSceneGenerator.ArrowHeadWidth, ReactionSceneGenerator.ShowReactionBoxes, RendererModel.ColorHash, RendererModel.ExternalHighlightColor, RendererModel.MarkedOutput, RendererModel.Padding, RendererModel.SelectionColor, RendererModel.TitleColor, RendererModel.TitleFontScale, RingGenerator.CDKStyleAromaticity, RingGenerator.MaxDrawableAromaticRing, RingGenerator.RingProportion, RingGenerator.ShowAromaticity, StandardGenerator.AnnotationColor, StandardGenerator.AnnotationDistance, StandardGenerator.AnnotationFontScale, StandardGenerator.AtomColor, StandardGenerator.BondSeparation, StandardGenerator.DashSection, StandardGenerator.DelocalisedDonutsBondDisplay, StandardGenerator.DeuteriumSymbol, StandardGenerator.FancyBoldWedges, StandardGenerator.FancyHashedWedges, StandardGenerator.ForceDelocalisedBondDisplay, StandardGenerator.HashSpacing, StandardGenerator.Highlighting, StandardGenerator.OmitMajorIsotopes, StandardGenerator.OuterGlowWidth, StandardGenerator.PseudoFontStyle, StandardGenerator.RGroupBoxColors, StandardGenerator.SgroupBracketDepth, StandardGenerator.SgroupFontScale, StandardGenerator.StrokeRatio, StandardGenerator.SymbolMarginRatio, StandardGenerator.Visibility, StandardGenerator.WaveSpacing, StandardGenerator.WedgeRatio
public abstract class AbstractGeneratorParameter<T>
extends Object
implements IGeneratorParameter<T>
Abstract class to provide the base functionality for
IGeneratorParameter implementations.-
Constructor Details
-
AbstractGeneratorParameter
public AbstractGeneratorParameter()
-
-
Method Details
-
setValue
Sets the value for this parameter.- Specified by:
setValuein interfaceIGeneratorParameter<T>- Parameters:
value- the new parameter value
-
getValue
Gets the value for this parameter. It must provide a reasonable default when no other value has been set.- Specified by:
getValuein interfaceIGeneratorParameter<T>- Returns:
- the current parameter value
-