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
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 |
_glyph
protected Glyph _glyph
_startingAttachment
protected ActorAttachment _startingAttachment
_endingAttachment
protected ActorAttachment _endingAttachment
StandardGlyphActor
public StandardGlyphActor(Glyph glyph,
AnimationContext animationContext,
ActorLocation location,
ActorEventHandler eventHandler,
ActorMovementHandler movementHandler,
ActorControlPointHandler controlPointHandler)
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
Submit a bug report or feature request
Protege-2000 is a trademark of Stanford University.
Copyright (c) 1998-2002 Stanford University.