javax.swing.plaf.SpinnerUI Java Examples

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