uk.ac.ebi.intact.application.hierarchView.struts.view
Class InteractionNetworkForm

java.lang.Object
  |
  +--org.apache.struts.action.ActionForm
        |
        +--uk.ac.ebi.intact.application.hierarchView.struts.framework.IntactBaseForm
              |
              +--uk.ac.ebi.intact.application.hierarchView.struts.view.InteractionNetworkForm
All Implemented Interfaces:
java.io.Serializable

public class InteractionNetworkForm
extends IntactBaseForm

This form captures the user action of the sideBarGraph.jsp.

Version:
$Id: InteractionNetworkForm.java,v 1.2 2003/03/18 10:39:55 skerrien Exp $
Author:
Samuel Kerrien (skerrien@ebi.ac.uk)
See Also:
Serialized Form

Field Summary
 
Fields inherited from class uk.ac.ebi.intact.application.hierarchView.struts.framework.IntactBaseForm
INTACT_ERROR, INTACT_MESSAGE, logger
 
Fields inherited from class org.apache.struts.action.ActionForm
multipartRequestHandler, servlet
 
Constructor Summary
InteractionNetworkForm()
           
 
Method Summary
 boolean contractSelected()
          True if Contract All button is pressed.
 boolean expandSelected()
          True if Expand/Contract button is pressed.
 java.lang.String getAction()
           
 void setAction(java.lang.String action)
          Sets the action.
 
Methods inherited from class uk.ac.ebi.intact.application.hierarchView.struts.framework.IntactBaseForm
addError, addError, addMessage, addMessage, getErrors, getMessages, isErrorsEmpty, isMessagesEmpty, saveMessages
 
Methods inherited from class org.apache.struts.action.ActionForm
getMultipartRequestHandler, getServlet, getServletWrapper, reset, reset, setMultipartRequestHandler, setServlet, validate, validate
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

InteractionNetworkForm

public InteractionNetworkForm()
Method Detail

setAction

public void setAction(java.lang.String action)
Sets the action.

Parameters:
action - the action for the form. If this contains the word 'AC' then the search is by AC otherwise the search is by label.

getAction

public java.lang.String getAction()

expandSelected

public boolean expandSelected()
True if Expand/Contract button is pressed.


contractSelected

public boolean contractSelected()
True if Contract All button is pressed.



IntAct Project - EMBL-EBI 2004 - intact-help@ebi.ac.uk