Java Code Examples for javax.swing.plaf.ProgressBarUI

The following examples show how to use javax.swing.plaf.ProgressBarUI. 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 JProgressBar.getUI()} through queue
 */
public ProgressBarUI getUI() {
    return (runMapping(new MapAction<ProgressBarUI>("getUI") {
        @Override
        public ProgressBarUI map() {
            return ((JProgressBar) getSource()).getUI();
        }
    }));
}
 
Example 2
/**
 * Maps {@code JProgressBar.setUI(ProgressBarUI)} through queue
 */
public void setUI(final ProgressBarUI progressBarUI) {
    runMapping(new MapVoidAction("setUI") {
        @Override
        public void map() {
            ((JProgressBar) getSource()).setUI(progressBarUI);
        }
    });
}
 
Example 3
Source Project: jdk1.8-source-analysis   Source File: JProgressBar.java    License: Apache License 2.0 2 votes vote down vote up
/**
 * Returns the look-and-feel object that renders this component.
 *
 * @return the <code>ProgressBarUI</code> object that renders this component
 */
public ProgressBarUI getUI() {
    return (ProgressBarUI)ui;
}
 
Example 4
Source Project: jdk1.8-source-analysis   Source File: JProgressBar.java    License: Apache License 2.0 2 votes vote down vote up
/**
 * Sets the look-and-feel object that renders this component.
 *
 * @param ui  a <code>ProgressBarUI</code> object
 * @see UIDefaults#getUI
 * @beaninfo
 *        bound: true
 *       hidden: true
 *    attribute: visualUpdate true
 *  description: The UI object that implements the Component's LookAndFeel.
 */
public void setUI(ProgressBarUI ui) {
    super.setUI(ui);
}
 
Example 5
Source Project: jdk1.8-source-analysis   Source File: JProgressBar.java    License: Apache License 2.0 2 votes vote down vote up
/**
 * Resets the UI property to a value from the current look and feel.
 *
 * @see JComponent#updateUI
 */
public void updateUI() {
    setUI((ProgressBarUI)UIManager.getUI(this));
}
 
Example 6
Source Project: dragonwell8_jdk   Source File: JProgressBar.java    License: GNU General Public License v2.0 2 votes vote down vote up
/**
 * Returns the look-and-feel object that renders this component.
 *
 * @return the <code>ProgressBarUI</code> object that renders this component
 */
public ProgressBarUI getUI() {
    return (ProgressBarUI)ui;
}
 
Example 7
Source Project: dragonwell8_jdk   Source File: JProgressBar.java    License: GNU General Public License v2.0 2 votes vote down vote up
/**
 * Sets the look-and-feel object that renders this component.
 *
 * @param ui  a <code>ProgressBarUI</code> object
 * @see UIDefaults#getUI
 * @beaninfo
 *        bound: true
 *       hidden: true
 *    attribute: visualUpdate true
 *  description: The UI object that implements the Component's LookAndFeel.
 */
public void setUI(ProgressBarUI ui) {
    super.setUI(ui);
}
 
Example 8
Source Project: dragonwell8_jdk   Source File: JProgressBar.java    License: GNU General Public License v2.0 2 votes vote down vote up
/**
 * Resets the UI property to a value from the current look and feel.
 *
 * @see JComponent#updateUI
 */
public void updateUI() {
    setUI((ProgressBarUI)UIManager.getUI(this));
}
 
Example 9
Source Project: TencentKona-8   Source File: JProgressBar.java    License: GNU General Public License v2.0 2 votes vote down vote up
/**
 * Returns the look-and-feel object that renders this component.
 *
 * @return the <code>ProgressBarUI</code> object that renders this component
 */
public ProgressBarUI getUI() {
    return (ProgressBarUI)ui;
}
 
Example 10
Source Project: TencentKona-8   Source File: JProgressBar.java    License: GNU General Public License v2.0 2 votes vote down vote up
/**
 * Sets the look-and-feel object that renders this component.
 *
 * @param ui  a <code>ProgressBarUI</code> object
 * @see UIDefaults#getUI
 * @beaninfo
 *        bound: true
 *       hidden: true
 *    attribute: visualUpdate true
 *  description: The UI object that implements the Component's LookAndFeel.
 */
