Class DashletSpec
- java.lang.Object
-
- org.opennms.features.vaadin.dashboard.model.DashletSpec
-
-
Constructor Summary
Constructors Constructor Description DashletSpec()Default constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DashletSpecclone()intgetBoostDuration()Returns the boost duration value.intgetBoostPriority()Returns the boost priority value for this instance.StringgetDashletName()This method returns theDashletname.intgetDuration()Return the normal duration for transitions.Map<String,String>getParameters()Returns the parameterMap.intgetPriority()Returns the normal priority of this instance.StringgetTitle()Returns the dashlet's titlevoidsetBoostDuration(int boostDuration)Sets the boost duration value of this instance.voidsetBoostPriority(int boostPriority)Sets the boost priority value.voidsetDashletName(String dashletName)This method sets theDashletname.voidsetDuration(int duration)Sets the normal duration for transitions.voidsetParameters(Map<String,String> parameters)Sets the parameterMap.voidsetPriority(int priority)Sets the priority for this instance.voidsetTitle(String title)Sets the title.
-
-
-
Method Detail
-
getDuration
public int getDuration()
Return the normal duration for transitions.- Returns:
- the duration
-
setDuration
public void setDuration(int duration)
Sets the normal duration for transitions.- Parameters:
duration- the duration to set
-
getBoostDuration
public int getBoostDuration()
Returns the boost duration value.- Returns:
- the boost duration
-
setBoostDuration
public void setBoostDuration(int boostDuration)
Sets the boost duration value of this instance.- Parameters:
boostDuration- the boost duration to be set
-
getPriority
public int getPriority()
Returns the normal priority of this instance.- Returns:
- the normal priority
-
setPriority
public void setPriority(int priority)
Sets the priority for this instance.- Parameters:
priority- the priority to be set
-
getBoostPriority
public int getBoostPriority()
Returns the boost priority value for this instance.- Returns:
- the boost priority value
-
setBoostPriority
public void setBoostPriority(int boostPriority)
Sets the boost priority value.- Parameters:
boostPriority- the boost priority value to be set
-
setDashletName
public void setDashletName(String dashletName)
This method sets theDashletname.- Parameters:
dashletName- the name to be set
-
getDashletName
public String getDashletName()
This method returns theDashletname.- Returns:
- the
Dashletname
-
getParameters
public Map<String,String> getParameters()
Returns the parameterMap.- Returns:
- the parameters
-
setParameters
public void setParameters(Map<String,String> parameters)
Sets the parameterMap.- Parameters:
parameters- the parameters to be set
-
getTitle
public String getTitle()
Returns the dashlet's title
-
setTitle
public void setTitle(String title)
Sets the title.- Parameters:
title- the title to be set
-
clone
public DashletSpec clone()
-
-