org.virion.jam.panels
Class StatusProvider.Helper
java.lang.Object
org.virion.jam.panels.StatusProvider.Helper
- All Implemented Interfaces:
- StatusProvider
- Enclosing interface:
- StatusProvider
public static class StatusProvider.Helper
- extends Object
- implements StatusProvider
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
StatusProvider.Helper
public StatusProvider.Helper()
addStatusListener
public void addStatusListener(StatusListener statusListener)
- Description copied from interface:
StatusProvider
- Status providers must be able to store a list of StatusListeners. They should
then call the appropriate methods on all of these to update the status.
- Specified by:
addStatusListener
in interface StatusProvider
- Parameters:
statusListener
- the StatusListener to be added
removeStatusListener
public void removeStatusListener(StatusListener statusListener)
- Description copied from interface:
StatusProvider
- Remove the given StatusListener from the provider's list.
- Specified by:
removeStatusListener
in interface StatusProvider
- Parameters:
statusListener
- the StatusListener to be removed
fireStatusChanged
public void fireStatusChanged(int status,
String statusText)
- Specified by:
fireStatusChanged
in interface StatusProvider
addOverrideProvider
public void addOverrideProvider(StatusProvider provider)
- Specified by:
addOverrideProvider
in interface StatusProvider
removeOverrideProvider
public void removeOverrideProvider(StatusProvider provider)
- Specified by:
removeOverrideProvider
in interface StatusProvider
fireStatusButtonPressed
public void fireStatusButtonPressed()
- Specified by:
fireStatusButtonPressed
in interface StatusProvider
statusButtonPressed
public void statusButtonPressed()
- Specified by:
statusButtonPressed
in interface StatusProvider
getStatus
public int getStatus()
- Specified by:
getStatus
in interface StatusProvider
getStatusText
public String getStatusText()
- Specified by:
getStatusText
in interface StatusProvider