Package jmri.jmrix.openlcb
Class OlcbNodeGroupStore
java.lang.Object
jmri.jmrix.openlcb.OlcbNodeGroupStore
- All Implemented Interfaces:
InstanceManagerAutoDefault
Maintain information about which group(s) contain a node.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddNodeToGroup(NodeID node, String group) Add a Node to a groupvoidprotected voidGet alphanumerically-sorted List of existing group namesgetGroupNodes(String group) Get a Set of nodes in a groupgetNodesGroups(NodeID node) Get an ordered set of groups a node belongs to.protected voidbooleanisNodeInGroup(NodeID node, String group) Does a particular node belong to a specific group?protected voidload()voidremoveGroup(String group) Remove a group, including all the associations it containsvoidremoveNodeFromGroup(NodeID node, String group) Remove a node from a groupvoidprotected voidstore()
-
Constructor Details
-
OlcbNodeGroupStore
public OlcbNodeGroupStore()
-
-
Method Details
-
load
-
store
- Throws:
IOException
-
initShutdownTask
-
addNodeToGroup
Add a Node to a group -
removeNodeFromGroup
Remove a node from a group -
removeGroup
Remove a group, including all the associations it contains -
getGroupNames
Get alphanumerically-sorted List of existing group names -
getGroupNodes
Get a Set of nodes in a group -
getNodesGroups
Get an ordered set of groups a node belongs to. -
isNodeInGroup
Does a particular node belong to a specific group? -
fireChangeEvent
-
addPropertyChangeListener
-
removePropertyChangeListener
-