Package org.intermine.web.struts
Class WidgetForm
- java.lang.Object
-
- org.apache.struts.action.ActionForm
-
- org.intermine.web.struts.WidgetForm
-
- All Implemented Interfaces:
java.io.Serializable
public class WidgetForm extends org.apache.struts.action.ActionForm
- Author:
- Julie Sullivan
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description WidgetForm()
Constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getAction()
java.lang.String
getBagName()
java.lang.String
getBagType()
java.lang.String
getErrorCorrection()
java.lang.String
getExporttype()
java.lang.String
getHighlight()
java.lang.String
getLink()
java.lang.String
getMax()
java.lang.String
getNumberOpt()
java.lang.String
getPValue()
java.lang.String[]
getSelected()
java.lang.String
getSelectedAsString()
returns the value of the checkboxes checked by the user on the form.java.lang.String
getSelectedExtraAttribute()
java.lang.String
getWidgetid()
java.lang.String
getWidgetTitle()
used on results page for description: "results for widget XYZ"void
initialise()
Initialiservoid
reset(org.apache.struts.action.ActionMapping mapping, javax.servlet.http.HttpServletRequest request)
void
setAction(java.lang.String action)
void
setBagName(java.lang.String bagName)
name of bag that this widget is using.void
setBagType(java.lang.String bagType)
void
setErrorCorrection(java.lang.String errorCorrection)
void
setExporttype(java.lang.String exporttype)
void
setHighlight(java.lang.String highlight)
void
setLink(java.lang.String link)
void
setMax(java.lang.String max)
void
setNumberOpt(java.lang.String numberOpt)
void
setPValue(java.lang.String pValue)
void
setSelected(java.lang.String[] selected)
void
setSelectedExtraAttribute(java.lang.String selectedExtraAttribute)
void
setWidgetid(java.lang.String widgetid)
void
setWidgetTitle(java.lang.String widgetTitle)
used on results page for description: "results for widget XYZ"
-
-
-
Method Detail
-
getSelectedAsString
public java.lang.String getSelectedAsString()
returns the value of the checkboxes checked by the user on the form.- Returns:
- the selectedAsString
-
getBagType
public java.lang.String getBagType()
- Returns:
- the bagType
-
setBagType
public void setBagType(java.lang.String bagType)
- Parameters:
bagType
- the bagType to set
-
getLink
public java.lang.String getLink()
- Returns:
- the link
-
setLink
public void setLink(java.lang.String link)
- Parameters:
link
- the link to set
-
getPValue
public java.lang.String getPValue()
- Returns:
- the pValue
-
setPValue
public void setPValue(java.lang.String pValue)
- Parameters:
pValue
- the pValue to set
-
getNumberOpt
public java.lang.String getNumberOpt()
- Returns:
- the numberOpt
-
setNumberOpt
public void setNumberOpt(java.lang.String numberOpt)
- Parameters:
numberOpt
- the pValue to set
-
initialise
public void initialise()
Initialiser
-
getBagName
public java.lang.String getBagName()
- Returns:
- the bagName
-
setBagName
public void setBagName(java.lang.String bagName)
name of bag that this widget is using. we need both the bag and the bagname because sometimes we don't have the bag object.- Parameters:
bagName
- the bagName to set
-
getSelected
public java.lang.String[] getSelected()
- Returns:
- the selected go terms
-
setSelected
public void setSelected(java.lang.String[] selected)
- Parameters:
selected
- the selected terms
-
getAction
public java.lang.String getAction()
- Returns:
- the action
-
setAction
public void setAction(java.lang.String action)
- Parameters:
action
- the action to set
-
getWidgetid
public java.lang.String getWidgetid()
- Returns:
- the widgetid
-
setWidgetid
public void setWidgetid(java.lang.String widgetid)
- Parameters:
widgetid
- the widgetid to set
-
getExporttype
public java.lang.String getExporttype()
- Returns:
- the exporttype
-
setExporttype
public void setExporttype(java.lang.String exporttype)
- Parameters:
exporttype
- the exporttype to set
-
getSelectedExtraAttribute
public java.lang.String getSelectedExtraAttribute()
- Returns:
- the selectedExtraAttribute
-
setSelectedExtraAttribute
public void setSelectedExtraAttribute(java.lang.String selectedExtraAttribute)
- Parameters:
selectedExtraAttribute
- the selectedExtraAttribute to set
-
getErrorCorrection
public java.lang.String getErrorCorrection()
- Returns:
- the errorCorrection
-
setErrorCorrection
public void setErrorCorrection(java.lang.String errorCorrection)
- Parameters:
errorCorrection
- the errorCorrection to set
-
getMax
public java.lang.String getMax()
- Returns:
- the max
-
getHighlight
public java.lang.String getHighlight()
- Returns:
- the highlight
-
setHighlight
public void setHighlight(java.lang.String highlight)
- Parameters:
highlight
- the highlight to set
-
setMax
public void setMax(java.lang.String max)
- Parameters:
max
- the max to set
-
setWidgetTitle
public void setWidgetTitle(java.lang.String widgetTitle)
used on results page for description: "results for widget XYZ"- Parameters:
widgetTitle
- title of the widget
-
getWidgetTitle
public java.lang.String getWidgetTitle()
used on results page for description: "results for widget XYZ"- Returns:
- title of widget
-
reset
public void reset(org.apache.struts.action.ActionMapping mapping, javax.servlet.http.HttpServletRequest request)
- Overrides:
reset
in classorg.apache.struts.action.ActionForm
-
-