public class MotorHat4PiGui extends ServiceGui implements ActionListener, ChangeListener
Modifier and Type | Class and Description |
---|---|
class |
MotorHat4PiGui.FloatJSlider |
boundServiceName, log, self, swingGui
Constructor and Description |
---|
MotorHat4PiGui(String boundServiceName,
SwingGui myService) |
Modifier and Type | Method and Description |
---|---|
void |
actionPerformed(ActionEvent e) |
void |
onState(MotorHat4Pi motor) |
void |
refreshControllers() |
void |
removeListeners() |
void |
restoreListeners() |
void |
setEnabled(boolean enable) |
void |
stateChanged(ChangeEvent ce) |
void |
subscribeGui()
stub for subscribing all service specific/gui events for desired callbacks
|
void |
unsubscribeGui()
stub for unsubscribing all service specific/gui events from desired
callbacks
|
add, addBottom, addBottomGroup, addBottomLine, addCenter, addComponents, addGroup, addLeftLine, addLine, addLinex, addRightLine, addTop, addTopGroup, addTopLeft, addTopLine, createFlowPanel, error, error, getDisplay, info, isDocked, isHidden, isReadyForRelease, makeReadyForRelease, onRegistered, onStatus, send, send, sendPeer, setBottomTitle, setEnabled, setLeftTitle, setRightTitle, setTitle, setTopTitle, subscribe, subscribe, unsubscribe, unsubscribe, warn, windowActivated, windowClosed, windowClosing, windowDeactivated, windowDeiconified, windowIconified, windowOpened
public void actionPerformed(ActionEvent e)
actionPerformed
in interface ActionListener
public void subscribeGui()
ServiceGui
subscribeGui
in class ServiceGui
public void unsubscribeGui()
ServiceGui
unsubscribeGui
in class ServiceGui
public void onState(MotorHat4Pi motor)
public void setEnabled(boolean enable)
public void stateChanged(ChangeEvent ce)
stateChanged
in interface ChangeListener
public void refreshControllers()
public void removeListeners()
public void restoreListeners()
Copyright © 2020 myrobotlab. All rights reserved.