src/java.desktop/share/classes/javax/swing/colorchooser/AbstractColorChooserPanel.java
Print this page
*** 1,7 ****
/*
! * Copyright (c) 1998, 2014, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free Software Foundation. Oracle designates this
--- 1,7 ----
/*
! * Copyright (c) 1998, 2015, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free Software Foundation. Oracle designates this
*** 24,33 ****
--- 24,34 ----
*/
package javax.swing.colorchooser;
import java.awt.*;
+ import java.beans.BeanProperty;
import java.beans.PropertyChangeEvent;
import java.beans.PropertyChangeListener;
import javax.swing.*;
/**
*** 220,236 ****
* panel.
*
* <p>The default value is {@code true}.
*
* @param b true if the transparency of a color can be selected
- *
- * @beaninfo
- * bound: true
- * description: Sets the transparency of a color selection on or off.
- *
* @see #isColorTransparencySelectionEnabled()
*/
public void setColorTransparencySelectionEnabled(boolean b){
}
/**
* Gets whether color chooser panel allows to select the transparency
--- 221,234 ----
* panel.
*
* <p>The default value is {@code true}.
*
* @param b true if the transparency of a color can be selected
* @see #isColorTransparencySelectionEnabled()
*/
+ @BeanProperty(description
+ = "Sets the transparency of a color selection on or off.")
public void setColorTransparencySelectionEnabled(boolean b){
}
/**
* Gets whether color chooser panel allows to select the transparency