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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
add(LogixNG logixNG)
Adds a LogixNG to the end of list.void
delete(int index)
Deletes a LogixNG from the list.void
delete(LogixNG logixNG)
Deletes a LogixNG from the list.java.util.List<LogixNG>
getList()
Returns an unmodifiable list of the initialization LogixNGsvoid
moveDown(int index)
Moves the LogixNG down (lower priority)void
moveUp(int index)
Moves the LogixNG up (higher priority)void
printTree(java.util.Locale locale, java.io.PrintWriter writer, java.lang.String indent)
Print the tree to a stream.
-
-
-
Method Detail
-
delete
void delete(LogixNG logixNG)
Deletes a LogixNG from the list.- Parameters:
logixNG
- the LogixNG
-
delete
void delete(int index)
Deletes a LogixNG from the list.- Parameters:
index
- the index of the LogixNG to delete
-
moveUp
void moveUp(int index)
Moves the LogixNG up (higher priority)- Parameters:
index
- the index of the LogixNG to move up
-
moveDown
void moveDown(int index)
Moves the LogixNG down (lower priority)- Parameters:
index
- the index of the LogixNG to move down
-
getList
java.util.List<LogixNG> getList()
Returns an unmodifiable list of the initialization LogixNGs- Returns:
- the list
-
printTree
void printTree(java.util.Locale locale, java.io.PrintWriter writer, java.lang.String indent)
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
-
-