org.eclipse.soda.dk.device.swt
Class CommandBridge
java.lang.Object
org.eclipse.soda.dk.device.swt.Bridge
org.eclipse.soda.dk.device.swt.CommandBridge
- All Implemented Interfaces:
- CommandListener, ErrorListener
public class CommandBridge
- extends Bridge
- implements CommandListener
- Since:
- 1.0
- Version:
- 1.2.0
|
Constructor Summary |
CommandBridge(DeviceSwt parent,
org.eclipse.swt.widgets.TableItem tableItem,
CommandService control)
Constructs an instance of this class from the specified table item and
control parameters. |
| Methods inherited from class org.eclipse.soda.dk.device.swt.Bridge |
closeWindow, errorOccurred, getControl, getCount, getData, getErrorCount, getParent, getRefreshCount, getTableItem, getTimstamp, getWindow, openWindow, refresh, setCount, setData, setErrorCount, setParent, setRefreshCount, setTableItem, setTimstamp, setTimstamp, setWindow, updateCount, updateRefreshCount, updateTable |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CommandBridge
public CommandBridge(DeviceSwt parent,
org.eclipse.swt.widgets.TableItem tableItem,
CommandService control)
- Constructs an instance of this class from the specified table item and
control parameters.
- Parameters:
parent - The parent (DeviceSwt) parameter.tableItem - The table item (TableItem) parameter.control - The control (CommandService) parameter.
commandExecuted
public void commandExecuted(CommandService source,
java.lang.Object timestamp,
java.lang.Object data)
- Command executed with the specified source, timestamp and data
parameters.
- Specified by:
commandExecuted in interface CommandListener
- Parameters:
source - The source (CommandService) parameter.timestamp - The timestamp (Object) parameter.data - The data (Object) parameter.
getCommand
public CommandService getCommand()
- Gets the command (CommandService) value.
- Returns:
- The command (
CommandService) value.
getImage
public org.eclipse.swt.graphics.Image getImage()
- Gets the image value.
- Overrides:
getImage in class Bridge
- Returns:
- The image (
Image) value.
setControl
public void setControl(ControlService control)
- Sets the control value.
- Overrides:
setControl in class Bridge
- Parameters:
control - The control (ControlService) parameter.- See Also:
Bridge.getControl()
Copyright (c) 2009 IBM. See license in Legal section.