示例#1
0
  private void stashDefaultParams(FXContextImpl context, SafeNodeIterator nl) {

    Node n = nl.next();

    while (n != null) {

      String name = n.getAttributeValue(name("name"));
      if (name != null && name.length() > 0) {
        Object val = FXContextImpl.getParamBindingValue(n, context);
        context.putDefault(name, val);
      }
      n = nl.next();
    }
  }
示例#2
0
 public String getAttributeValue(String attName) {
   Node mine = getNode();
   return mine.getAttributeValue(name(attName));
 }