Package org.intermine.web.logic.config
Class Displayer
- java.lang.Object
-
- org.intermine.web.logic.config.Displayer
-
public class Displayer extends java.lang.ObjectConfiguration object describing details of a displayer- Author:
- Andrew Varley, Thomas Riley
-
-
Constructor Summary
Constructors Constructor Description Displayer()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddParam(java.lang.String name, java.lang.String value)Add a stored parameter to this Displayer.booleanequals(java.lang.Object obj)java.lang.StringgetAspects()Get the aspects of this displayerjava.util.Map<java.lang.String,java.lang.String>getParams()Return the parameters stored in this Displayer.java.lang.StringgetShowOnLeft()java.lang.StringgetSrc()Get the source of this displayerinthashCode()voidsetAspects(java.lang.String aspect)Set the aspects of this displayervoidsetShowOnLeft(java.lang.String showOnLeft)voidsetSrc(java.lang.String src)Set the source of this displayerjava.lang.StringtoString()Return an XML String of this Type objectjava.lang.StringtoString(java.lang.String elementName)Return an XML String of this Type object
-
-
-
Method Detail
-
setSrc
public void setSrc(java.lang.String src)
Set the source of this displayer- Parameters:
src- the source
-
getAspects
public java.lang.String getAspects()
Get the aspects of this displayer- Returns:
- the aspects
-
setAspects
public void setAspects(java.lang.String aspect)
Set the aspects of this displayer- Parameters:
aspect- the aspects
-
getSrc
public java.lang.String getSrc()
Get the source of this displayer- Returns:
- the source
-
addParam
public void addParam(java.lang.String name, java.lang.String value)Add a stored parameter to this Displayer.- Parameters:
name- the name of the parameter to addvalue- the value of the parameter to add
-
getParams
public java.util.Map<java.lang.String,java.lang.String> getParams()
Return the parameters stored in this Displayer.- Returns:
- the stored parameters
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equalsin classjava.lang.Object- Parameters:
obj- the Object to compare with- Returns:
- true if this is equal to obj
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object- Returns:
- the hashCode for this Displayer object
-
toString
public java.lang.String toString()
Return an XML String of this Type object- Overrides:
toStringin classjava.lang.Object- Returns:
- a String version of this WebConfig object
-
toString
public java.lang.String toString(java.lang.String elementName)
Return an XML String of this Type object- Parameters:
elementName- the element name- Returns:
- a String version of this WebConfig object
-
getShowOnLeft
public java.lang.String getShowOnLeft()
- Returns:
- the showOnLeft
-
setShowOnLeft
public void setShowOnLeft(java.lang.String showOnLeft)
- Parameters:
showOnLeft- if true, show this displayer under the summary
-
-