Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

NSTextView: Can't it be disabled?



   Hi All,


I'm aware NSTextView is not inherited from NSControl; but I'm
surprised not to find a method somewhere to *visually* disable this
widget in the API... I've also searched in the archives and through
Google w/o any success. So, should I look again (b/c it IS there)? Or
can someone confirm I won't find anything like this?

If this is the case, is there someone who knows/understands why I
couldn't disable this widget? I've succeeded in disabling any
interaction w/ the text it contains by invoking setSelectable(false)
on my instance; but it still doesn't look that good alongside some
(really) disabled controls (like NSTextField, for example, whose both
content *and* enclosure are "greyed"). IMHO It's just not that
smart...

Note: I'm aware this class is more text-oriented (since inherited from
NSText...) than some text-related controls; however it *does* sport
some visual container and I think it should then be exposed to the
*same* visual alternated representations, shouldn't it? (Do you think
I should post a feature request to Apple's Bug Reporter interface and
ask for the addition of some isEnabled() & setEnabled(boolean)
methods?)

Thanks in advance for any information on this detail,


-- 
— Frederic BLANC (email@hidden)
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Java-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/java-dev/email@hidden

This email sent to email@hidden



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.