Protege-2000 1.7

edu.stanford.smi.protegex.layout
Class StandardGlyphActor

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

public class StandardGlyphActor
extends AbstractActor

Icon actor

Author:
William Grosso

Field Summary
protected  ActorAttachment _endingAttachment
           
protected  Glyph _glyph
           
protected  ActorAttachment _startingAttachment
           
 
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
StandardGlyphActor(Glyph glyph, AnimationContext animationContext, ActorLocation location, ActorEventHandler eventHandler, ActorMovementHandler movementHandler, ActorControlPointHandler controlPointHandler)
           
 
Method Summary
 Object copy()
           
 Rectangle draw(Graphics g)
           
 Point getBoundaryPointForLine(Line line)
           
 ActorAttachment getEndingAttachment()
           
 ActorAttachment getStartingAttachment()
           
 boolean isWire()
           
 void setEndingAttachment(ActorAttachment attachment)
           
 void setStartingAttachment(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 Glyph _glyph

_startingAttachment

protected ActorAttachment _startingAttachment

_endingAttachment

protected ActorAttachment _endingAttachment
Constructor Detail

StandardGlyphActor

public StandardGlyphActor(Glyph 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

getBoundaryPointForLine

public Point getBoundaryPointForLine(Line line)

getEndingAttachment

public ActorAttachment getEndingAttachment()

getStartingAttachment

public ActorAttachment getStartingAttachment()

isWire

public boolean isWire()
Overrides:
isWire in class AbstractActor

setEndingAttachment

public void setEndingAttachment(ActorAttachment attachment)

setStartingAttachment

public void setStartingAttachment(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.