public void setUI(ProgressBarUI ui) {
    super.setUI(ui);
}
 
Example 11
Source Project: TencentKona-8   Source File: JProgressBar.java    License: GNU General Public License v2.0 2 votes vote down vote up
/**
 * Resets the UI property to a value from the current look and feel.
 *
 * @see JComponent#updateUI
 */
public void updateUI() {
    setUI((ProgressBarUI)UIManager.getUI(this));
}
 
Example 12
Source Project: jdk8u60   Source File: JProgressBar.java    License: GNU General Public License v2.0 2 votes vote down vote up
/**
 * Returns the look-and-feel object that renders this component.
 *
 * @return the <code>ProgressBarUI</code> object that renders this component
 */
public ProgressBarUI getUI() {
    return (ProgressBarUI)ui;
}
 
Example 13
Source Project: jdk8u60   Source File: JProgressBar.java    License: GNU General Public License v2.0 2 votes vote down vote up
/**
 * Sets the look-and-feel object that renders this component.
 *
 * @param ui  a <code>ProgressBarUI</code> object
 * @see UIDefaults#getUI
 * @beaninfo
 *        bound: true
 *       hidden: true
 *    attribute: visualUpdate true
 *  description: The UI object that implements the Component's LookAndFeel.
 */
public void setUI(ProgressBarUI ui) {
    super.setUI(ui);
}
 
Example 14
Source Project: jdk8u60   Source File: JProgressBar.java    License: GNU General Public License v2.0 2 votes vote down vote up
/**
 * Resets the UI property to a value from the current look and feel.
 *
 * @see JComponent#updateUI
 */
public void updateUI() {
    setUI((ProgressBarUI)UIManager.getUI(this));
}
 
Example 15
Source Project: JDKSourceCode1.8   Source File: JProgressBar.java    License: MIT License 2 votes vote down vote up
/**
 * Returns the look-and-feel object that renders this component.
 *
 * @return the <code>ProgressBarUI</code> object that renders this component
 */
public ProgressBarUI getUI() {
    return (ProgressBarUI)ui;
}
 
Example 16
Source Project: JDKSourceCode1.8   Source File: JProgressBar.java    License: MIT License 2 votes vote down vote up
/**
 * Sets the look-and-feel object that renders this component.
 *
 * @param ui  a <code>ProgressBarUI</code> object
 * @see UIDefaults#getUI
 * @beaninfo
 *        bound: true
 *       hidden: true
 *    attribute: visualUpdate true
 *  description: The UI object that implements the Component's LookAndFeel.
 */
public void setUI(ProgressBarUI ui) {
    super.setUI(ui);
}
 
Example 17
Source Project: JDKSourceCode1.8   Source File: JProgressBar.java    License: MIT License 2 votes vote down vote up
/**
 * Resets the UI property to a value from the current look and feel.
 *
 * @see JComponent#updateUI
 */
public void updateUI() {
    setUI((ProgressBarUI)UIManager.getUI(this));
}
 
Example 18
Source Project: openjdk-jdk8u   Source File: JProgressBar.java    License: GNU General Public License v2.0 2 votes vote down vote up
/**
 * Returns the look-and-feel object that renders this component.
 *
 * @return the <code>ProgressBarUI</code> object that renders this component
 */
public ProgressBarUI getUI() {
    return (ProgressBarUI)ui;
}
 
Example 19
Source Project: openjdk-jdk8u   Source File: JProgressBar.java    License: GNU General Public License v2.0 2 votes vote down vote up
/**
 * Sets the look-and-feel object that renders this component.
 *
 * @param ui  a <code>ProgressBarUI</code> object
 * @see UIDefaults#getUI
 * @beaninfo
 *        bound: true
 *       hidden: true
 *    attribute: visualUpdate true
 *  description: The UI object that implements the Component's LookAndFeel.
 */
public void setUI(ProgressBarUI ui) {
    super.setUI(ui);
}
 
