org.ka2ddo.yaac.filter
Class SymbolFilter.SymbolFlag
java.lang.Object
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.
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 |
symbolAttr
public final Symbols.SymbolAttr symbolAttr
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