uk.org.ogsadai.client.monitor
Class ServiceStatusView

java.lang.Object
  |
  +--uk.org.ogsadai.client.monitor.ServiceStatusView
All Implemented Interfaces:
java.awt.event.ActionListener, java.util.EventListener, java.util.Observer

public class ServiceStatusView
extends java.lang.Object
implements java.util.Observer, java.awt.event.ActionListener

Provides a widget for visualising a data service available on some container and data service resources exposed by this service.

Author:
The OGSA-DAI Project Team.

Field Summary
private static java.lang.String COPYRIGHT_NOTICE
           
private  DataServiceStatus mDataServiceStatus
           
private  javax.swing.JTextPane mError
           
private  javax.swing.JComboBox mResources
           
private  javax.swing.JLabel mStatus
           
private  javax.swing.JPanel mStatusPanel
           
private  javax.swing.JLabel mVersion
           
 
Constructor Summary
ServiceStatusView(DataServiceStatus status)
           
 
Method Summary
 void actionPerformed(java.awt.event.ActionEvent event)
           
 javax.swing.JPanel getStatusPanel()
           
 void update(java.util.Observable observable, java.lang.Object obj)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

COPYRIGHT_NOTICE

private static final java.lang.String COPYRIGHT_NOTICE
See Also:
Constant Field Values

mDataServiceStatus

private DataServiceStatus mDataServiceStatus

mStatusPanel

private javax.swing.JPanel mStatusPanel

mStatus

private javax.swing.JLabel mStatus

mVersion

private javax.swing.JLabel mVersion

mResources

private javax.swing.JComboBox mResources

mError

private javax.swing.JTextPane mError
Constructor Detail

ServiceStatusView

public ServiceStatusView(DataServiceStatus status)
Method Detail

getStatusPanel

public javax.swing.JPanel getStatusPanel()

update

public void update(java.util.Observable observable,
                   java.lang.Object obj)
Specified by:
update in interface java.util.Observer

actionPerformed

public void actionPerformed(java.awt.event.ActionEvent event)
Specified by:
actionPerformed in interface java.awt.event.ActionListener