Lines Matching refs:lookup
35 * DefaultLookup provides a way to customize the lookup done by the
72 public static void setDefaultLookup(DefaultLookup lookup) {
74 if (!isLookupSet && lookup == null) {
79 else if (lookup == null) {
83 lookup = new DefaultLookup();
86 AppContext.getAppContext().put(DEFAULT_LOOKUP_KEY, lookup);
88 currentDefaultLookup = lookup;
102 DefaultLookup lookup;
108 lookup = currentDefaultLookup;
112 lookup = (DefaultLookup)AppContext.getAppContext().get(
114 if (lookup == null) {
117 lookup = new DefaultLookup();
118 AppContext.getAppContext().put(DEFAULT_LOOKUP_KEY, lookup);
120 // Cache the values to make the next lookup easier.
122 currentDefaultLookup = lookup;
125 return lookup.getDefault(c, ui, key);