Package java.util

Examples of java.util.LinkedHashMap.values()


                Dependency dependency = (Dependency) it.next();
                depsMap.put( dependency.getManagementKey(), dependency );
            }
        }

        return new ArrayList( depsMap.values() );
    }

}
View Full Code Here


            {
                tabMap = userTabMap;
            }
           
            // Tabs
            request.setAttribute("tabs", tabMap.values());       
            TabBean selectedTab =
                (TabBean) request.getPortletSession().getAttribute(SecurityResources.REQUEST_SELECT_TAB);

            if(selectedTab != null && !tabMap.containsKey(selectedTab.getId()))
            {
View Full Code Here

                selectedTab = null;
            }
           
            if(selectedTab == null)
            {
                selectedTab = (TabBean) tabMap.values().iterator().next();
            }
            JetspeedUserBean bean = new JetspeedUserBean(user);
            request.setAttribute(VIEW_USER, bean);
            if (selectedTab.getId().equals(TAB_ROLE))
            {               
View Full Code Here

    final int count = bottom - top + 1;
    for(int j = _rows.size() - 1; j >= x; --j) {
      final RowIndex ri = (RowIndex) _rows.get(j);
      ri.offsetRow(count, changed);
    }
    return changed.values();
  }
 
  /**
   * Insert columns into the specified column range; original cells in the range are shift right.
   * @param left the left column index of the column range.
View Full Code Here

    final int sz = _rows.size();
    for(int j = sz - 1; j >= 0; --j) {
      final RowIndex ri = (RowIndex) _rows.get(j);
      ri.insertColumns(left, count, -1, -1, changed);
    }
    return changed.values();
  }
 
  /**
   * Insert a square range.
   * @param left the range left column index
View Full Code Here

        //so no need to adjust sz and j
        final RowIndex dstri = getRowIndex(ri.getRow()+rowcount);
        ri.moveToNewRow(dstri, left, right, changed);
      }
    }
    return changed.values();
  }
 
  /**
   * Remove rows from the specified row range; rows below the specified range are shift up.
   * @param top the top row index of the row range.
View Full Code Here

        sz = _rows.size();
      } else {
        ri.offsetRow(count, changed);
      }
    }
    return changed.values();
  }
 
  /**
   * Remove columns from the specified column range; columns to the right of the range are shift left.
   * @param left the left column index of the column range.
View Full Code Here

      if (ri.removeColumns(left, count, -1, -1, changed)) {
        --j;
        sz = _rows.size();
      }
    }
    return changed.values();
  }
 
  /**
   * Remove a square range.
   * @param left the range left column index
View Full Code Here

        }
        j += jdiff;
        sz = _rows.size();
      }
    }
    return changed.values();
  }
 
  /**
   * Move the specified rows range up (offset < 0) or down (offset > 0) the specified number of rows. 
   * @param top the row range top index
View Full Code Here

          }
        }
        detach(row);
      }
    }
    return changed.values();
  }
 
  private void moveRangeColumnsOnly(int left, int top, int right, int bottom, int offset, Map changed) {
    final Set coloverlaps = (Set) getColumnOverlapRefs(left, top, right, bottom, new HashSet());
    final int dstleft = left + offset;
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. 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.