Package org.ka2ddo.yaac.filter
Class SymbolFilter.SymbolFlag
java.lang.Object
org.ka2ddo.yaac.filter.SymbolFilter.SymbolFlag
- Enclosing class:
- SymbolFilter
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
Modifier and TypeFieldDescriptionfinal Symbols.SymbolAttr
SymbolAttr of the APRS symbol associated with the filterenabled
flag. -
Method Summary
Modifier and TypeMethodDescriptionboolean
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.toString()
Returns a string representation of the object.
-
Field Details
-
symbolAttr
SymbolAttr of the APRS symbol associated with the filterenabled
flag.
-
-
Method Details
-
toString
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
-