Example #1
0
  private LayoutParams theComponent(String cellName) {
    if (cellName.length() == 0
        || cellName.equals(EXPAND_HORIZONTAL)
        || cellName.equals(EXPAND_VERTICAL)) return null;

    EvaLayout.LayoutParams lp;
    for (int ii = 0; ii < getChildCount(); ii++) {
      lp = (EvaLayout.LayoutParams) getChildAt(ii).getLayoutParams();
      if (lp.name.equals(cellName)) return lp;
    }
    log.severe(
        "theComponent",
        "Component " + cellName + " not found in the container laying out " + lay.getName() + "!");
    return null;
  }
Example #2
0
 public boolean checkMisprog(boolean sayAgain, String varName) {
   if (sayAgain)
     log.severe("out", varName + " is null during operation, is xmelonSchema misprogrammed?");
   return sayAgain;
 }