Lines Matching defs:params

123     void instantPreInit(XCreateWindowParams params) {
130 * initialize params.
132 void preInit(XCreateWindowParams params) {
135 embedded = Boolean.TRUE.equals(params.get(EMBEDDED));
136 visible = Boolean.TRUE.equals(params.get(VISIBLE));
138 Object parent = params.get(PARENT);
142 Long parentWindowID = (Long)params.get(PARENT_WINDOW);
148 Long eventMask = (Long)params.get(EVENT_MASK);
152 params.put(EVENT_MASK, mask);
162 void postInit(XCreateWindowParams params) {
171 * Creates window using parameters <code>params</code>
172 * If params contain flag DELAYED doesn't do anything.
176 protected final void init(XCreateWindowParams params) {
182 if (!Boolean.TRUE.equals(params.get(DELAYED))) {
183 preInit(params);
184 create(params);
185 postInit(params);
187 instantPreInit(params);
188 delayedParams = params;
260 public XBaseWindow (XCreateWindowParams params) {
261 init(params);
276 * @throws IllegalArgumentException if params is null
278 protected void checkParams(XCreateWindowParams params) {
279 if (params == null) {
282 params.putIfNull(PARENT_WINDOW, Long.valueOf(XToolkit.getDefaultRootWindow()));
283 params.putIfNull(BOUNDS, new Rectangle(DEF_LOCATION, DEF_LOCATION, MIN_SIZE, MIN_SIZE));
284 params.putIfNull(DEPTH, Integer.valueOf((int)XConstants.CopyFromParent));
285 params.putIfNull(VISUAL, Long.valueOf(XConstants.CopyFromParent));
286 params.putIfNull(VISUAL_CLASS, Integer.valueOf((int)XConstants.InputOnly));
287 params.putIfNull(VALUE_MASK, Long.valueOf(XConstants.CWEventMask));
288 Rectangle bounds = (Rectangle)params.get(BOUNDS);
292 Long eventMaskObj = (Long)params.get(EVENT_MASK);
297 params.put(EVENT_MASK, Long.valueOf(eventMask));
301 * Creates window with parameters specified by <code>params</code>
304 private final void create(XCreateWindowParams params) {
309 checkParams(params);
311 long value_mask = ((Long)params.get(VALUE_MASK)).longValue();
313 Long eventMask = (Long)params.get(EVENT_MASK);
317 Long border_pixel = (Long)params.get(BORDER_PIXEL);
323 Long colormap = (Long)params.get(COLORMAP);
328 Long background_pixmap = (Long)params.get(BACKGROUND_PIXMAP);
334 Long parentWindow = (Long)params.get(PARENT_WINDOW);
335 Rectangle bounds = (Rectangle)params.get(BOUNDS);
336 Integer depth = (Integer)params.get(DEPTH);
337 Integer visual_class = (Integer)params.get(VISUAL_CLASS);
338 Long visual = (Long)params.get(VISUAL);
339 Boolean overrideRedirect = (Boolean)params.get(OVERRIDE_REDIRECT);
345 Boolean saveUnder = (Boolean)params.get(SAVE_UNDER);
351 Integer backingStore = (Integer)params.get(BACKING_STORE);
357 Integer bitGravity = (Integer)params.get(BIT_GRAVITY);
364 log.fine("Creating window for " + this + " with the following attributes: \n" + params);