All Implemented Interfaces:
Copyable, XMLNode, Serializable

public class Avatar extends AbstractButton
Avatar Class Used to add an avatar element with XStream
Author:
Pablo GarcĂ­a - 20/AGO/2024
See Also:
  • Constructor Details

    • Avatar

      public Avatar()
  • Method Details

    • isShowLabel

      public boolean isShowLabel()
      Returns if avatar must show the label
      Returns:
      Component must show the label
    • getValueConverter

      public String getValueConverter()
      Retrieves value for JSON serialization
      Returns:
      value
    • getChildren

      public Integer getChildren()
      Get avatar dropdown children data
      Returns:
      Avatar dropdown children data
    • getComponentTag

      public String getComponentTag()
      Description copied from class: AbstractCriteria
      Retrieve component tag
      Overrides:
      getComponentTag in class AbstractButton
      Returns:
      Component tag
    • getHelpTemplate

      public String getHelpTemplate()
      Description copied from class: Element
      Retrieve help template
      Overrides:
      getHelpTemplate in class AbstractButton
      Returns:
      Help template
    • copy

      public Avatar copy()
      Description copied from interface: Copyable
      Get a copy of this element
      Returns:
      element copy