Java Code Examples for javax.swing.plaf.SpinnerUI

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