Protege-2000 1.7

edu.stanford.smi.protegex.layout
Interface Actor

All Superinterfaces:
ActorControlPointHandler, ActorDelegate, ActorEventBroadcaster, ActorEventHandler, ActorFacade, ActorMovementHandler, Copyable
All Known Implementing Classes:
AbstractActor

public interface Actor
extends ActorFacade, ActorEventBroadcaster, ActorEventHandler, ActorMovementHandler, ActorControlPointHandler

An actor is a loose conglomeration of behaviors, centered around the notion of a sprite. It aggregates most functionality (along the lines of "hot spot" analysis. The chief pieces of functionality lurk in: ActorLocation ActorEventHandler ActorMovementHandler ActorControlPointHandler A Glyph (which has a shape -- a singleton) An ActorEventBroadcaster In addition, actors can be attached to other actors. The semantics are: If A is attached to B then B's location helps to determine A's location (but not necessarily vice-versa) Actors also know about their AnimationFrame (the frame in which they are displayed). Unfortunately, Actors have an absolutely huge interface, because they act as a facade to their aggregated objects. There's a lot of methods here and most of the implementations are truly trivial.

Author:
William Grosso

Fields inherited from interface edu.stanford.smi.protegex.layout.ActorMovementHandler
ZERO_VELOCITY
 
Methods inherited from interface edu.stanford.smi.protegex.layout.ActorFacade
draw, getAnimationContext, getBoundaryPointForLine, getLocation, isInside, isLocatedAt, isWire, move, setAnimationContext, setControlPointHandler, setCoordinateSystem, setEventHandler, setLocation, setMovementHandler, setTitle, translate
 
Methods inherited from interface edu.stanford.smi.protegex.layout.Copyable
copy
 
Methods inherited from interface edu.stanford.smi.protegex.layout.ActorEventBroadcaster
addActorListener, broadcastActorDoubleClickedEvent, broadcastActorMovedEvent, broadcastActorResizedEvent, broadcastActorSelectedEvent, broadcastActorStartedMovingEvent, broadcastActorStoppedMovingEvent, removeActorListener
 
Methods inherited from interface edu.stanford.smi.protegex.layout.ActorEventHandler
canPerformIncrementalDrag, getIsDraggable, getIsDragging, getIsResizable, getIsResizing, getIsSelectable, getIsSelected, processClick, processDrag, processIncrementalDrag, processMousePress, processMouseRelease, setIsDraggable, setIsResizable, setIsSelectable, setIsSelected, wantEvent
 
Methods inherited from interface edu.stanford.smi.protegex.layout.ActorDelegate
getActor, setActor, setLocation
 
Methods inherited from interface edu.stanford.smi.protegex.layout.ActorMovementHandler
collidesWithActor, collideWithActor, getBounces, getXVelocity, getYVelocity, setBounces, setXVelocity, setYVelocity, tick
 
Methods inherited from interface edu.stanford.smi.protegex.layout.ActorControlPointHandler
getControlPoint, getControlPointForPoint, getMinimumSize, getPrecision, moveControlPoint, setMinimumSize, setPrecision, translateControlPoint, wantEvent
 


Protege-2000 1.7

Submit a bug report or feature request
Protege-2000 is a trademark of Stanford University.
Copyright (c) 1998-2002 Stanford University.