Exemplo n.º 1
0
 public void setLocation(int loc) {
   if (!isFixed()) {
     for (CellSplit s : m_cellSplits) {
       s.setLocation(loc);
     }
   }
 }
Exemplo n.º 2
0
 public int getLocation() {
   int i = 0;
   for (CellSplit s : m_cellSplits) {
     i += s.getLocation();
   }
   i = i / Math.max(1, m_cellSplits.size());
   return i;
 }
Exemplo n.º 3
0
 public boolean isRowSplit() {
   for (CellSplit s : m_cellSplits) {
     if (s.isRowSplit()) {
       return true;
     }
   }
   return false;
 }