class Controller.SendBtnActionListener extends Object implements ActionListener
ActionListener
.
Diese Klasse stellt die funktionalität für das Senden des Strings an den Arduino bereit.
Der Arduino hat ein Programm welches ein String entgegennimmt und verarbeitet.Constructor and Description |
---|
SendBtnActionListener() |
Modifier and Type | Method and Description |
---|---|
void |
actionPerformed(ActionEvent e) |
private boolean |
isColorMapValid()
Validiert ob die
Map valide Werte für die erstellung einer Farbe beinhaltet. |
public void actionPerformed(ActionEvent e)
actionPerformed
in interface ActionListener
e
- das ActionEvent
ActionListener.actionPerformed(ActionEvent)
private boolean isColorMapValid()
Map
valide Werte für die erstellung einer Farbe beinhaltet.Boolean.TRUE
wenn die Map
valide Werte für die erstellung einer Farbe beinhaltet, andernfalls Boolean.FALSE
Copyright © 2015. All rights reserved.