Java Code Examples for javax.swing.plaf.ColorChooserUI

The following examples show how to use javax.swing.plaf.ColorChooserUI. These examples are extracted from open source projects. You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example 1
/**
 * Maps {@code JColorChooser.getUI()} through queue
 */
public ColorChooserUI getUI() {
    return (runMapping(new MapAction<ColorChooserUI>("getUI") {
        @Override
        public ColorChooserUI map() {
            return ((JColorChooser) getSource()).getUI();
        }
    }));
}
 
Example 2
/**
 * Maps {@code JColorChooser.setUI(ColorChooserUI)} through queue
 */
public void setUI(final ColorChooserUI colorChooserUI) {
    runMapping(new MapVoidAction("setUI") {
        @Override
        public void map() {
            ((JColorChooser) getSource()).setUI(colorChooserUI);
        }
    });
}
 
Example 3
Source Project: jdk1.8-source-analysis   Source File: JColorChooser.java    License: Apache License 2.0 2 votes vote down vote up
/**
 * Returns the L&amp;F object that renders this component.
 *
 * @return the <code>ColorChooserUI</code> object that renders
 *          this component
 */
public ColorChooserUI getUI() {
    return (ColorChooserUI)ui;
}
 
Example 4
Source Project: jdk1.8-source-analysis   Source File: JColorChooser.java    License: Apache License 2.0 2 votes vote down vote up
/**
 * Sets the L&amp;F object that renders this component.
 *
 * @param ui  the <code>ColorChooserUI</code> L&amp;F object
 * @see UIDefaults#getUI
 *
 * @beaninfo
 *       bound: true
 *      hidden: true
 * description: The UI object that implements the color chooser's LookAndFeel.
 */
public void setUI(ColorChooserUI ui) {
    super.setUI(ui);
}
 
Example 5
Source Project: jdk1.8-source-analysis   Source File: JColorChooser.java    License: Apache License 2.0 2 votes vote down vote up
/**
 * Notification from the <code>UIManager</code> that the L&amp;F has changed.
 * Replaces the current UI object with the latest version from the
 * <code>UIManager</code>.
 *
 * @see JComponent#updateUI
 */
public void updateUI() {
    setUI((ColorChooserUI)UIManager.getUI(this));
}
 
Example 6
/**
 * Returns the L&amp;F object that renders this component.
 *
 * @return the <code>ColorChooserUI</code> object that renders
 *          this component
 */
public ColorChooserUI getUI() {
    return (ColorChooserUI)ui;
}
 
Example 7
/**
 * Sets the L&amp;F object that renders this component.
 *
 * @param ui  the <code>ColorChooserUI</code> L&amp;F object
 * @see UIDefaults#getUI
 *
 * @beaninfo
 *       bound: true
 *      hidden: true
 * description: The UI object that implements the color chooser's LookAndFeel.
 */
public void setUI(ColorChooserUI ui) {
    super.setUI(ui);
}
 
Example 8
/**
 * Notification from the <code>UIManager</code> that the L&amp;F has changed.
 * Replaces the current UI object with the latest version from the
 * <code>UIManager</code>.
 *
 * @see JComponent#updateUI
 */
public void updateUI() {
    setUI((ColorChooserUI)UIManager.getUI(this));
}
 
Example 9
Source Project: TencentKona-8   Source File: JColorChooser.java    License: GNU General Public License v2.0 2 votes vote down vote up
/**
 * Returns the L&amp;F object that renders this component.
 *
 * @return the <code>ColorChooserUI</code> object that renders
 *          this component
 */
public ColorChooserUI getUI() {
    return (ColorChooserUI)ui;
}
 
Example 10
Source Project: TencentKona-8   Source File: JColorChooser.java    License: GNU General Public License v2.0 2 votes vote down vote up
/**
 * Sets the L&amp;F object that renders this component.
 *
 * @param ui  the <code>ColorChooserUI</code> L&amp;F object
 * @see UIDefaults#getUI
 *
 * @beaninfo
 *       bound: true
 *      hidden: true
 * description: The UI object that implements the color chooser's LookAndFeel.
 */
public void setUI(ColorChooserUI ui) {
    super.setUI(ui);
}
 
