public void showTabsCaption() {
   Iterator<Component> iter = navigatorContainer.iterator();
   while (iter.hasNext()) {
     ButtonTabImpl comp = (ButtonTabImpl) iter.next();
     comp.showCaption();
   }
 }
 public void setNavigatorWidth(String width) {
   navigatorContainer.setWidth(width);
   Iterator<Component> i = navigatorContainer.iterator();
   while (i.hasNext()) {
     Component childComponent = i.next();
     childComponent.setWidth(width);
   }
 }
  private void toggleMaximized(final Component panel, final boolean maximized) {
    for (Iterator<Component> it = root.iterator(); it.hasNext(); ) {
      it.next().setVisible(!maximized);
    }
    dashboardPanels.setVisible(true);

    for (Iterator<Component> it = dashboardPanels.iterator(); it.hasNext(); ) {
      Component c = it.next();
      c.setVisible(!maximized);
    }

    if (maximized) {
      panel.setVisible(true);
      panel.addStyleName("max");
    } else {
      panel.removeStyleName("max");
    }
  }
 private void clearTabSelection(boolean setDefaultIcon) {
   Iterator<Component> iterator = navigatorContainer.iterator();
   if (setDefaultIcon) {
     while (iterator.hasNext()) {
       Component btn = iterator.next();
       if (btn.getStyleName().contains(TAB_SELECTED_STYLENAME)) {
         btn.removeStyleName(TAB_SELECTED_STYLENAME);
         setDefaulButtonIcon(btn, false);
       }
     }
   } else {
     while (iterator.hasNext()) {
       Component btn = iterator.next();
       if (btn.getStyleName().contains(TAB_SELECTED_STYLENAME)) {
         btn.removeStyleName(TAB_SELECTED_STYLENAME);
       }
     }
   }
 }