Java 类javax.swing.plaf.ProgressBarUI 实例源码
项目:openjdk-jdk10
文件:JProgressBarOperator.java
/**
* Maps {@code JProgressBar.getUI()} through queue
*/
public ProgressBarUI getUI() {
return (runMapping(new MapAction<ProgressBarUI>("getUI") {
@Override
public ProgressBarUI map() {
return ((JProgressBar) getSource()).getUI();
}
}));
}
项目:openjdk-jdk10
文件:JProgressBarOperator.java
/**
* 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);
}
});
}
项目:openjdk9
文件:JProgressBarOperator.java
/**
* Maps {@code JProgressBar.getUI()} through queue
*/
public ProgressBarUI getUI() {
return (runMapping(new MapAction<ProgressBarUI>("getUI") {
@Override
public ProgressBarUI map() {
return ((JProgressBar) getSource()).getUI();
}
}));
}
项目:openjdk9
文件:JProgressBarOperator.java
/**
* 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);
}
});
}
项目:cn1
文件:JProgressBarTest.java
public void testSetGetUpdateUI() {
assertEquals("ProgressBarUI", progressBar.getUIClassID());
ProgressBarUI defaultUI = progressBar.getUI();
assertNotNull(defaultUI);
ProgressBarUI ui = new ProgressBarUI() {
};
progressBar.setUI(ui);
assertEquals(ui, progressBar.getUI());
progressBar.updateUI();
assertNotSame(ui, progressBar.getUI());
}
项目:freeVM
文件:JProgressBarTest.java
public void testSetGetUpdateUI() {
assertEquals("ProgressBarUI", progressBar.getUIClassID());
ProgressBarUI defaultUI = progressBar.getUI();
assertNotNull(defaultUI);
ProgressBarUI ui = new ProgressBarUI() {
};
progressBar.setUI(ui);
assertEquals(ui, progressBar.getUI());
progressBar.updateUI();
assertNotSame(ui, progressBar.getUI());
}
项目:freeVM
文件:JProgressBarTest.java
public void testSetGetUpdateUI() {
assertEquals("ProgressBarUI", progressBar.getUIClassID());
ProgressBarUI defaultUI = progressBar.getUI();
assertNotNull(defaultUI);
ProgressBarUI ui = new ProgressBarUI() {
};
progressBar.setUI(ui);
assertEquals(ui, progressBar.getUI());
progressBar.updateUI();
assertNotSame(ui, progressBar.getUI());
}
项目:DigitalMediaServer
文件:GuiUtil.java
public SmoothProgressBar(int min, int max, ProgressBarUI ui) {
super(min, max, ui);
}
项目:DigitalMediaServer
文件:GuiUtil.java
public CustomUIProgressBar(int min, int max, ProgressBarUI ui) {
super(min, max);
this.ui = ui;
setUI(ui);
}
项目:DigitalMediaServer
文件:GuiUtil.java
@Override
public void setUI(javax.swing.plaf.ProgressBarUI ui) {
// Always prefer our own ui if we have one
super.setUI(this.ui != null ? this.ui : ui);
}
项目:jdk8u_jdk
文件:JBProgressBar.java
@Override
public void setUI(ProgressBarUI ui) {
ui = new DarculaProgressBarUI();
super.setUI(ui);
setPreferredSize(new Dimension(getPreferredSize().width, JBUI.scale(NATIVE_LAF_HEIGHT)));
}
项目:j2se_for_android
文件:JProgressBar.java
public ProgressBarUI getUI() {
AndroidClassUtil.callEmptyMethod();
return (ProgressBarUI) null;
}
项目:j2se_for_android
文件:JProgressBar.java
public void setUI(ProgressBarUI ui) {
AndroidClassUtil.callEmptyMethod();
}
项目:javify
文件:JProgressBar.java
/**
* Sets this <code>JProgressBar</code>'s UI delegate to the default
* (obtained from the {@link UIManager}) for the current look and feel.
*/
public void updateUI()
{
setUI((ProgressBarUI) UIManager.getUI(this));
}
项目:jvm-stm
文件:JProgressBar.java
/**
* Sets this <code>JProgressBar</code>'s UI delegate to the default
* (obtained from the {@link UIManager}) for the current look and feel.
*/
public void updateUI()
{
setUI((ProgressBarUI) UIManager.getUI(this));
}
项目:cn1
文件:JProgressBar.java
public ProgressBarUI getUI() {
return (ProgressBarUI)ui;
}
项目:cn1
文件:JProgressBar.java
public void setUI(final ProgressBarUI ui) {
super.setUI(ui);
}
项目:cn1
文件:JProgressBar.java
public void updateUI() {
setUI((ProgressBarUI)UIManager.getUI(this));
}
项目:JamVM-PH
文件:JProgressBar.java
/**
* Sets this <code>JProgressBar</code>'s UI delegate to the default
* (obtained from the {@link UIManager}) for the current look and feel.
*/
public void updateUI()
{
setUI((ProgressBarUI) UIManager.getUI(this));
}
项目:classpath
文件:JProgressBar.java
/**
* Sets this <code>JProgressBar</code>'s UI delegate to the default
* (obtained from the {@link UIManager}) for the current look and feel.
*/
public void updateUI()
{
setUI((ProgressBarUI) UIManager.getUI(this));
}
项目:freeVM
文件:JProgressBar.java
public ProgressBarUI getUI() {
return (ProgressBarUI)ui;
}
项目:freeVM
文件:JProgressBar.java
public void setUI(final ProgressBarUI ui) {
super.setUI(ui);
}
项目:freeVM
文件:JProgressBar.java
public void updateUI() {
setUI((ProgressBarUI)UIManager.getUI(this));
}
项目:freeVM
文件:JProgressBar.java
public ProgressBarUI getUI() {
return (ProgressBarUI)ui;
}
项目:freeVM
文件:JProgressBar.java
public void setUI(final ProgressBarUI ui) {
super.setUI(ui);
}
项目:freeVM
文件:JProgressBar.java
public void updateUI() {
setUI((ProgressBarUI)UIManager.getUI(this));
}
项目:OpenJSharp
文件:JProgressBar.java
/**
* 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;
}
项目:OpenJSharp
文件:JProgressBar.java
/**
* 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);
}
项目:OpenJSharp
文件:JProgressBar.java
/**
* Resets the UI property to a value from the current look and feel.
*
* @see JComponent#updateUI
*/
public void updateUI() {
setUI((ProgressBarUI)UIManager.getUI(this));
}
项目:jdk8u-jdk
文件:JProgressBar.java
/**
* 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;
}
项目:jdk8u-jdk
文件:JProgressBar.java
/**
* 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);
}
项目:jdk8u-jdk
文件:JProgressBar.java
/**
* Resets the UI property to a value from the current look and feel.
*
* @see JComponent#updateUI
*/
public void updateUI() {
setUI((ProgressBarUI)UIManager.getUI(this));
}
项目:openjdk-jdk10
文件:JProgressBar.java
/**
* 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;
}
项目:openjdk-jdk10
文件:JProgressBar.java
/**
* 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);
}
项目:openjdk-jdk10
文件:JProgressBar.java
/**
* Resets the UI property to a value from the current look and feel.
*
* @see JComponent#updateUI
*/
public void updateUI() {
setUI((ProgressBarUI)UIManager.getUI(this));
}
项目:openjdk9
文件:JProgressBar.java
/**
* 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;
}
项目:openjdk9
文件:JProgressBar.java
/**
* 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);
}
项目:openjdk9
文件:JProgressBar.java
/**
* Resets the UI property to a value from the current look and feel.
*
* @see JComponent#updateUI
*/
public void updateUI() {
setUI((ProgressBarUI)UIManager.getUI(this));
}
项目:Java8CN
文件:JProgressBar.java
/**
* 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;
}
项目:Java8CN
文件:JProgressBar.java
/**
* 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);
}