maslab.telemetry.botclient
Class ImagePlugin
java.lang.Object
maslab.telemetry.botclient.ImagePlugin
- All Implemented Interfaces:
- java.awt.event.ActionListener, java.util.EventListener, Plugin, JugMessageListener
public class ImagePlugin
- extends java.lang.Object
- implements Plugin, java.awt.event.ActionListener
|
Field Summary |
static java.lang.String |
types
|
|
Constructor Summary |
ImagePlugin(javax.swing.JInternalFrame frame)
|
|
Method Summary |
void |
actionPerformed(java.awt.event.ActionEvent e)
|
boolean |
addChannel(java.lang.String name,
java.lang.String type)
Return true if you can properly handle this new channel (without dropping
any existing channels). |
void |
messageReceived(java.lang.String name,
byte[] data)
Handle data |
void |
removeChannel(java.lang.String name)
Self explanatory |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
types
public static final java.lang.String types
- See Also:
- Constant Field Values
ImagePlugin
public ImagePlugin(javax.swing.JInternalFrame frame)
actionPerformed
public void actionPerformed(java.awt.event.ActionEvent e)
- Specified by:
actionPerformed in interface java.awt.event.ActionListener
addChannel
public boolean addChannel(java.lang.String name,
java.lang.String type)
- Description copied from interface:
Plugin
- Return true if you can properly handle this new channel (without dropping
any existing channels). will always be one of the types you listed
in "types" above.
- Specified by:
addChannel in interface Plugin
removeChannel
public void removeChannel(java.lang.String name)
- Description copied from interface:
Plugin
- Self explanatory
- Specified by:
removeChannel in interface Plugin
messageReceived
public void messageReceived(java.lang.String name,
byte[] data)
- Description copied from interface:
Plugin
- Handle data
- Specified by:
messageReceived in interface Plugin- Specified by:
messageReceived in interface JugMessageListener