Example 11
Source Project: TencentKona-8   Source File: JColorChooser.java    License: GNU General Public License v2.0 2 votes vote down vote up
/**
 * Notification from the <code>UIManager</code> that the L&amp;F has changed.
 * Replaces the current UI object with the latest version from the
 * <code>UIManager</code>.
 *
 * @see JComponent#updateUI
 */
public void updateUI() {
    setUI((ColorChooserUI)UIManager.getUI(this));
}
 
Example 12
Source Project: jdk8u60   Source File: JColorChooser.java    License: GNU General Public License v2.0 2 votes vote down vote up
/**
 * Returns the L&amp;F object that renders this component.
 *
 * @return the <code>ColorChooserUI</code> object that renders
 *          this component
 */
public ColorChooserUI getUI() {
    return (ColorChooserUI)ui;
}
 
Example 13
Source Project: jdk8u60   Source File: JColorChooser.java    License: GNU General Public License v2.0 2 votes vote down vote up
/**
 * Sets the L&amp;F object that renders this component.
 *
 * @param ui  the <code>ColorChooserUI</code> L&amp;F object
 * @see UIDefaults#getUI
 *
 * @beaninfo
 *       bound: true
 *      hidden: true
 * description: The UI object that implements the color chooser's LookAndFeel.
 */
public void setUI(ColorChooserUI ui) {
    super.setUI(ui);
}
 
Example 14
Source Project: jdk8u60   Source File: JColorChooser.java    License: GNU General Public License v2.0 2 votes vote down vote up
/**
 * Notification from the <code>UIManager</code> that the L&amp;F has changed.
 * Replaces the current UI object with the latest version from the
 * <code>UIManager</code>.
 *
 * @see JComponent#updateUI
 */
public void updateUI() {
    setUI((ColorChooserUI)UIManager.getUI(this));
}
 
Example 15
Source Project: JDKSourceCode1.8   Source File: JColorChooser.java    License: MIT License 2 votes vote down vote up
/**
 * Returns the L&amp;F object that renders this component.
 *
 * @return the <code>ColorChooserUI</code> object that renders
 *          this component
 */
public ColorChooserUI getUI() {
    return (ColorChooserUI)ui;
}
 
Example 16
Source Project: JDKSourceCode1.8   Source File: JColorChooser.java    License: MIT License 2 votes vote down vote up
/**
 * Sets the L&amp;F object that renders this component.
 *
 * @param ui  the <code>ColorChooserUI</code> L&amp;F object
 * @see UIDefaults#getUI
 *
 * @beaninfo
 *       bound: true
 *      hidden: true
 * description: The UI object that implements the color chooser's LookAndFeel.
 */
public void setUI(ColorChooserUI ui) {
    super.setUI(ui);
}
 
Example 17
Source Project: JDKSourceCode1.8   Source File: JColorChooser.java    License: MIT License 2 votes vote down vote up
/**
 * Notification from the <code>UIManager</code> that the L&amp;F has changed.
 * Replaces the current UI object with the latest version from the
 * <code>UIManager</code>.
 *
 * @see JComponent#updateUI
 */
public void updateUI() {
    setUI((ColorChooserUI)UIManager.getUI(this));
}
 
Example 18
Source Project: openjdk-jdk8u   Source File: JColorChooser.java    License: GNU General Public License v2.0 2 votes vote down vote up
/**
 * Returns the L&amp;F object that renders this component.
 *
 * @return the <code>ColorChooserUI</code> object that renders
 *          this component
 */
public ColorChooserUI getUI() {
    return (ColorChooserUI)ui;
}
 
Example 19
Source Project: openjdk-jdk8u   Source File: JColorChooser.java    License: GNU General Public License v2.0 2 votes vote down vote up
/**
 * Sets the L&amp;F object that renders this component.
 *
 * @param ui  the <code>ColorChooserUI</code> L&amp;F object
 * @see UIDefaults#getUI
 *
 * @beaninfo
 *       bound: true
 *      hidden: true
 * description: The UI object that implements the color chooser's LookAndFeel.
 */
public void setUI(ColorChooserUI ui) {
    super.setUI(ui);
}
 
Example 20
Source Project: openjdk-jdk8u   Source File: JColorChooser.java    License: GNU General Public License v2.0 2 votes vote down vote up
/**
 * Notification from the <code>UIManager</code> that the L&amp;F has changed.
 * Replaces the current UI object with the latest version from the
 * <code>UIManager</code>.
 *
 * @see JComponent#updateUI
 */
