use of apps.startup.StartupModel in project JMRI by JMRI.
the class StartupActionsManager method moveAction.
/**
* Move a {@link apps.StartupModel} from position start to position end.
* Triggers an {@link java.beans.IndexedPropertyChangeEvent} where the index
* is end, the old value is start and the new value is the moved model.
*
* @param start the original position
* @param end the new position
*/
public void moveAction(int start, int end) {
StartupModel model = this.getActions(start);
this.removeAction(model, false);
this.setActions(end, model, false);
this.fireIndexedPropertyChange(STARTUP, end, start, model);
}
Aggregations