Package jmri.jmrix.marklin.swing
Class MarklinSendBootAction
- java.lang.Object
-
- javax.swing.AbstractAction
-
- jmri.jmrix.marklin.swing.MarklinSendBootAction
-
- All Implemented Interfaces:
java.awt.event.ActionListener,java.io.Serializable,java.lang.Cloneable,java.util.EventListener,javax.swing.Action
public class MarklinSendBootAction extends javax.swing.AbstractAction
Action to send MCAN BOOT message to Märklin devices.This action sends a CAN BOOT command (0xB1) to invoke the bootloader update sequence for Märklin hardware. According to German language forum documentation, this is part of the software/bootloader command range used for firmware updates and device initialization.
-
-
Constructor Summary
Constructors Constructor Description MarklinSendBootAction(java.lang.String name, MarklinSystemConnectionMemo memo)Create an action to send MCAN BOOT message.MarklinSendBootAction(MarklinSystemConnectionMemo memo)Create an action with default name.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidactionPerformed(java.awt.event.ActionEvent e)-
Methods inherited from class javax.swing.AbstractAction
addPropertyChangeListener, clone, firePropertyChange, getKeys, getPropertyChangeListeners, getValue, isEnabled, putValue, removePropertyChangeListener, setEnabled
-
-
-
-
Constructor Detail
-
MarklinSendBootAction
public MarklinSendBootAction(java.lang.String name, MarklinSystemConnectionMemo memo)
Create an action to send MCAN BOOT message.- Parameters:
name- the name for this action; will appear on menu items, buttons, etc.memo- the system connection memo for this action
-
MarklinSendBootAction
public MarklinSendBootAction(MarklinSystemConnectionMemo memo)
Create an action with default name.- Parameters:
memo- the system connection memo for this action
-
-
Method Detail
-
actionPerformed
public void actionPerformed(java.awt.event.ActionEvent e)
-
-