smacs.xngr.browser.exchanger
Class XngrService
java.lang.Object
smacs.xngr.browser.exchanger.XngrService
- All Implemented Interfaces:
- ExchangerService
- public class XngrService
- extends Object
- implements ExchangerService
The representation of a service in the system.
Services implementations should extend this class and implement
the relevant methods for this class.
- Author:
- Edwin Dankert
XngrService
public XngrService(XService service,
ServiceProperties properties,
ServiceDocument defaultProperties)
newExchangerService
public ExchangerService newExchangerService(XService service,
ServiceProperties properties,
ServiceDocument defaultProperties)
- Specified by:
newExchangerService in interface ExchangerService
getServiceProperties
public ServiceProperties getServiceProperties()
- Specified by:
getServiceProperties in interface ExchangerService
getService
public XService getService()
- Specified by:
getService in interface ExchangerService
getServiceDocument
public ServiceDocument getServiceDocument()
- Specified by:
getServiceDocument in interface ExchangerService
getElementTypeProperties
public Vector getElementTypeProperties()
- Specified by:
getElementTypeProperties in interface ExchangerService
getElementTypeProperties
public ElementTypeProperties getElementTypeProperties(XElementType type)
- Specified by:
getElementTypeProperties in interface ExchangerService
getIcon
public ImageIcon getIcon()
- Specified by:
getIcon in interface ExchangerService
getName
public String getName()
- Specified by:
getName in interface ExchangerService
getDescription
public String getDescription()
- Specified by:
getDescription in interface ExchangerService
getLocation
public String getLocation()
- Specified by:
getLocation in interface ExchangerService
getManager
public XManager getManager()
- Specified by:
getManager in interface ExchangerService
getProperties
public XProperties getProperties()
- Specified by:
getProperties in interface ExchangerService
getDecorator
public XDecorator getDecorator(XElementType type)
- Specified by:
getDecorator in interface ExchangerService
getActions
public XAction[] getActions(XElementType type)
- Specified by:
getActions in interface ExchangerService
open
public void open(XElement element)
- Specified by:
open in interface ExchangerService
close
public boolean close()
- Specified by:
close in interface ExchangerService
toString
public String toString()