public final class StationClassFilter.StationCategory
extends java.lang.Object
implements java.lang.Cloneable
| Modifier and Type | Field and Description |
|---|---|
java.lang.String |
tagName |
| Modifier | Constructor and Description |
|---|---|
protected |
StationCategory(java.lang.String tagName,
Symbols.Category... categories) |
| Modifier and Type | Method and Description |
|---|---|
java.lang.Object |
clone() |
boolean |
inCategory(Symbols.Category testCategory)
Test if the specified category matches this category subfilter.
|
boolean |
isSelected()
Test whether this category set is enabled for viewing.
|
void |
setSelected(boolean selected)
Specify whether stations in this category set should be viewable.
|
java.lang.String |
toString()
Returns a string representation of the object.
|
protected StationCategory(java.lang.String tagName,
Symbols.Category... categories)
public final boolean inCategory(Symbols.Category testCategory)
testCategory - Category to comparepublic final boolean isSelected()
public final void setSelected(boolean selected)
selected - boolean true if this category should be viewablepublic java.lang.Object clone()
throws java.lang.CloneNotSupportedException
clone in class java.lang.Objectjava.lang.CloneNotSupportedExceptionpublic java.lang.String toString()
toString in class java.lang.Object