Class DefaultStatus

  • All Implemented Interfaces:
    Status

    public class DefaultStatus
    extends java.lang.Object
    implements Status
    • Constructor Summary

      Constructors 
      Constructor Description
      DefaultStatus​(java.lang.String label, long count)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String computeStatus()  
      boolean equals​(java.lang.Object obj)  
      java.util.Map<java.lang.String,​java.lang.String> getStatusProperties()  
      java.util.Map<java.lang.String,​java.lang.String> getStyleProperties()
      Defines a CSS-Property to Value mapping, where the key defines the CSS-Property and the value the according value.
      int hashCode()  
      java.lang.String toString()  
      • Methods inherited from class java.lang.Object

        clone, finalize, getClass, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • DefaultStatus

        public DefaultStatus​(java.lang.String label,
                             long count)
    • Method Detail

      • computeStatus

        public java.lang.String computeStatus()
        Specified by:
        computeStatus in interface Status
      • getStatusProperties

        public java.util.Map<java.lang.String,​java.lang.String> getStatusProperties()
        Specified by:
        getStatusProperties in interface Status
      • getStyleProperties

        public java.util.Map<java.lang.String,​java.lang.String> getStyleProperties()
        Description copied from interface: Status
        Defines a CSS-Property to Value mapping, where the key defines the CSS-Property and the value the according value. Each entry is applied to the GWTEdge style attribute. If no style should be applied in addition, return an empty map.
        Specified by:
        getStyleProperties in interface Status
        Returns:
        CSS-Property to Value-Mapping for each GWTEdge. Must NOT be null
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object
      • 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