multiverse.server.events
Class UITheme

java.lang.Object
  extended by multiverse.server.engine.Event
      extended by multiverse.server.events.UITheme

public class UITheme
extends Event


Field Summary
(package private)  Lock lock
           
(package private)  List<String> uiThemes
           
 
Constructor Summary
UITheme()
           
UITheme(List<String> uiThemes)
           
UITheme(MVByteBuffer buf, ClientConnection con)
           
 
Method Summary
 void addTheme(String theme)
           
 String getName()
           
 List<String> getThemes()
           
protected  void parseBytes(MVByteBuffer buf)
          load this event from the passed in buffer called by the constructor
 void setThemes(List<String> uiThemes)
           
 MVByteBuffer toBytes()
           
 
Methods inherited from class multiverse.server.engine.Event
getBuffer, getConnection, getEnqueueTime, getObjectOid, setBuffer, setConnection, setEnqueueTime, setEntity, setObject, setObjectOid, setObjectOid, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

uiThemes

List<String> uiThemes

lock

transient Lock lock
Constructor Detail

UITheme

public UITheme()

UITheme

public UITheme(MVByteBuffer buf,
               ClientConnection con)

UITheme

public UITheme(List<String> uiThemes)
Method Detail

getName

public String getName()
Specified by:
getName in class Event

setThemes

public void setThemes(List<String> uiThemes)

addTheme

public void addTheme(String theme)

getThemes

public List<String> getThemes()

toBytes

public MVByteBuffer toBytes()
Specified by:
toBytes in class Event

parseBytes

protected void parseBytes(MVByteBuffer buf)
Description copied from class: Event
load this event from the passed in buffer called by the constructor

Specified by:
parseBytes in class Event