Example 20
Source Project: openjdk-jdk8u   Source File: JProgressBar.java    License: GNU General Public License v2.0 2 votes vote down vote up
/**
 * Resets the UI property to a value from the current look and feel.
 *
 * @see JComponent#updateUI
 */
public void updateUI() {
    setUI((ProgressBarUI)UIManager.getUI(this));
}
 
Example 21
/**
 * Returns the look-and-feel object that renders this component.
 *
 * @return the <code>ProgressBarUI</code> object that renders this component
 */
public ProgressBarUI getUI() {
    return (ProgressBarUI)ui;
}
 
Example 22
/**
 * Sets the look-and-feel object that renders this component.
 *
 * @param ui  a <code>ProgressBarUI</code> object
 * @see UIDefaults#getUI
 * @beaninfo
 *        bound: true
 *       hidden: true
 *    attribute: visualUpdate true
 *  description: The UI object that implements the Component's LookAndFeel.
 */
public void setUI(ProgressBarUI ui) {
    super.setUI(ui);
}
 
Example 23
/**
 * Resets the UI property to a value from the current look and feel.
 *
 * @see JComponent#updateUI
 */
public void updateUI() {
    setUI((ProgressBarUI)UIManager.getUI(this));
}
 
Example 24
Source Project: Bytecoder   Source File: JProgressBar.java    License: Apache License 2.0 2 votes vote down vote up
/**
 * Returns the look-and-feel object that renders this component.
 *
 * @return the <code>ProgressBarUI</code> object that renders this component
 */
public ProgressBarUI getUI() {
    return (ProgressBarUI)ui;
}
 
Example 25
Source Project: Bytecoder   Source File: JProgressBar.java    License: Apache License 2.0 2 votes vote down vote up
/**
 * Sets the look-and-feel object that renders this component.
 *
 * @param ui  a <code>ProgressBarUI</code> object
 * @see UIDefaults#getUI
 */
@BeanProperty(hidden = true, visualUpdate = true, description
        = "The UI object that implements the Component's LookAndFeel.")
public void setUI(ProgressBarUI ui) {
    super.setUI(ui);
}
 
Example 26
Source Project: Bytecoder   Source File: JProgressBar.java    License: Apache License 2.0 2 votes vote down vote up
/**
 * Resets the UI property to a value from the current look and feel.
 *
 * @see JComponent#updateUI
 */
public void updateUI() {
    setUI((ProgressBarUI)UIManager.getUI(this));
}
 
Example 27
Source Project: openjdk-jdk9   Source File: JProgressBar.java    License: GNU General Public License v2.0 2 votes vote down vote up
/**
 * Returns the look-and-feel object that renders this component.
 *
 * @return the <code>ProgressBarUI</code> object that renders this component
 */
public ProgressBarUI getUI() {
    return (ProgressBarUI)ui;
}
 
Example 28
Source Project: openjdk-jdk9   Source File: JProgressBar.java    License: GNU General Public License v2.0 2 votes vote down vote up
/**
 * Sets the look-and-feel object that renders this component.
 *
 * @param ui  a <code>ProgressBarUI</code> object
 * @see UIDefaults#getUI
 */
@BeanProperty(hidden = true, visualUpdate = true, description
        = "The UI object that implements the Component's LookAndFeel.")
public void setUI(ProgressBarUI ui) {
    super.setUI(ui);
}
 
Example 29
Source Project: openjdk-jdk9   Source File: JProgressBar.java    License: GNU General Public License v2.0 2 votes vote down vote up
/**
 * Resets the UI property to a value from the current look and feel.
 *
 * @see JComponent#updateUI
 */
public void updateUI() {
    setUI((ProgressBarUI)UIManager.getUI(this));
}
 
Example 30
Source Project: jdk8u-jdk   Source File: JProgressBar.java    License: GNU General Public License v2.0 2 votes vote down vote up
/**
 * Returns the look-and-feel object that renders this component.
 *
 * @return the <code>ProgressBarUI</code> object that renders this component
 */
public ProgressBarUI getUI() {
    return (ProgressBarUI)ui;
}