Java 类javax.swing.plaf.SpinnerUI 实例源码

项目:openjdk-jdk10    文件:JSpinnerOperator.java   
/**
 * Maps {@code JSpinner.getUI()} through queue
 */
public SpinnerUI getUI() {
    return (runMapping(new MapAction<SpinnerUI>("getUI") {
        @Override
        public SpinnerUI map() {
            return ((JSpinner) getSource()).getUI();
        }
    }));
}
项目:openjdk-jdk10    文件:JSpinnerOperator.java   
/**
 * 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);
        }
    });
}
项目:openjdk9    文件:JSpinnerOperator.java   
/**
 * Maps {@code JSpinner.getUI()} through queue
 */
public SpinnerUI getUI() {
    return (runMapping(new MapAction<SpinnerUI>("getUI") {
        @Override
        public SpinnerUI map() {
            return ((JSpinner) getSource()).getUI();
        }
    }));
}
项目:openjdk9    文件:JSpinnerOperator.java   
/**
 * 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);
        }
    });
}
项目:cn1    文件:JSpinnerTest.java   
public void testSetGetUpdateUI() {
    assertEquals(spinner.getUIClassID(), "SpinnerUI");
    SpinnerUI defaultUI = spinner.getUI();
    assertNotNull(defaultUI);
    SpinnerUI ui = new SpinnerUI() {
    };
    spinner.setUI(ui);
    assertEquals(ui, spinner.getUI());
    assertTrue(propertyChangeController.isChanged("UI"));
    propertyChangeController.reset();
    spinner.updateUI();
    assertNotSame(ui, spinner.getUI());
    assertTrue(propertyChangeController.isChanged("UI"));
}
项目:freeVM    文件:JSpinnerTest.java   
public void testSetGetUpdateUI() {
    assertEquals(spinner.getUIClassID(), "SpinnerUI");
    SpinnerUI defaultUI = spinner.getUI();
    assertNotNull(defaultUI);
    SpinnerUI ui = new SpinnerUI() {
    };
    spinner.setUI(ui);
    assertEquals(ui, spinner.getUI());
    assertTrue(propertyChangeController.isChanged("UI"));
    propertyChangeController.reset();
    spinner.updateUI();
    assertNotSame(ui, spinner.getUI());
    assertTrue(propertyChangeController.isChanged("UI"));
}
项目:freeVM    文件:JSpinnerTest.java   
public void testSetGetUpdateUI() {
    assertEquals(spinner.getUIClassID(), "SpinnerUI");
    SpinnerUI defaultUI = spinner.getUI();
    assertNotNull(defaultUI);
    SpinnerUI ui = new SpinnerUI() {
    };
    spinner.setUI(ui);
    assertEquals(ui, spinner.getUI());
    assertTrue(propertyChangeController.isChanged("UI"));
    propertyChangeController.reset();
    spinner.updateUI();
    assertNotSame(ui, spinner.getUI());
    assertTrue(propertyChangeController.isChanged("UI"));
}
项目:javify    文件:JSpinner.java   
/**
 * This method resets the spinner's UI delegate to the default UI for the
 * current look and feel.
 */
public void updateUI()
{
  setUI((SpinnerUI) UIManager.getUI(this));
}
项目:jvm-stm    文件:JSpinner.java   
/**
 * This method resets the spinner's UI delegate to the default UI for the
 * current look and feel.
 */
public void updateUI()
{
  setUI((SpinnerUI) UIManager.getUI(this));
}
项目:cn1    文件:JSpinner.java   
public SpinnerUI getUI() {
    return (SpinnerUI) ui;
}
项目:cn1    文件:JSpinner.java   
public void setUI(SpinnerUI ui) {
    super.setUI(ui);
}
项目:cn1    文件:JSpinner.java   
@Override
public void updateUI() {
    setUI((SpinnerUI) UIManager.getUI(this));
}
项目:JamVM-PH    文件:JSpinner.java   
/**
 * This method resets the spinner's UI delegate to the default UI for the
 * current look and feel.
 */
public void updateUI()
{
  setUI((SpinnerUI) UIManager.getUI(this));
}
项目:classpath    文件:JSpinner.java   
/**
 * This method resets the spinner's UI delegate to the default UI for the
 * current look and feel.
 */
public void updateUI()
{
  setUI((SpinnerUI) UIManager.getUI(this));
}
项目:freeVM    文件:JSpinner.java   
public SpinnerUI getUI() {
    return (SpinnerUI) ui;
}
项目:freeVM    文件:JSpinner.java   
public void setUI(SpinnerUI ui) {
    super.setUI(ui);
}
项目:freeVM    文件:JSpinner.java   
@Override
public void updateUI() {
    setUI((SpinnerUI) UIManager.getUI(this));
}
项目:freeVM    文件:JSpinner.java   
public SpinnerUI getUI() {
    return (SpinnerUI) ui;
}
项目:freeVM    文件:JSpinner.java   
public void setUI(SpinnerUI ui) {
    super.setUI(ui);
}
项目:freeVM    文件:JSpinner.java   
@Override
public void updateUI() {
    setUI((SpinnerUI) UIManager.getUI(this));
}
项目:OpenJSharp    文件:JSpinner.java   
/**
 * 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;
}
项目:OpenJSharp    文件:JSpinner.java   
/**
 * 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);
}
项目:OpenJSharp    文件:JSpinner.java   
/**
 * 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();
}
项目:jdk8u-jdk    文件:JSpinner.java   
/**
 * 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;
}
项目:jdk8u-jdk    文件:JSpinner.java   
/**
 * 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);
}
项目:jdk8u-jdk    文件:JSpinner.java   
/**
 * 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();
}
项目:openjdk-jdk10    文件:JSpinner.java   
/**
 * 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;
}
项目:openjdk-jdk10    文件:JSpinner.java   
/**
 * 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);
}
项目:openjdk-jdk10    文件:JSpinner.java   
/**
 * 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();
}
项目:openjdk9    文件:JSpinner.java   
/**
 * 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;
}
项目:openjdk9    文件:JSpinner.java   
/**
 * 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);
}
项目:openjdk9    文件:JSpinner.java   
/**
 * 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();
}
项目:Java8CN    文件:JSpinner.java   
/**
 * 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;
}
项目:Java8CN    文件:JSpinner.java   
/**
 * 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);
}
项目:Java8CN    文件:JSpinner.java   
/**
 * 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();
}
项目:jdk8u_jdk    文件:JSpinner.java   
/**
 * 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;
}
项目:jdk8u_jdk    文件:JSpinner.java   
/**
 * 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);
}
项目:jdk8u_jdk    文件:JSpinner.java   
/**
 * 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();
}
项目:lookaside_java-1.8.0-openjdk    文件:JSpinner.java   
/**
 * 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;
}
项目:lookaside_java-1.8.0-openjdk    文件:JSpinner.java   
/**
 * 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);
}