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 DashletSpec
clone()
int
getBoostDuration()
Returns the boost duration value.int
getBoostPriority()
Returns the boost priority value for this instance.String
getDashletName()
This method returns theDashlet
name.int
getDuration()
Return the normal duration for transitions.Map<String,String>
getParameters()
Returns the parameterMap
.int
getPriority()
Returns the normal priority of this instance.String
getTitle()
Returns the dashlet's titlevoid
setBoostDuration(int boostDuration)
Sets the boost duration value of this instance.void
setBoostPriority(int boostPriority)
Sets the boost priority value.void
setDashletName(String dashletName)
This method sets theDashlet
name.void
setDuration(int duration)
Sets the normal duration for transitions.void
setParameters(Map<String,String> parameters)
Sets the parameterMap
.void
setPriority(int priority)
Sets the priority for this instance.void
setTitle(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 theDashlet
name.- Parameters:
dashletName
- the name to be set
-
getDashletName
public String getDashletName()
This method returns theDashlet
name.- Returns:
- the
Dashlet
name
-
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()
-
-