Class LayoutFunctions
- java.lang.Object
-
- jmri.jmrit.logixng.util.parser.functions.LayoutFunctions
-
- All Implemented Interfaces:
FunctionFactory
public class LayoutFunctions extends java.lang.Object implements FunctionFactory
Implementation of layout functions.
-
-
Constructor Summary
Constructors Constructor Description LayoutFunctions()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getConstantDescription()
Get the description of the constants in Markdown formatjava.util.Set<Constant>
getConstants()
Get a set of classes that implements the Constant interface.java.util.Set<Function>
getFunctions()
Get a set of classes that implements the Function interface.java.lang.String
getModule()
Get the module of the functions in this factory, for example "Math" or "Conversion".
-
-
-
Constructor Detail
-
LayoutFunctions
public LayoutFunctions()
-
-
Method Detail
-
getModule
public java.lang.String getModule()
Description copied from interface:FunctionFactory
Get the module of the functions in this factory, for example "Math" or "Conversion".- Specified by:
getModule
in interfaceFunctionFactory
- Returns:
- the module name
-
getFunctions
public java.util.Set<Function> getFunctions()
Description copied from interface:FunctionFactory
Get a set of classes that implements the Function interface.- Specified by:
getFunctions
in interfaceFunctionFactory
- Returns:
- a set of functions
-
getConstants
public java.util.Set<Constant> getConstants()
Description copied from interface:FunctionFactory
Get a set of classes that implements the Constant interface.- Specified by:
getConstants
in interfaceFunctionFactory
- Returns:
- a set of constants
-
getConstantDescription
public java.lang.String getConstantDescription()
Description copied from interface:FunctionFactory
Get the description of the constants in Markdown format- Specified by:
getConstantDescription
in interfaceFunctionFactory
- Returns:
- the description of the constants
-
-