All Implemented Interfaces:
ComponentListener, ImageObserver, MenuContainer, Serializable, EventListener, Accessible, SwingConstants, spgn.pgn.gui.cliente.graficos.ElementoAnimado
Direct Known Subclasses:
TextoPorRangoAbs

public class TextoInd extends EtiquetaSpgnAnimado implements ComponentListener
Clase que muestra el valor de una tag en formato numerico o texto si es numerico le podemos dar un formato determinado
Author:
Ruben Palomino
See Also:
  • Constructor Details

    • TextoInd

      public TextoInd()
      Constructor
    • TextoInd

      public TextoInd(String arg0)
      Constructor
      Parameters:
      arg0 - Texto inicial
    • TextoInd

      public TextoInd(Icon arg0)
      Constructor
      Parameters:
      arg0 - icono a mostrar
    • TextoInd

      public TextoInd(String arg0, int arg1)
      constructor
      Parameters:
      arg0 - texto
      arg1 - icono
    • TextoInd

      public TextoInd(Icon arg0, int arg1)
      Constructor
      Parameters:
      arg0 - icono
      arg1 - parametro normalmente una regla
    • TextoInd

      public TextoInd(String arg0, Icon arg1, int arg2)
      Constructor
      Parameters:
      arg0 - texto
      arg1 - icono
      arg2 - parametro o regla
  • Method Details

    • setTag

      public void setTag(String pathTag)
      Asigna la tag de la cual mostrar el valor
      Parameters:
      pathTag - el path de la tag
    • getTag

      public String getTag()
      Devuelve el path de la tag
      Returns:
      el path
      See Also:
    • setValor

      public void setValor(spgn.pgn.opc.tag.ValorTag vt)
      Metodo para el sincronizador grafico no usar, es para el sistema>
      Parameters:
      vt - valorTag
    • componentShown

      public void componentShown(ComponentEvent e)
      Specified by:
      componentShown in interface ComponentListener
      Overrides:
      componentShown in class EtiquetaSimpleSpgn