<Swing Dev> [10] RFR JDK-8184325: Add subcomponents accessor methods to JColorChooserOperator

Vikrant Agarwal vikrant.v.agarwal at oracle.com
Thu Jul 13 08:53:30 UTC 2017


Hi All,

Please review the following fix:

Bug : HYPERLINK "https://bugs.openjdk.java.net/browse/JDK-8184325"JDK-8184325

JDK 10 Webrev:  http://cr.openjdk.java.net/~vagarwal/8184325/webrev.00/

Summary: 

This is to  add the following subcomponents accessor methods to JColorChooserOperator in Jemmy:

public JSpinnerOperator getHueSpinnerOperator() 
public JSpinnerOperator getSaturationSpinnerOperator() 
public JSpinnerOperator getValueSpinnerOperator() 
public JSpinnerOperator getTransparencySpinnerOperator() 
public JSpinnerOperator getLightnessSpinnerOperator() 
public JSpinnerOperator getRedSpinnerOperator() 
public JSpinnerOperator getGreenSpinnerOperator() 
public JSpinnerOperator getBlueSpinnerOperator() 
public JSpinnerOperator getAlphaSpinnerOperator() 
public JSpinnerOperator getCyanSpinnerOperator() 
public JSpinnerOperator getMagentaSpinnerOperator() 
public JSpinnerOperator getYellowSpinnerOperator() 
public JSpinnerOperator getBlackSpinnerOperator() 
public JTextFieldOperator getColorCodeTextFieldOperator()


Similar methods for respective sliders.

 

We are first getting the selected tab index through getSelectedTabIndex(..) and then using this to get the respective operator.

 

Best Regards,

Vikrant
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.openjdk.java.net/pipermail/swing-dev/attachments/20170713/35b93f6f/attachment.html>


More information about the swing-dev mailing list