Package jmri.jmrit.logixng
Interface LogixNG_InitializationManager
- All Known Implementing Classes:
DefaultLogixNGInitializationManager
public interface LogixNG_InitializationManager
Manager for initialization of LogixNG.
This manager has a list of LogixNGs that will be executed before all other
LogixNGs are executed.
-
Method Summary
Modifier and TypeMethodDescriptionvoidAdds a LogixNG to the end of list.voiddelete(int index) Deletes a LogixNG from the list.voidDeletes a LogixNG from the list.getList()Returns an unmodifiable list of the initialization LogixNGsvoidmoveDown(int index) Moves the LogixNG down (lower priority)voidmoveUp(int index) Moves the LogixNG up (higher priority)voidprintTree(Locale locale, PrintWriter writer, String indent) Print the tree to a stream.
-
Method Details
-
add
Adds a LogixNG to the end of list.- Parameters:
logixNG- the LogixNG
-
delete
Deletes a LogixNG from the list.- Parameters:
logixNG- the LogixNG
-
delete
Deletes a LogixNG from the list.- Parameters:
index- the index of the LogixNG to delete
-
moveUp
Moves the LogixNG up (higher priority)- Parameters:
index- the index of the LogixNG to move up
-
moveDown
Moves the LogixNG down (lower priority)- Parameters:
index- the index of the LogixNG to move down
-
getList
Returns an unmodifiable list of the initialization LogixNGs- Returns:
- the list
-
printTree
Print the tree to a stream.- Parameters:
locale- The locale to be usedwriter- the stream to print the tree toindent- the indentation of each level
-