public class MetalProgressBarUI extends BasicProgressBarUI
警告:序列化该类的对象与以后的Swing版本不兼容。当前的序列化支持适用于短期贮藏或RMI运行相同Swing版本的应用程序之间。为1.4,为所有JavaBeans™长期存储的支持已被添加到java.beans包。请看XMLEncoder。
BasicProgressBarUI.ChangeHandlerboxRect, changeListener, progressBar| Constructor and Description |
|---|
MetalProgressBarUI() |
| Modifier and Type | Method and Description |
|---|---|
static ComponentUI |
createUI(JComponent c) |
void |
paintDeterminate(Graphics g, JComponent c)
在进度条上绘制一点特殊的突出显示。
|
void |
paintIndeterminate(Graphics g, JComponent c)
在进度条和弹跳框上绘制一点特殊的突出显示。
|
getAmountFull, getAnimationIndex, getBaseline, getBaselineResizeBehavior, getBox, getBoxLength, getCellLength, getCellSpacing, getFrameCount, getMaximumSize, getMinimumSize, getPreferredInnerHorizontal, getPreferredInnerVertical, getPreferredSize, getSelectionBackground, getSelectionForeground, getStringPlacement, incrementAnimationIndex, installDefaults, installListeners, installUI, paint, paintString, setAnimationIndex, setCellLength, setCellSpacing, startAnimationTimer, stopAnimationTimer, uninstallDefaults, uninstallListeners, uninstallUIcontains, getAccessibleChild, getAccessibleChildrenCount, updatepublic static ComponentUI createUI(JComponent c)
public void paintDeterminate(Graphics g, JComponent c)
paintDeterminate方法。
paintDeterminate 方法重写,继承类
BasicProgressBarUI
BasicProgressBarUI.paintIndeterminate(java.awt.Graphics, javax.swing.JComponent)
public void paintIndeterminate(Graphics g, JComponent c)
paintIndeterminate方法。
paintIndeterminate 方法重写,继承类
BasicProgressBarUI
BasicProgressBarUI.paintDeterminate(java.awt.Graphics, javax.swing.JComponent)
Submit a bug or feature
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
Copyright © 1993, 2014, Oracle and/or its affiliates. All rights reserved.