Class UIProgressBarImpl
java.lang.Object
com.biglybt.pifimpl.local.ui.components.UIComponentImpl
com.biglybt.pifimpl.local.ui.components.UIProgressBarImpl
- All Implemented Interfaces:
UIComponent
,UIProgressBar
-
Nested Class Summary
Nested classes/interfaces inherited from interface com.biglybt.pif.ui.components.UIComponent
UIComponent.RefreshListener
-
Field Summary
Fields inherited from interface com.biglybt.pif.ui.components.UIComponent
PT_ENABLED, PT_HEIGHT_HINT, PT_SELECTED, PT_VALUE, PT_VISIBLE, PT_WIDTH_HINT
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionint
void
setPercentageComplete
(int percentage) Setting values results in a PT_VALUE property change with an Integer valueMethods inherited from class com.biglybt.pifimpl.local.ui.components.UIComponentImpl
addPropertyChangeListener, addRefreshListener, getEnabled, getProperty, getVisible, refresh, removePropertyChangeListener, removeRefreshListener, setEnabled, setProperty, setVisible
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.biglybt.pif.ui.components.UIComponent
addPropertyChangeListener, addRefreshListener, getEnabled, getProperty, getVisible, refresh, removePropertyChangeListener, removeRefreshListener, setEnabled, setProperty, setVisible
-
Constructor Details
-
UIProgressBarImpl
public UIProgressBarImpl()
-
-
Method Details
-
setPercentageComplete
public void setPercentageComplete(int percentage) Description copied from interface:UIProgressBar
Setting values results in a PT_VALUE property change with an Integer value- Specified by:
setPercentageComplete
in interfaceUIProgressBar
-
getPercentageComplete
public int getPercentageComplete()- Specified by:
getPercentageComplete
in interfaceUIProgressBar
-