org.ka2ddo.yaac.filter
Class SymbolFilter.SymbolFlag

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

public class SymbolFilter.SymbolFlag
extends java.lang.Object

This class associates a SymbolAttr (description of one APRS symbol) with a boolean enable flag for controlling the filtering by symbol.


Field Summary
 Symbols.SymbolAttr symbolAttr
           
 
Method Summary
 boolean isEnabled()
          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.
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

symbolAttr

public final Symbols.SymbolAttr symbolAttr
Method Detail

toString

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