public final class VisibleCtls
extends java.lang.Object
implements java.io.Serializable
Constructor and Description |
---|
VisibleCtls() |
Modifier and Type | Method and Description |
---|---|
boolean |
containsEnum(java.lang.Enum e)
Report whether the specified Enum value is registered in this VisibleEnum.
|
void |
copyInto(VisibleCtls dest)
Copy the settings in this VisibleCtls into another instance.
|
boolean |
isVisible(java.lang.Enum e)
Indicate whether OSM objects tagged with this enum are visible.
|
void |
remove(java.lang.Enum e)
Remove the specified Enum from the map.
|
void |
setVisible(java.lang.Enum e,
boolean visible)
Set whether OSM objects tagged with this enum should be visible.
|
int |
size()
Report the number of Enums with associated visibility flags.
|
boolean |
toggleVisible(java.lang.Enum e)
Indicate whether OSM objects tagged with this enum are visible.
|
public boolean isVisible(java.lang.Enum e)
e
- Enum whose visibility should be testedpublic void setVisible(java.lang.Enum e, boolean visible)
e
- Enum whose visibility should be specifiedvisible
- boolean true if tagged objects should be visiblepublic boolean toggleVisible(java.lang.Enum e)
e
- Enum whose visibility should be flippedpublic void remove(java.lang.Enum e)
e
- Enum to removepublic int size()
public boolean containsEnum(java.lang.Enum e)
e
- Enum to test forpublic void copyInto(VisibleCtls dest)
dest
- VisibleCtls object to receive copied settings from this object