<Swing Dev> Review request for 8133039 Provide public API to sun.swing.UIAction#isEnabled(Object)
    Sergey Bylokhov 
    Sergey.Bylokhov at oracle.com
       
    Thu Nov 19 15:40:01 UTC 2015
    
    
  
     Probably we should strictly specify relationship between the accept 
and isEnabled?
     My assumption that the accept should always return false in case of 
disabled Action. And related issue after we open part of UIAction is 
that UIAction ignores the setEnabled() and actually contradicts the 
specification of the parent. SO this can mislead the user, that the 
accept can return true after setEnabled(false).
On 11.11.15 16:59, Andrej Golovnin wrote:
> Hi Alexander,
>
>>     You are right.
>>
>>    There is the updated fix there the sender type is Object:
>>      http://cr.openjdk.java.net/~alexsch/8133039/webrev.01
>>
>
> this one looks good for me.
>
> Best regards,
> Andrej Golovnin
>
-- 
Best regards, Sergey.
    
    
More information about the swing-dev
mailing list