org.ka2ddo.yaac.osm
Interface VisibleEnum

All Known Implementing Classes:
AmenityCategory, AmenityType, Place, WayType

public interface VisibleEnum

Interface to be applied to enum types to specify whether instances of the enum control the visibility of the tagged objects.


Method Summary
 boolean isVisible()
          Indicate whether OSM objects tagged with this enum are visible.
 java.lang.String name()
           
 void setVisible(boolean visible)
          Set whether OSM objects tagged with this enum should be visible.
 java.lang.String toString()
           
 

Method Detail

isVisible

boolean isVisible()
Indicate whether OSM objects tagged with this enum are visible.

Returns:
boolean true if object should be visible

setVisible

void setVisible(boolean visible)
Set whether OSM objects tagged with this enum should be visible.

Parameters:
visible - boolean true if tagged objects should be visible

name

java.lang.String name()

toString

java.lang.String toString()
Overrides:
toString in class java.lang.Object