Lines Matching refs:styleBits

141 @synthesize styleBits;
156 + (NSUInteger) styleMaskForStyleBits:(jint)styleBits {
158 if (IS(styleBits, DECORATED)) {
160 if (IS(styleBits, CLOSEABLE)) type |= NSClosableWindowMask;
161 if (IS(styleBits, MINIMIZABLE)) type |= NSMiniaturizableWindowMask;
162 if (IS(styleBits, RESIZABLE)) type |= NSResizableWindowMask;
167 if (IS(styleBits, TEXTURED)) type |= NSTexturedBackgroundWindowMask;
168 if (IS(styleBits, UNIFIED)) type |= NSUnifiedTitleAndToolbarWindowMask;
169 if (IS(styleBits, UTILITY)) type |= NSUtilityWindowMask;
170 if (IS(styleBits, HUD)) type |= NSHUDWindowMask;
171 if (IS(styleBits, SHEET)) type |= NSDocModalWindowMask;
172 if (IS(styleBits, NONACTIVATING)) type |= NSNonactivatingPanelMask;
220 return isSnowLeopardOrLower() && IS(self.styleBits, RESIZABLE);
238 styleBits:(jint)bits
281 self.styleBits = bits;
282 [self setPropertiesForStyleBits:styleBits mask:MASK(_METHOD_PROP_BITMASK)];
395 return self.isEnabled && IS(self.styleBits, SHOULD_BECOME_KEY);
400 return self.isEnabled && IS(self.styleBits, SHOULD_BECOME_MAIN);
405 return IS(self.styleBits, MODAL_EXCLUDED);
585 if (!IS(self.styleBits, IS_DIALOG)) {
587 } else if ((opposite != NULL) && IS(self.styleBits, IS_MODAL)) {
723 if (IS(self.styleBits, DECORATED)) {
752 if (IS(self.styleBits, CLOSEABLE)) {
756 if (IS(self.styleBits, MINIMIZABLE)) {
760 if (IS(self.styleBits, ZOOMABLE)) {
764 if (IS(self.styleBits, RESIZABLE)) {
790 (JNIEnv *env, jobject obj, jlong contentViewPtr, jlong styleBits, jdouble x, jdouble y, jdouble w, jdouble h)
803 styleBits:styleBits
833 jint newBits = window.styleBits & ~mask | bits & mask;
845 window.styleBits = newBits;
979 [window updateMinMaxSize:IS(window.styleBits, RESIZABLE)];