Java Code Examples for javax.swing.SwingWorker#firePropertyChange()

The following examples show how to use javax.swing.SwingWorker#firePropertyChange() . You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example 1
Source File: ProgressPanel.java    From jadx with Apache License 2.0 4 votes vote down vote up
public void changeLabel(SwingWorker<?, ?> task, String label) {
	task.firePropertyChange("label", null, label);
}
 
Example 2
Source File: ProgressPanel.java    From jadx with Apache License 2.0 4 votes vote down vote up
public void changeIndeterminate(SwingWorker<?, ?> task, boolean indeterminate) {
	task.firePropertyChange("indeterminate", null, indeterminate);
}
 
Example 3
Source File: ProgressPanel.java    From jadx with Apache License 2.0 4 votes vote down vote up
public void changeVisibility(SwingWorker<?, ?> task, boolean visible) {
	task.firePropertyChange("visible", null, visible);
}
 
Example 4
Source File: ProgressPanel.java    From jadx with Apache License 2.0 4 votes vote down vote up
public void changeCancelBtnVisible(SwingWorker<?, ?> task, boolean visible) {
	task.firePropertyChange("cancel-visible", null, visible);
}