jfreerails.controller
Interface ModelRoot

All Superinterfaces:
MoveExecutor
All Known Implementing Classes:
ModelRootImpl

public interface ModelRoot
extends MoveExecutor

Defines methods and constants that GUI classes can use to access shared data.

Author:
Luke

Nested Class Summary
static class ModelRoot.Property
           
static class ModelRoot.Value
           
 
Method Summary
 java.lang.Object getProperty(ModelRoot.Property property)
           
 boolean is(ModelRoot.Property property, java.lang.Object value)
          Tests whether the specified property has the specified value.
 void sendCommand(Message2Server c)
           
 void setProperty(ModelRoot.Property property, java.lang.Object newValue)
           
 
Methods inherited from interface jfreerails.controller.MoveExecutor
doMove, doPreMove, getPrincipal, getWorld, tryDoMove
 

Method Detail

sendCommand

void sendCommand(Message2Server c)

setProperty

void setProperty(ModelRoot.Property property,
                 java.lang.Object newValue)

is

boolean is(ModelRoot.Property property,
           java.lang.Object value)
Tests whether the specified property has the specified value.


getProperty

java.lang.Object getProperty(ModelRoot.Property property)