|
2009-01-09 1.2.0 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.eclipse.soda.dk.profile.swt.Bridge
public class Bridge
| Field Summary | |
|---|---|
protected long |
count
Define the count (long) field. |
protected java.lang.Object |
data
Define the data (Object) field. |
protected long |
errorCount
Define the error count (long) field. |
protected java.lang.String |
key
Define the control (ControlService) field. |
protected ProfileSwt |
parent
Define the parent (DeviceSwt) field. |
protected long |
refreshCount
Define the refresh count (long) field. |
protected long |
timstamp
Define the timstamp (long) field. |
protected org.eclipse.swt.widgets.TreeItem |
treeItem
Define the tree item (TreeItem) field. |
protected ControlWindow |
window
Define the window (ControlWindow) field. |
| Constructor Summary | |
|---|---|
Bridge(ProfileSwt parent,
org.eclipse.swt.widgets.TreeItem treeItem,
java.lang.String key)
Constructs an instance of this class. |
|
| Method Summary | |
|---|---|
void |
broadcast(java.lang.String topic,
java.util.Dictionary data)
Broadcast with the specified topic and data parameters. |
void |
closeWindow()
Close window. |
void |
errorOccurred(java.lang.Object source,
java.lang.Object timestamp,
java.lang.Object data)
Error occurred with the specified source, timestamp and data parameters. |
long |
getCount()
Gets the count (long) value. |
java.lang.Object |
getData()
Gets the data (Object) value. |
long |
getErrorCount()
Gets the error count (long) value. |
org.eclipse.swt.graphics.Image |
getImage()
Gets the image value. |
java.lang.String |
getKey()
Gets the key (String) value. |
ProfileSwt |
getParent()
Gets the parent (ProfileSwt) value. |
java.lang.String |
getPrefix()
Gets the prefix (String) value. |
long |
getRefreshCount()
Gets the refresh count (long) value. |
long |
getTimstamp()
Gets the timstamp (long) value. |
org.eclipse.swt.widgets.TreeItem |
getTreeItem()
Gets the tree item value. |
ControlWindow |
getWindow()
Gets the window (ControlWindow) value. |
void |
gray()
Gray. |
void |
notificationReceived(java.lang.String externalKey,
java.lang.Object data)
Notification received with the specified external key and data parameters. |
void |
openWindow()
Open window. |
java.lang.String |
prependPrefix(java.lang.String topic)
Prepend prefix with the specified topic parameter and return the String result. |
void |
refresh()
Refresh. |
void |
setCount(long count)
Sets the count value. |
void |
setData(java.lang.Object data)
Sets the data value. |
void |
setErrorCount(long errorCount)
Sets the error count value. |
void |
setGrayed(boolean state)
Sets the grayed value. |
void |
setKey(java.lang.String key)
Sets the key value. |
void |
setParent(ProfileSwt parent)
Sets the parent value. |
void |
setRefreshCount(long refreshCount)
Sets the refresh count value. |
void |
setTimstamp(long timstamp)
Sets the timstamp value. |
void |
setTimstamp(java.lang.Object timstamp)
Sets the timstamp value. |
void |
setTreeItem(org.eclipse.swt.widgets.TreeItem treeItem)
Sets the tree item value. |
void |
setWindow(ControlWindow window)
Sets the window value. |
void |
updateCount()
Update count. |
void |
updateRefreshCount()
Update refresh count. |
void |
updateTree()
Update tree. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected org.eclipse.swt.widgets.TreeItem treeItem
protected long count
protected long refreshCount
protected long errorCount
protected long timstamp
protected java.lang.Object data
protected ProfileSwt parent
protected java.lang.String key
protected ControlWindow window
| Constructor Detail |
|---|
public Bridge(ProfileSwt parent,
org.eclipse.swt.widgets.TreeItem treeItem,
java.lang.String key)
parent - The parent (ProfileSwt) parameter.treeItem - The tree item (TreeItem) parameter.key - The key (String) parameter.| Method Detail |
|---|
public void broadcast(java.lang.String topic,
java.util.Dictionary data)
topic - The topic (String) parameter.data - The data (Dictionary) parameter.public void closeWindow()
getWindow(),
openWindow(),
setWindow(ControlWindow)
public void errorOccurred(java.lang.Object source,
java.lang.Object timestamp,
java.lang.Object data)
source - The source (Object) parameter.timestamp - The timestamp (Object) parameter.data - The data (Object) parameter.public long getCount()
long) value.getErrorCount(),
getRefreshCount(),
setCount(long),
setErrorCount(long),
setRefreshCount(long),
updateCount(),
updateRefreshCount()public java.lang.Object getData()
Object) value.setData(Object)public long getErrorCount()
long) value.setErrorCount(long)public org.eclipse.swt.graphics.Image getImage()
Image) value.public java.lang.String getKey()
String) value.setKey(String)public ProfileSwt getParent()
DeviceSwt) value.setParent(ProfileSwt)public java.lang.String getPrefix()
String) value.prependPrefix(String)public long getRefreshCount()
long) value.setRefreshCount(long),
updateRefreshCount()public long getTimstamp()
long) value.setTimstamp(long),
setTimstamp(Object)public org.eclipse.swt.widgets.TreeItem getTreeItem()
TreeItem) value.setTreeItem(TreeItem)public ControlWindow getWindow()
ControlWindow) value.closeWindow(),
openWindow(),
setWindow(ControlWindow)public void gray()
public void notificationReceived(java.lang.String externalKey,
java.lang.Object data)
externalKey - The external key (String) parameter.data - The data (Object) parameter.public void openWindow()
closeWindow(),
getWindow(),
setWindow(ControlWindow)public java.lang.String prependPrefix(java.lang.String topic)
topic - The topic (String) parameter.
String) value.getPrefix()public void refresh()
public void setCount(long count)
count - The count (long) parameter.getCount(),
getErrorCount(),
getRefreshCount(),
setErrorCount(long),
setRefreshCount(long),
updateCount(),
updateRefreshCount()public void setData(java.lang.Object data)
data - The data (Object) parameter.getData()public void setErrorCount(long errorCount)
errorCount - The error count (long) parameter.getErrorCount()public void setGrayed(boolean state)
state - The state (boolean) parameter.public void setKey(java.lang.String key)
key - The key (String) parameter.getKey()public void setParent(ProfileSwt parent)
parent - The parent (ProfileSwt) parameter.getParent()public void setRefreshCount(long refreshCount)
refreshCount - The refresh count (long) parameter.getRefreshCount(),
updateRefreshCount()public void setTimstamp(long timstamp)
timstamp - The timstamp (long) parameter.getTimstamp(),
setTimstamp(Object)public void setTimstamp(java.lang.Object timstamp)
timstamp - The timstamp (Object) parameter.getTimstamp(),
setTimstamp(long)public void setTreeItem(org.eclipse.swt.widgets.TreeItem treeItem)
treeItem - The tree item (TreeItem) parameter.getTreeItem()public void setWindow(ControlWindow window)
window - The window (ControlWindow) parameter.closeWindow(),
getWindow(),
openWindow()public void updateCount()
getCount(),
getErrorCount(),
getRefreshCount(),
setCount(long),
setErrorCount(long),
setRefreshCount(long),
updateRefreshCount()public void updateRefreshCount()
getRefreshCount(),
setRefreshCount(long)public void updateTree()
|
2009-01-09 1.2.0 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||