Examples of valueForKey()


Examples of com.webobjects.foundation.NSDictionary.valueForKey()

    NSDictionary targetDictionary = (NSDictionary) d2wContext().valueForKey("targetDictionary");
    if (targetDictionary != null) {
      StringBuilder buffer = new StringBuilder();
      buffer.append(targetDictionary.valueForKey("targetName") != null ? targetDictionary.valueForKey("targetName") : "foobar");
      buffer.append(":width=");
      buffer.append(targetDictionary.valueForKey("width") != null ? targetDictionary.valueForKey("width") : "{window.screen.width/2}");
      buffer.append(", height=");
      buffer.append(targetDictionary.valueForKey("height") != null ? targetDictionary.valueForKey("height") : "{myHeight}");
      buffer.append(',');
      buffer.append((targetDictionary.valueForKey("scrollbars") != null && targetDictionary.valueForKey("scrollbars") == "NO") ? " " : "scrollbars");
      buffer.append(", {(isResizable)?'resizable':''}, status");
View Full Code Here

Examples of com.webobjects.foundation.NSDictionary.valueForKey()

      StringBuilder buffer = new StringBuilder();
      buffer.append(targetDictionary.valueForKey("targetName") != null ? targetDictionary.valueForKey("targetName") : "foobar");
      buffer.append(":width=");
      buffer.append(targetDictionary.valueForKey("width") != null ? targetDictionary.valueForKey("width") : "{window.screen.width/2}");
      buffer.append(", height=");
      buffer.append(targetDictionary.valueForKey("height") != null ? targetDictionary.valueForKey("height") : "{myHeight}");
      buffer.append(',');
      buffer.append((targetDictionary.valueForKey("scrollbars") != null && targetDictionary.valueForKey("scrollbars") == "NO") ? " " : "scrollbars");
      buffer.append(", {(isResizable)?'resizable':''}, status");
      result = buffer.toString();
    } else {
View Full Code Here

Examples of com.webobjects.foundation.NSDictionary.valueForKey()

      StringBuilder buffer = new StringBuilder();
      buffer.append(targetDictionary.valueForKey("targetName") != null ? targetDictionary.valueForKey("targetName") : "foobar");
      buffer.append(":width=");
      buffer.append(targetDictionary.valueForKey("width") != null ? targetDictionary.valueForKey("width") : "{window.screen.width/2}");
      buffer.append(", height=");
      buffer.append(targetDictionary.valueForKey("height") != null ? targetDictionary.valueForKey("height") : "{myHeight}");
      buffer.append(',');
      buffer.append((targetDictionary.valueForKey("scrollbars") != null && targetDictionary.valueForKey("scrollbars") == "NO") ? " " : "scrollbars");
      buffer.append(", {(isResizable)?'resizable':''}, status");
      result = buffer.toString();
    } else {
View Full Code Here

Examples of com.webobjects.foundation.NSDictionary.valueForKey()

      buffer.append(":width=");
      buffer.append(targetDictionary.valueForKey("width") != null ? targetDictionary.valueForKey("width") : "{window.screen.width/2}");
      buffer.append(", height=");
      buffer.append(targetDictionary.valueForKey("height") != null ? targetDictionary.valueForKey("height") : "{myHeight}");
      buffer.append(',');
      buffer.append((targetDictionary.valueForKey("scrollbars") != null && targetDictionary.valueForKey("scrollbars") == "NO") ? " " : "scrollbars");
      buffer.append(", {(isResizable)?'resizable':''}, status");
      result = buffer.toString();
    } else {
      result = "foobar:width={window.screen.width/2}, height={myHeight}, scrollbars, {(isResizable)?'resizable':''}, status";
    }
View Full Code Here

Examples of com.webobjects.foundation.NSDictionary.valueForKey()

      buffer.append(":width=");
      buffer.append(targetDictionary.valueForKey("width") != null ? targetDictionary.valueForKey("width") : "{window.screen.width/2}");
      buffer.append(", height=");
      buffer.append(targetDictionary.valueForKey("height") != null ? targetDictionary.valueForKey("height") : "{myHeight}");
      buffer.append(',');
      buffer.append((targetDictionary.valueForKey("scrollbars") != null && targetDictionary.valueForKey("scrollbars") == "NO") ? " " : "scrollbars");
      buffer.append(", {(isResizable)?'resizable':''}, status");
      result = buffer.toString();
    } else {
      result = "foobar:width={window.screen.width/2}, height={myHeight}, scrollbars, {(isResizable)?'resizable':''}, status";
    }
View Full Code Here

Examples of com.webobjects.foundation.NSDictionary.valueForKey()

        }
        NSDictionary nsdictionary = settings();
        if (nsdictionary != null) {
            String s2;
            for (Enumeration enumeration = nsdictionary.keyEnumerator(); enumeration.hasMoreElements(); _context.takeValueForInferrableKey(
                    nsdictionary.valueForKey(s2), s2)) {
                s2 = (String) enumeration.nextElement();
            }

        }
View Full Code Here

Examples of com.webobjects.foundation.NSKeyValueCoding.valueForKey()

  protected boolean isKeyPathRequested(String keyPath) {
    if (_prefetchingKeyPaths == null) {
      NSMutableSet<String> prefetchingKeyPaths = new NSMutableSet<String>();
      NSKeyValueCoding options = options();
      if (options != null) {
        String prefetchingKeyPathsStr = (String) options.valueForKey("prefetchingKeyPaths");
        if (prefetchingKeyPathsStr != null) {
          for (String prefetchingKeyPath : prefetchingKeyPathsStr.split(",")) {
            prefetchingKeyPaths.addObject(prefetchingKeyPath);
          }
        }
View Full Code Here

Examples of com.webobjects.foundation.NSMutableArray.valueForKey()

      for (Enumeration e = ERXSystem.getProperties().keys(); e.hasMoreElements();) {
        String key = (String) e.nextElement();
        String object = "" + ERXSystem.getProperty(key);
        props.addObject(new Property(key, object));
      }
      return (NSArray) props.valueForKey("@sortAsc.key");
     }

    /**
     * <span class="en">
     * Returns the full path to the Properties file under the
View Full Code Here

Examples of com.webobjects.foundation.NSMutableArray.valueForKey()

    result.remove("ERD2WStatelessCustomComponentWithArgs");
    result.remove("D2WCustomComponent");
    result.remove("D2WCustomQueryComponent");
    //result.remove("ERDEditStringWithChoices");
    //result.remove("ERDDisplayYearsMonths");
    result = (NSMutableArray) result.valueForKey("@unique");
    return result;
  }

  public NSDictionary editors() {
    NSMutableDictionary result = new NSMutableDictionary();
View Full Code Here

Examples of com.webobjects.foundation.NSMutableDictionary.valueForKey()

    // MS: Add the "inEntityModeler" flag so that plugins can adjust their
    // behavior
    // if they need to.
    if (runInEntityModeler) {
      NSMutableDictionary modelUserInfo = _model.userInfo().mutableClone();
      NSDictionary entityModelerDict = (NSDictionary) modelUserInfo.valueForKey("_EntityModeler");
      NSMutableDictionary mutableEntityModelerDict;
      if (entityModelerDict == null) {
        mutableEntityModelerDict = new NSMutableDictionary();
      } else {
        mutableEntityModelerDict = entityModelerDict.mutableClone();
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.