public class MetalProgressBarUI extends BasicProgressBarUI
警告:此类的序列化对象与将来的Swing版本不兼容。 当前的序列化支持适用于运行相同版本的Swing的应用程序之间的短期存储或RMI。
从1.4开始,对所有JavaBeans的长期存储的支持已经添加到java.beans
包中。 请参阅XMLEncoder
。
BasicProgressBarUI.ChangeHandler
boxRect,
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,
uninstallUI
contains,
getAccessibleChild,
getAccessibleChildrenCount,
update
public static ComponentUI createUI(JComponent c)
public void paintDeterminate(Graphics g, JComponent c)
paintDeterminate
方法。
public void paintIndeterminate(Graphics g, JComponent c)
paintIndeterminate
方法。