java.lang.Object
org.fluidsynth.api.Status
- All Implemented Interfaces:
- java.io.Serializable
- public class Status
- extends java.lang.Object
- implements java.io.Serializable
Manger of status messages displayed in progress bars, and the
status panel. The only instance of this class listens to INFO level
log messages from Log, formats these messages, broadcasts
the formatted messages via property change events, and maintains a
record of the last message sent (see getStatus() 55 ). Status
messages can be generated by any object in the system using Log.info() 55 .
|
Constructor Summary |
private |
Status()
Create a Status instance. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PROP_STATUS
public static final java.lang.String PROP_STATUS
- Property name of the status property.
- See Also:
- Constant Field Values
status
private java.lang.String status
propertySupport
private java.beans.PropertyChangeSupport propertySupport
me
private static Status me
Status
private Status()
- Create a Status instance.
onlyInstance
public static Status onlyInstance()
- Return the singleon instance of this class.
getStatus
public java.lang.String getStatus()
- Get the current status.
setStatus
private void setStatus(java.lang.String value)
- Set the current status. Property change listeners are notified of the change.
addPropertyChangeListener
public void addPropertyChangeListener(java.beans.PropertyChangeListener listener)
- Add a property change listener.
removePropertyChangeListener
public void removePropertyChangeListener(java.beans.PropertyChangeListener listener)
- Remove a property change listener.