com.threerings.tudey.client.cursor
Class EntryCursor

java.lang.Object
  extended by com.threerings.expr.SimpleScope
      extended by com.threerings.tudey.client.cursor.Cursor
          extended by com.threerings.tudey.client.cursor.EntryCursor
All Implemented Interfaces:
Scope, ScopeUpdateListener, Compositable, Tickable
Direct Known Subclasses:
AreaCursor, PathCursor, PlaceableCursor, TileCursor

public abstract class EntryCursor
extends Cursor

Represents an entry.


Field Summary
 
Fields inherited from interface com.threerings.expr.Scope
EPOCH, NOW
 
Constructor Summary
EntryCursor(TudeyContext ctx, TudeySceneView view)
          Creates a new entry cursor.
 
Method Summary
abstract  TudeySceneModel.Entry getEntry()
          Returns a reference to the most recently set entry state.
abstract  Shape getShape()
          Returns a reference to the shape of the entry (or null for none).
abstract  void update(TudeySceneModel.Entry entry)
          Updates the cursor with new entry state.
 
Methods inherited from class com.threerings.tudey.client.cursor.Cursor
composite, getScopeName, tick
 
Methods inherited from class com.threerings.expr.SimpleScope
addListener, dispose, get, getParentScope, removeListener, scopeUpdated
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EntryCursor

public EntryCursor(TudeyContext ctx,
                   TudeySceneView view)
Creates a new entry cursor.

Method Detail

getEntry

public abstract TudeySceneModel.Entry getEntry()
Returns a reference to the most recently set entry state.


getShape

public abstract Shape getShape()
Returns a reference to the shape of the entry (or null for none).


update

public abstract void update(TudeySceneModel.Entry entry)
Updates the cursor with new entry state.



Copyright © 2011. All Rights Reserved.