Cytoscape 2.8.0 API

cytoscape.data.webservice
Class WebServiceClientImplWithGUI<S,U extends Container>

java.lang.Object
  extended by cytoscape.data.webservice.WebServiceClientImpl<S>
      extended by cytoscape.data.webservice.WebServiceClientImplWithGUI<S,U>
Type Parameters:
S - Client stub type.
U - User interface type.
All Implemented Interfaces:
CyWebServiceEventListener, WebServiceClientGUI<U>, WebServiceClient<S>, Serializable, EventListener

public abstract class WebServiceClientImplWithGUI<S,U extends Container>
extends WebServiceClientImpl<S>
implements WebServiceClientGUI<U>

Client with GUI.

See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from interface cytoscape.data.webservice.ui.WebServiceClientGUI
WebServiceClientGUI.IconSize
 
Field Summary
protected  U gui
           
 
Fields inherited from class cytoscape.data.webservice.WebServiceClientImpl
availableMethods, clientID, clientStub, DEF_DISPLAY_NAME, DEF_NAME, description, displayName, props, type
 
Constructor Summary
WebServiceClientImplWithGUI(String serviceName, String displayName, WebServiceClientManager.ClientType[] types, ModuleProperties props, S clientStub, U gui)
          Creates a new WebServiceClientImpl object.
 
Method Summary
 List<JMenuItem> getEdgeContextMenuItems(EdgeView ev)
          Returns client dependent context menu for edges
 U getGUI()
          DOCUMENT ME!
 Icon getIcon(WebServiceClientGUI.IconSize i)
          DOCUMENT ME!
 List<JMenuItem> getNodeContextMenuItems(NodeView nv)
          Returns client dependent context menu for nodes
 void setGUI(U gui)
          DOCUMENT ME!
 
Methods inherited from class cytoscape.data.webservice.WebServiceClientImpl
executeService, getAccessibleMethods, getClientID, getClientStub, getClientType, getDescription, getDisplayName, getProps, isCompatibleType, setClientStub, setDescription, setProps
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

gui

protected U extends Container gui
Constructor Detail

WebServiceClientImplWithGUI

public WebServiceClientImplWithGUI(String serviceName,
                                   String displayName,
                                   WebServiceClientManager.ClientType[] types,
                                   ModuleProperties props,
                                   S clientStub,
                                   U gui)
Creates a new WebServiceClientImpl object.

Parameters:
serviceName - DOCUMENT ME!
displayName - DOCUMENT ME!
types - DOCUMENT ME!
props - DOCUMENT ME!
Method Detail

getGUI

public U getGUI()
DOCUMENT ME!

Specified by:
getGUI in interface WebServiceClientGUI<U extends Container>
Returns:
DOCUMENT ME!

setGUI

public void setGUI(U gui)
DOCUMENT ME!

Specified by:
setGUI in interface WebServiceClientGUI<U extends Container>
Parameters:
gui - DOCUMENT ME!

getIcon

public Icon getIcon(WebServiceClientGUI.IconSize i)
DOCUMENT ME!

Specified by:
getIcon in interface WebServiceClientGUI<U extends Container>
Parameters:
i - DOCUMENT ME!
Returns:
DOCUMENT ME!

getNodeContextMenuItems

public List<JMenuItem> getNodeContextMenuItems(NodeView nv)
Returns client dependent context menu for nodes

Specified by:
getNodeContextMenuItems in interface WebServiceClientGUI<U extends Container>
Returns:
DOCUMENT ME!

getEdgeContextMenuItems

public List<JMenuItem> getEdgeContextMenuItems(EdgeView ev)
Returns client dependent context menu for edges

Specified by:
getEdgeContextMenuItems in interface WebServiceClientGUI<U extends Container>
Returns:
DOCUMENT ME!

Cytoscape 2.8.0 API

Copyright 2010 Cytoscape Consortium. All rights reserved.