edu.stanford.smi.protegex.widget.diagram
Class WireActorInstance
java.lang.Object
|
+--edu.stanford.smi.protegex.layout.AbstractActor
|
+--edu.stanford.smi.protegex.layout.StandardWireActor
|
+--edu.stanford.smi.protegex.widget.diagram.WireActorInstance
- All Implemented Interfaces:
- Actor, ActorControlPointHandler, ActorDelegate, ActorEventBroadcaster, ActorEventHandler, ActorFacade, ActorInstance, ActorMovementHandler, Copyable
- public class WireActorInstance
- extends StandardWireActor
- implements ActorInstance
Description of the class
- Author:
- William Grosso
Methods inherited from class edu.stanford.smi.protegex.layout.StandardWireActor |
getBeginningControlPoint, getBeginningPoint, getBoundaryPointForLine, getEndingAttachment, getEndingControlPoint, getEndingPoint, getStartingAttachment, isWire, setBeginningControlPoint, setBeginningPoint, setEndingAttachment, setEndingControlPoint, setEndingPoint, setStartingAttachment, setTitle, tick |
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 |
_textRectangle
protected Rectangle _textRectangle
_textRenderer
protected WireTextualOverlay _textRenderer
_wireState
protected WireState _wireState
_wireGlyph
protected WireGlyph _wireGlyph
WireActorInstance
public WireActorInstance(WireGlyph glyph,
AnimationContext animationContext,
ActorLocation location,
ActorEventHandler eventHandler,
ActorMovementHandler movementHandler,
ActorControlPointHandler controlPointHandler,
DiagramWidget widget,
WireState wireState)
copy
public Object copy()
- Overrides:
copy
in class StandardWireActor
draw
public Rectangle draw(Graphics g)
- Overrides:
draw
in class StandardWireActor
getInstance
public edu.stanford.smi.protege.model.Instance getInstance()
- Specified by:
getInstance
in interface ActorInstance
isAlwaysDisplayText
public boolean isAlwaysDisplayText()
- Specified by:
isAlwaysDisplayText
in interface ActorInstance
setAlwaysDisplayText
public void setAlwaysDisplayText(boolean alwaysDisplayText)
- Specified by:
setAlwaysDisplayText
in interface ActorInstance
setInstance
public void setInstance(edu.stanford.smi.protege.model.Instance instance)
- Specified by:
setInstance
in interface ActorInstance
setInstance
public void setInstance(edu.stanford.smi.protege.model.Instance instance,
boolean createAttachmentListener)
Submit a bug report or feature request
Protege-2000 is a trademark of Stanford University.
Copyright (c) 1998-2002 Stanford University.