Class Category

java.lang.Object
jmri.jmrit.logixng.Category
All Implemented Interfaces:
Comparable<Category>
Direct Known Subclasses:
Category.Common, Category.Item, Category.Other, CategoryDisplay, CategoryLocoNet, ExpressionFactory.LocoNet

public abstract class Category
extends Object
implements Comparable<Category>
The category of expressions and actions.

It's used to group expressions or actions then the user creates a new expression or action.

This class is intended to be an Enum, but implemented as an abstract class to allow adding more categories later without needing to change this class. For example, external programs using JMRI as a lib might want to add their own categories.