edu.stanford.smi.protegex.layout
Class StandardActorEventHandler
java.lang.Object
|
+--edu.stanford.smi.protegex.layout.ActorDelegateImpl
|
+--edu.stanford.smi.protegex.layout.StandardActorEventHandler
- All Implemented Interfaces:
- ActorDelegate, ActorEventHandler, Copyable
- public final class StandardActorEventHandler
- extends ActorDelegateImpl
- implements ActorEventHandler
Aggregates DraggingHandler and a ResizingHandler
- Author:
- William Grosso
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
StandardActorEventHandler
public StandardActorEventHandler(Actor actor)
StandardActorEventHandler
public StandardActorEventHandler(Actor actor,
ResizingHandler actorResizingHandler,
ActorDraggingHandler actorDraggingHandler)
canPerformIncrementalDrag
public boolean canPerformIncrementalDrag(int deltaX,
int deltaY)
- Specified by:
canPerformIncrementalDrag
in interface ActorEventHandler
copy
public Object copy()
- Specified by:
copy
in interface Copyable
getDraggingHandler
public Class getDraggingHandler()
getIsDraggable
public boolean getIsDraggable()
- Specified by:
getIsDraggable
in interface ActorEventHandler
getIsDragging
public boolean getIsDragging()
- Specified by:
getIsDragging
in interface ActorEventHandler
getIsResizable
public boolean getIsResizable()
- Specified by:
getIsResizable
in interface ActorEventHandler
getIsResizing
public boolean getIsResizing()
- Specified by:
getIsResizing
in interface ActorEventHandler
getIsSelectable
public boolean getIsSelectable()
- Specified by:
getIsSelectable
in interface ActorEventHandler
getIsSelected
public boolean getIsSelected()
- Specified by:
getIsSelected
in interface ActorEventHandler
getResizingHandler
public Class getResizingHandler()
processClick
public void processClick(MouseEvent e)
- Specified by:
processClick
in interface ActorEventHandler
processDrag
public void processDrag(MouseEvent e)
- Specified by:
processDrag
in interface ActorEventHandler
processIncrementalDrag
public void processIncrementalDrag(int deltaX,
int deltaY)
- Specified by:
processIncrementalDrag
in interface ActorEventHandler
processMousePress
public void processMousePress(MouseEvent e)
- Specified by:
processMousePress
in interface ActorEventHandler
processMouseRelease
public void processMouseRelease(MouseEvent e)
- Specified by:
processMouseRelease
in interface ActorEventHandler
setActor
public void setActor(Actor actor)
- Specified by:
setActor
in interface ActorDelegate
- Overrides:
setActor
in class ActorDelegateImpl
setIsDraggable
public void setIsDraggable(boolean isDraggable)
- Specified by:
setIsDraggable
in interface ActorEventHandler
setIsResizable
public void setIsResizable(boolean isResizable)
- Specified by:
setIsResizable
in interface ActorEventHandler
setIsSelectable
public void setIsSelectable(boolean isSelectable)
- Specified by:
setIsSelectable
in interface ActorEventHandler
setIsSelected
public void setIsSelected(boolean isSelected)
- Specified by:
setIsSelected
in interface ActorEventHandler
wantEvent
public boolean wantEvent(MouseEvent e)
- Specified by:
wantEvent
in interface ActorEventHandler
Submit a bug report or feature request
Protege-2000 is a trademark of Stanford University.
Copyright (c) 1998-2002 Stanford University.