|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.lyra.Host.UpdateEvent
public class UpdateEvent
Event encapsulating an update from the host element. By default the only element that will trigger this element will come from the Updater class.
Updater
,
UpdateListener
Field Summary | |
---|---|
private java.util.Set<java.lang.String> |
Commands
|
private java.lang.Object |
Source
|
private java.lang.Long |
Timestamp
|
Constructor Summary | |
---|---|
UpdateEvent(java.lang.Object source,
java.lang.String... updates)
Primary constructor for the event generated. |
Method Summary | |
---|---|
java.lang.Object |
getSource()
The object on which the Event initially occurred. |
boolean |
isCurrent()
Has the Current been triggered. |
boolean |
isDatabase()
Has the Database been triggered. |
boolean |
isLibrary()
Has the Library been triggered. |
boolean |
isMixer()
Has the Mixer been triggered. |
boolean |
isOptions()
Has the Options been triggered. |
boolean |
isOutput()
Has the Output been triggered. |
boolean |
isPlayer()
Has the Player been triggered. |
boolean |
isPlaylist()
Has the Playlist been triggered. |
boolean |
isUpdate()
Has a library update process been triggered. |
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
private java.util.Set<java.lang.String> Commands
private java.lang.Object Source
private java.lang.Long Timestamp
Constructor Detail |
---|
public UpdateEvent(java.lang.Object source, java.lang.String... updates)
source
- Source object triggering the event.updates
- String commands representing updates.Method Detail |
---|
public java.lang.Object getSource()
public boolean isLibrary()
public boolean isUpdate()
public boolean isPlaylist()
public boolean isCurrent()
public boolean isDatabase()
public boolean isPlayer()
public boolean isMixer()
public boolean isOutput()
public boolean isOptions()
public java.lang.String toString()
toString
in class java.lang.Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |