Package org.openhab.model.sitemap

Examples of org.openhab.model.sitemap.Frame


  private Set<String> getRelevantItemNamesForWidgets(List<Widget> children) {
    Set<String> itemNames = new HashSet<String>();
    for(Widget child : children) {
      if (child instanceof Frame) {
        Frame frame = (Frame) child;
        String itemName = frame.getItem();
        if(itemName!=null) {
          itemNames.add(itemName);
        }
        itemNames.addAll(getRelevantItemNamesForWidgets(frame.getChildren()));
      } else {
        String itemName = child.getItem();
        if(itemName!=null) {
          itemNames.add(itemName);
        }
View Full Code Here

TOP

Related Classes of org.openhab.model.sitemap.Frame

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.