public void updateUI() {
    setUI((ColorChooserUI)UIManager.getUI(this));
}
 
Example 21
/**
 * Returns the L&amp;F object that renders this component.
 *
 * @return the <code>ColorChooserUI</code> object that renders
 *          this component
 */
public ColorChooserUI getUI() {
    return (ColorChooserUI)ui;
}
 
Example 22
/**
 * Sets the L&amp;F object that renders this component.
 *
 * @param ui  the <code>ColorChooserUI</code> L&amp;F object
 * @see UIDefaults#getUI
 *
 * @beaninfo
 *       bound: true
 *      hidden: true
 * description: The UI object that implements the color chooser's LookAndFeel.
 */
public void setUI(ColorChooserUI ui) {
    super.setUI(ui);
}
 
Example 23
/**
 * Notification from the <code>UIManager</code> that the L&amp;F has changed.
 * Replaces the current UI object with the latest version from the
 * <code>UIManager</code>.
 *
 * @see JComponent#updateUI
 */
public void updateUI() {
    setUI((ColorChooserUI)UIManager.getUI(this));
}
 
Example 24
Source Project: Bytecoder   Source File: JColorChooser.java    License: Apache License 2.0 2 votes vote down vote up
/**
 * Returns the L&amp;F object that renders this component.
 *
 * @return the <code>ColorChooserUI</code> object that renders
 *          this component
 */
public ColorChooserUI getUI() {
    return (ColorChooserUI)ui;
}
 
Example 25
Source Project: Bytecoder   Source File: JColorChooser.java    License: Apache License 2.0 2 votes vote down vote up
/**
 * Sets the L&amp;F object that renders this component.
 *
 * @param ui  the <code>ColorChooserUI</code> L&amp;F object
 * @see UIDefaults#getUI
 */
@BeanProperty(hidden = true, description
        = "The UI object that implements the color chooser's LookAndFeel.")
public void setUI(ColorChooserUI ui) {
    super.setUI(ui);
}
 
Example 26
Source Project: Bytecoder   Source File: JColorChooser.java    License: Apache License 2.0 2 votes vote down vote up
/**
 * Notification from the <code>UIManager</code> that the L&amp;F has changed.
 * Replaces the current UI object with the latest version from the
 * <code>UIManager</code>.
 *
 * @see JComponent#updateUI
 */
public void updateUI() {
    setUI((ColorChooserUI)UIManager.getUI(this));
}
 
Example 27
Source Project: openjdk-jdk9   Source File: JColorChooser.java    License: GNU General Public License v2.0 2 votes vote down vote up
/**
 * Returns the L&amp;F object that renders this component.
 *
 * @return the <code>ColorChooserUI</code> object that renders
 *          this component
 */
public ColorChooserUI getUI() {
    return (ColorChooserUI)ui;
}
 
Example 28
Source Project: openjdk-jdk9   Source File: JColorChooser.java    License: GNU General Public License v2.0 2 votes vote down vote up
/**
 * Sets the L&amp;F object that renders this component.
 *
 * @param ui  the <code>ColorChooserUI</code> L&amp;F object
 * @see UIDefaults#getUI
 */
@BeanProperty(hidden = true, description
        = "The UI object that implements the color chooser's LookAndFeel.")
public void setUI(ColorChooserUI ui) {
    super.setUI(ui);
}
 
Example 29
Source Project: openjdk-jdk9   Source File: JColorChooser.java    License: GNU General Public License v2.0 2 votes vote down vote up
/**
 * Notification from the <code>UIManager</code> that the L&amp;F has changed.
 * Replaces the current UI object with the latest version from the
 * <code>UIManager</code>.
 *
 * @see JComponent#updateUI
 */
public void updateUI() {
    setUI((ColorChooserUI)UIManager.getUI(this));
}
 
Example 30
Source Project: jdk8u-jdk   Source File: JColorChooser.java    License: GNU General Public License v2.0 2 votes vote down vote up
/**
 * Returns the L&amp;F object that renders this component.
 *
 * @return the <code>ColorChooserUI</code> object that renders
 *          this component
 */
public ColorChooserUI getUI() {
    return (ColorChooserUI)ui;
}