Package org.intermine.web.logic.config
Class InlineListConfig
- java.lang.Object
-
- org.intermine.web.logic.config.InlineListConfig
-
public class InlineListConfig extends java.lang.ObjectRepresents an inline list to be shown on a Report page- Author:
- radek
-
-
Constructor Summary
Constructors Constructor Description InlineListConfig()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.IntegergetLineLength()java.lang.StringgetPath()java.lang.BooleangetShowInHeader()java.lang.BooleangetShowLinksToObjects()voidsetLineLength(java.lang.Integer lineLength)Sets the amount of entries to show based on their total lengthvoidsetPath(java.lang.String path)Path set from WebConfig, ie "probeSets.primaryIdentifier"voidsetShowInHeader(java.lang.Boolean showInHeader)Show this list in the header?voidsetShowLinksToObjects(java.lang.Boolean showLinksToObjects)Shall we show links to the objects's report pages?
-
-
-
Method Detail
-
setPath
public void setPath(java.lang.String path)
Path set from WebConfig, ie "probeSets.primaryIdentifier"- Parameters:
path- String
-
setShowLinksToObjects
public void setShowLinksToObjects(java.lang.Boolean showLinksToObjects)
Shall we show links to the objects's report pages?- Parameters:
showLinksToObjects- set from WebConfig
-
setShowInHeader
public void setShowInHeader(java.lang.Boolean showInHeader)
Show this list in the header?- Parameters:
showInHeader- Passed from WebConfig
-
setLineLength
public void setLineLength(java.lang.Integer lineLength)
Sets the amount of entries to show based on their total length- Parameters:
lineLength- total character length (spaces, commas included!)- See Also:
number is approximate as we do not break inside the text
-
getLineLength
public java.lang.Integer getLineLength()
- Returns:
- total character length (spaces, commas included) to show
- See Also:
JavaScript (jQuery) expects non set values to be "0"
-
getPath
public java.lang.String getPath()
- Returns:
- String path so that ReportObject can resolve the actual Objects
-
getShowLinksToObjects
public java.lang.Boolean getShowLinksToObjects()
- Returns:
- are we to show links to the objects'? report page? the JSP asks...
-
getShowInHeader
public java.lang.Boolean getShowInHeader()
- Returns:
- are we to show this inline list in the header of the report page?
-
-