public class VisibleCtls
extends java.lang.Object
| 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 VisibleEnum 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.
|
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 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 - VisibleEnum object to receive copied settings from this object