edu.stanford.smi.protegex.layout
Class StandardWireActor
java.lang.Object
|
+--edu.stanford.smi.protegex.layout.AbstractActor
|
+--edu.stanford.smi.protegex.layout.StandardWireActor
- All Implemented Interfaces:
- Actor, ActorControlPointHandler, ActorDelegate, ActorEventBroadcaster, ActorEventHandler, ActorFacade, ActorMovementHandler, Copyable
- Direct Known Subclasses:
- WireActorInstance
- public class StandardWireActor
- extends AbstractActor
Description of the Class
- 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 WireGlyph _glyph
_scratchPoint
protected Point _scratchPoint
_underlyingLine
protected Line _underlyingLine
_startingAttachment
protected ActorAttachment _startingAttachment
_endingAttachment
protected ActorAttachment _endingAttachment
_BEGINNING
protected int _BEGINNING
_ENDING
protected int _ENDING
StandardWireActor
public StandardWireActor(WireGlyph 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
getBeginningControlPoint
public int getBeginningControlPoint()
getBeginningPoint
public Point getBeginningPoint()
getBoundaryPointForLine
public Point getBoundaryPointForLine(Line line)
getEndingAttachment
public ActorAttachment getEndingAttachment()
getEndingControlPoint
public int getEndingControlPoint()
getEndingPoint
public Point getEndingPoint()
getStartingAttachment
public ActorAttachment getStartingAttachment()
isWire
public boolean isWire()
- Overrides:
isWire
in class AbstractActor
setBeginningControlPoint
public void setBeginningControlPoint(int BEGINNING)
setBeginningPoint
public void setBeginningPoint(Point pt)
setEndingAttachment
public void setEndingAttachment(ActorAttachment attachment)
setEndingControlPoint
public void setEndingControlPoint(int ENDING)
setEndingPoint
public void setEndingPoint(Point pt)
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.