public abstract class DashboardComponent extends Object implements IDashboardComponent
Constructor and Description |
---|
DashboardComponent() |
Modifier and Type | Method and Description |
---|---|
int |
compareTo(IDashboardComponent o)
Compare component order
|
boolean |
equals(Object obj) |
String |
getDescription()
Returns a localized description
|
String |
getName()
Returns the Name
|
int |
getOrder()
Returns the Order
|
Plugin |
getPlugin()
Returns the Plugin
|
String |
getRight()
Returns the Right
|
int |
getZone()
Returns the Zone
|
int |
hashCode() |
boolean |
isEnabled()
Tells if the component is enabled
|
void |
setLocale(Locale locale)
Sets the locale
|
void |
setName(String strName)
Sets the Name
|
void |
setOrder(int nOrder)
Sets the Order
|
void |
setPlugin(Plugin plugin)
Sets the Plugin
|
void |
setRight(String strRight)
Sets the Right
|
void |
setZone(int nZone)
Sets the Zone
|
String |
toString() |
getDashboardData
public String getName()
getName
in interface IDashboardComponent
public void setName(String strName)
setName
in interface IDashboardComponent
strName
- The Namepublic String getRight()
getRight
in interface IDashboardComponent
public void setRight(String strRight)
setRight
in interface IDashboardComponent
strRight
- The Rightpublic int getZone()
getZone
in interface IDashboardComponent
public void setZone(int nZone)
setZone
in interface IDashboardComponent
nZone
- The Zonepublic int getOrder()
getOrder
in interface IDashboardComponent
public void setOrder(int nOrder)
setOrder
in interface IDashboardComponent
nOrder
- The Orderpublic Plugin getPlugin()
getPlugin
in interface IDashboardComponent
public void setPlugin(Plugin plugin)
setPlugin
in interface IDashboardComponent
plugin
- The pluginpublic int compareTo(IDashboardComponent o)
compareTo
in interface Comparable<IDashboardComponent>
o
- The component to compare topublic boolean isEnabled()
isEnabled
in interface IDashboardComponent
public void setLocale(Locale locale)
setLocale
in interface Localizable
locale
- The localepublic String getDescription()
IDashboardComponent
getDescription
in interface IDashboardComponent
Copyright © 2020 City of Paris. All rights reserved.