protected Set<Tag> getAllTags(Area area)
    {
        Set<Tag> ret = new HashSet<Tag>(area.getTags().keySet());
        for (int i = 0; i < area.getChildCount(); i++)
            ret.addAll(area.getChildAt(i).getTags().keySet());
        return ret;
    }
protected Set < Tag > getAllTags ( Area area ) { Set < Tag > ret = new HashSet < Tag > ( area . getTags ( ) . keySet ( ) ) ; for ( int i = 0 ; i < area . getChildCount ( ) ; i ++ ) ret . addAll ( area . getChildAt ( i ) . getTags ( ) . keySet ( ) ) ; return ret ; }
Obtains all the tags assigned to this area and its child areas (not all descendant areas).
@return a set of tags