javax.swing.plaf.ProgressBarUI Java Examples

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