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.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 forIGeneratorParameter
implementations.- Source code:
- main
- Belongs to CDK module:
- render
-
-
Constructor Summary
Constructors Constructor Description AbstractGeneratorParameter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description T
getValue()
Gets the value for this parameter.void
setValue(T value)
Sets the value for this parameter.-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.openscience.cdk.renderer.generators.IGeneratorParameter
getDefault
-
-
-
-
Method Detail
-
setValue
public void setValue(T value)
Sets the value for this parameter.- Specified by:
setValue
in interfaceIGeneratorParameter<T>
- Parameters:
value
- the new parameter value
-
getValue
public T getValue()
Gets the value for this parameter. It must provide a reasonable default when no other value has been set.- Specified by:
getValue
in interfaceIGeneratorParameter<T>
- Returns:
- the current parameter value
-
-