Package jmri.jmrix.loconet.logixng
Class CategoryLocoNet
- java.lang.Object
-
- jmri.jmrit.logixng.Category
-
- jmri.jmrix.loconet.logixng.CategoryLocoNet
-
- All Implemented Interfaces:
java.lang.Comparable<Category>
public final class CategoryLocoNet extends Category
Defines the category LocoNet
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class jmri.jmrit.logixng.Category
Category.Common, Category.FlowControl, Category.Item, Category.Linux, Category.Other
-
-
Field Summary
Fields Modifier and Type Field Description static CategoryLocoNet
LOCONET
A item on the layout, for example turnout, sensor and signal mast.
-
Constructor Summary
Constructors Constructor Description CategoryLocoNet()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static boolean
hasLocoNet()
Do we have a LocoNet connection?static void
registerCategory()
-
-
-
Field Detail
-
LOCONET
public static final CategoryLocoNet LOCONET
A item on the layout, for example turnout, sensor and signal mast.
-
-
Constructor Detail
-
CategoryLocoNet
public CategoryLocoNet()
-
-
Method Detail
-
registerCategory
public static void registerCategory()
-
hasLocoNet
public static boolean hasLocoNet()
Do we have a LocoNet connection?- Returns:
- true if we have LocoNet, false otherwise
-
-