Protege-2000 1.7

edu.stanford.smi.protegex.layout
Class StandardImageActor

java.lang.Object
  |
  +--edu.stanford.smi.protegex.layout.AbstractActor
        |
        +--edu.stanford.smi.protegex.layout.StandardImageActor
All Implemented Interfaces:
Actor, ActorControlPointHandler, ActorDelegate, ActorEventBroadcaster, ActorEventHandler, ActorFacade, ActorMovementHandler, Copyable

public class StandardImageActor
extends AbstractActor

Description of the class

Author:
William Grosso

Field Summary
protected  ActorAttachment _attachment
           
protected  ImageGlyph _glyph
           
protected  Point _scratchPoint
           
 
Fields inherited from class edu.stanford.smi.protegex.layout.AbstractActor
_animationContext, _broadcaster, _controlPointHandler, _eventHandler, _lastDrawingLocation, _location, _movementHandler
 
Fields inherited from interface edu.stanford.smi.protegex.layout.ActorMovementHandler
ZERO_VELOCITY
 
Constructor Summary
StandardImageActor(ImageGlyph glyph, AnimationContext animationContext, ActorLocation location, ActorEventHandler eventHandler, ActorMovementHandler movementHandler, ActorControlPointHandler controlPointHandler)
           
 
Method Summary
 Object copy()
           
 Rectangle draw(Graphics g)
           
 ActorAttachment getAttachment()
           
 Point getBoundaryPointForLine(Line line)
           
 boolean isWire()
           
 void setAttachment(ActorAttachment attachment)
           
 void setTitle(String title)
           
 void tick(int currentTime)
           
 
Methods inherited from class edu.stanford.smi.protegex.layout.AbstractActor
addActorListener, broadcastActorDoubleClickedEvent, broadcastActorMovedEvent, broadcastActorResizedEvent, broadcastActorSelectedEvent, broadcastActorStartedMovingEvent, broadcastActorStoppedMovingEvent, canPerformIncrementalDrag, collidesWithActor, collideWithActor, getActor, getAnimationContext, getBounces, getControlPoint, getControlPointForPoint, getIsDraggable, getIsDragging, getIsResizable, getIsResizing, getIsSelectable, getIsSelected, getLocation, getMinimumSize, getPrecision, getXVelocity, getYVelocity, isInside, isLocatedAt, move, moveControlPoint, processClick, processDrag, processIncrementalDrag, processMousePress, processMouseRelease, removeActorListener, setActor, setAnimationContext, setBounces, setControlPointHandler, setCoordinateSystem, setEventHandler, setIsDraggable, setIsResizable, setIsSelectable, setIsSelected, setLocation, setMinimumSize, setMovementHandler, setPrecision, setXVelocity, setYVelocity, translate, translateControlPoint, wantEvent
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

_glyph

protected ImageGlyph _glyph

_attachment

protected ActorAttachment _attachment

_scratchPoint

protected Point _scratchPoint
Constructor Detail

StandardImageActor

public StandardImageActor(ImageGlyph glyph,
                          AnimationContext animationContext,
                          ActorLocation location,
                          ActorEventHandler eventHandler,
                          ActorMovementHandler movementHandler,
                          ActorControlPointHandler controlPointHandler)
Method Detail

copy

public Object copy()
Overrides:
copy in class AbstractActor

draw

public Rectangle draw(Graphics g)
Overrides:
draw in class AbstractActor

getAttachment

public ActorAttachment getAttachment()

getBoundaryPointForLine

public Point getBoundaryPointForLine(Line line)

isWire

public boolean isWire()
Overrides:
isWire in class AbstractActor

setAttachment

public void setAttachment(ActorAttachment attachment)

setTitle

public void setTitle(String title)
Overrides:
setTitle in class AbstractActor

tick

public void tick(int currentTime)
Overrides:
tick in class AbstractActor

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.