javax.swing.plaf.ColorChooserUI Java Examples

The following examples show how to use javax.swing.plaf.ColorChooserUI. 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
Source File: JColorChooserOperator.java    From openjdk-jdk9 with GNU General Public License v2.0 5 votes vote down vote up
/**
 * 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
Source File: JColorChooserOperator.java    From openjdk-jdk9 with GNU General Public License v2.0 5 votes vote down vote up
/**
 * 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 File: JColorChooser.java    From openjdk-8-source with 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 #4
Source File: JColorChooser.java    From jdk8u-jdk with 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 #5
Source File: JColorChooser.java    From jdk8u-jdk with 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 #6
Source File: JColorChooser.java    From jdk8u-jdk with 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 #7
Source File: JColorChooser.java    From Java8CN with 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 #8
Source File: JColorChooser.java    From Java8CN with 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 #9
Source File: JColorChooser.java    From Java8CN with 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 #10
Source File: JColorChooser.java    From hottub with 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 #11
Source File: JColorChooser.java    From hottub with 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 #12
Source File: JColorChooser.java    From hottub with 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 #13
Source File: JColorChooser.java    From openjdk-8-source with 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 #14
Source File: JColorChooser.java    From openjdk-8-source with 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 #15
Source File: JColorChooser.java    From openjdk-jdk9 with 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 #16
Source File: JColorChooser.java    From openjdk-8 with 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 #17
Source File: JColorChooser.java    From openjdk-8 with 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 #18
Source File: JColorChooser.java    From openjdk-8 with 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 #19
Source File: JColorChooser.java    From jdk8u_jdk with 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 #20
Source File: JColorChooser.java    From jdk8u_jdk with 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 #21
Source File: JColorChooser.java    From jdk8u_jdk with 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 #22
Source File: JColorChooser.java    From jdk8u-jdk with 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 #23
Source File: JColorChooser.java    From jdk8u-jdk with 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 #24
Source File: JColorChooser.java    From jdk8u-jdk with 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 #25
Source File: JColorChooser.java    From jdk8u-dev-jdk with 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 #26
Source File: JColorChooser.java    From jdk8u-dev-jdk with 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 #27
Source File: JColorChooser.java    From jdk8u-dev-jdk with 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 #28
Source File: JColorChooser.java    From JDKSourceCode1.8 with 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 #29
Source File: JColorChooser.java    From jdk1.8-source-analysis with 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 #30
Source File: JColorChooser.java    From jdk1.8-source-analysis with 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));
}