Class DashboardComponent

    • Constructor Detail

      • DashboardComponent

        public DashboardComponent()
    • Method Detail

      • getName

        public java.lang.String getName()
        Returns the Name
        Specified by:
        getName in interface IDashboardComponent
        Returns:
        The Name
      • setName

        public void setName​(java.lang.String strName)
        Sets the Name
        Specified by:
        setName in interface IDashboardComponent
        Parameters:
        strName - The Name
      • getRight

        public java.lang.String getRight()
        Returns the Right
        Specified by:
        getRight in interface IDashboardComponent
        Returns:
        The Right
      • setRight

        public void setRight​(java.lang.String strRight)
        Sets the Right
        Specified by:
        setRight in interface IDashboardComponent
        Parameters:
        strRight - The Right
      • setZone

        public void setZone​(int nZone)
        Sets the Zone
        Specified by:
        setZone in interface IDashboardComponent
        Parameters:
        nZone - The Zone
      • setOrder

        public void setOrder​(int nOrder)
        Sets the Order
        Specified by:
        setOrder in interface IDashboardComponent
        Parameters:
        nOrder - The Order
      • compareTo

        public int compareTo​(IDashboardComponent o)
        Compare component order
        Specified by:
        compareTo in interface java.lang.Comparable<IDashboardComponent>
        Parameters:
        o - The component to compare to
        Returns:
        less than 0 if the order is lower, 0 if equals and greater than 0 if higher
      • isEnabled

        public boolean isEnabled()
        Tells if the component is enabled
        Specified by:
        isEnabled in interface IDashboardComponent
        Returns:
        true if enabled
      • equals

        public boolean equals​(java.lang.Object obj)
        Overrides:
        equals in class java.lang.Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object
      • setLocale

        public void setLocale​(java.util.Locale locale)
        Sets the locale
        Specified by:
        setLocale in interface Localizable
        Parameters:
        locale - The locale