All Superinterfaces:
TethysUIComponent
All Known Implementing Classes:
TethysUICoreLabel

public interface TethysUILabel extends TethysUIComponent
Label.
  • Method Details

    • setText

      void setText(String pText)
      Set Text.
      Parameters:
      pText - the text
    • setErrorText

      void setErrorText()
      Set error text colour.
    • getWidth

      Integer getWidth()
      Obtain the width.
      Returns:
      the width
    • setAlignment

      void setAlignment(TethysUIAlignment pAlign)
      Set Alignment.
      Parameters:
      pAlign - the alignment
    • setContextMenu

      void setContextMenu(TethysUIScrollMenu<?> pMenu)
      Set context menu.
      Parameters:
      pMenu - the context menu.
    • setIconOnly

      void setIconOnly()
      Set Icon only.
    • setTextAndIcon

      void setTextAndIcon()
      Set Text And Icon.
    • setIconAndText

      void setIconAndText()
      Set Icon and Text.
    • setTextOnly

      void setTextOnly()
      Set Text Only.
    • setIcon

      void setIcon(TethysUIIconId pId)
      Set icon for label.
      Parameters:
      pId - the icon Id
    • setIcon

      void setIcon(TethysUIArrowIconId pIcon)
      Set icon for label.
      Parameters:
      pIcon - the icon
    • setIcon

      void setIcon(TethysUIIcon pIcon)
      Set icon for label.
      Parameters:
      pIcon - the icon
    • getIconSize

      int getIconSize()
      Obtain icon size.
      Returns:
      the size
    • setIconSize

      void setIconSize(int pSize)
      Set the icon size.
      Parameters:
      pSize - the size to set