Class SymbolFilter.SymbolFlag

java.lang.Object
org.ka2ddo.yaac.filter.SymbolFilter.SymbolFlag
Enclosing class:
SymbolFilter

public class SymbolFilter.SymbolFlag extends Object
This class associates a SymbolAttr (description of one APRS symbol) with a boolean enable flag for controlling the filtering by symbol.
Author:
Andrew Pavlin, KA2DDO
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    SymbolAttr of the APRS symbol associated with the filter enabled flag.
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    Indicate whether messages from stations with this symbol are allowed.
    void
    setEnabled(boolean enabled)
    Specify whether messages from stations/objects with this symbol should be allowed.
    Returns a string representation of the object.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
  • Field Details

    • symbolAttr

      public final Symbols.SymbolAttr symbolAttr
      SymbolAttr of the APRS symbol associated with the filter enabled flag.
  • Method Details

    • toString

      public String toString()
      Returns a string representation of the object.
      Overrides:
      toString in class Object
      Returns:
      a string representation of the object.
    • isEnabled

      public boolean isEnabled()
      Indicate whether messages from stations with this symbol are allowed.
      Returns:
      boolean true if allowed for this symbol
    • setEnabled

      public void setEnabled(boolean enabled)
      Specify whether messages from stations/objects with this symbol should be allowed.
      Parameters:
      enabled - boolean true if this symbol should be accepted