Lines Matching refs:hints

72     private XSizeHints hints;
416 if (hints != null) {
417 XlibWrapper.XFree(hints.pData);
418 hints = null;
448 public final void setWMHints(XWMHints hints) {
451 XlibWrapper.XSetWMHints(XToolkit.getDisplay(), getWindow(), hints.pData);
473 if (hints == null) {
475 hints = new XSizeHints(p_hints);
479 return hints;
483 if (insLog.isLoggable(PlatformLogger.FINER)) insLog.finer("Setting hints, flags " + XlibWrapper.hintsToString(flags));
486 XSizeHints hints = getHints();
488 // we want to reset PPosition in hints. This is necessary
491 hints.set_x(x);
492 hints.set_y(y);
495 hints.set_width(width);
496 hints.set_height(height);
497 } else if ((hints.get_flags() & XUtilConstants.PSize) != 0) {
501 hints.set_min_width(width);
502 hints.set_min_height(height);
503 } else if ((hints.get_flags() & XUtilConstants.PMinSize) != 0) {
511 hints.set_max_width(maxBounds.width);
513 hints.set_max_width(XToolkit.getDefaultScreenWidth());
516 hints.set_max_height(maxBounds.height);
518 hints.set_max_height(XToolkit.getDefaultScreenHeight());
521 hints.set_max_width(width);
522 hints.set_max_height(height);
524 } else if ((hints.get_flags() & XUtilConstants.PMaxSize) != 0) {
528 hints.set_max_width(maxBounds.width);
530 hints.set_max_width(XToolkit.getDefaultScreenWidth());
533 hints.set_max_height(maxBounds.height);
535 hints.set_max_height(XToolkit.getDefaultScreenHeight());
542 hints.set_flags(flags);
543 hints.set_win_gravity((int)XConstants.NorthWestGravity);
544 if (insLog.isLoggable(PlatformLogger.FINER)) insLog.finer("Setting hints, resulted flags " + XlibWrapper.hintsToString(flags) +
545 ", values " + hints);
546 XlibWrapper.XSetWMNormalHints(XToolkit.getDisplay(), getWindow(), hints.pData);
553 XSizeHints hints = getHints();
554 long flags = hints.get_flags();