edu.stanford.smi.protegex.layout
Class AnimationContext
java.lang.Object
|
+--edu.stanford.smi.protegex.layout.AnimationContext
- Direct Known Subclasses:
- DiagramsAnimationContext, TilingAnimationFrame
- public class AnimationContext
- extends Object
Description of the Class
- Author:
- William Grosso
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
_zOrder
protected ZOrder _zOrder
_backgroundManager
protected BackgroundManager _backgroundManager
_coordinateSystem
protected Rectangle _coordinateSystem
_owner
protected Component _owner
_animationContextMouseEventHandler
protected AnimationContextMouseEventHandler _animationContextMouseEventHandler
_tickAction
protected edu.stanford.smi.protegex.layout.AnimationContext.TickAction _tickAction
_paintAction
protected edu.stanford.smi.protegex.layout.AnimationContext.PaintAction _paintAction
_selectionHandler
protected AnimationContextSelectionHandler _selectionHandler
AnimationContext
public AnimationContext(boolean visibleToEvents,
BackgroundManager backgroundManager,
Rectangle coordinateSystem,
Component owner,
AnimationContextMouseEventHandler animationContextMouseEventHandler)
addActorToBottom
public void addActorToBottom(Actor actor)
addActorToTop
public void addActorToTop(Actor actor)
addAnimationContextSelectionListener
public void addAnimationContextSelectionListener(AnimationContextSelectionListener newListener)
getActiveRectangle
public Rectangle getActiveRectangle()
getActiveRectangle
public Rectangle getActiveRectangle(Rectangle returnValue)
getCoordinateSystem
public Rectangle getCoordinateSystem()
getCoordinateSystem
public Rectangle getCoordinateSystem(Rectangle returnValue)
getLeadSelection
public Actor getLeadSelection()
getOwner
public Component getOwner()
getSelectedActors
public Collection getSelectedActors()
getVisibleToEvents
public boolean getVisibleToEvents()
getZOrder
public ZOrder getZOrder()
isSingleSelection
public boolean isSingleSelection()
moveActorToBottom
public void moveActorToBottom(Actor actor)
moveActorToTop
public void moveActorToTop(Actor actor)
paint
public void paint(Graphics g)
processMouseEvent
public void processMouseEvent(MouseEvent e)
processMouseMotionEvent
public void processMouseMotionEvent(MouseEvent e)
removeActor
public void removeActor(Actor actor)
removeAnimationContextSelectionListener
public void removeAnimationContextSelectionListener(AnimationContextSelectionListener oldListener)
selectActor
public void selectActor(Actor actor)
setBackgroundManager
public void setBackgroundManager(BackgroundManager backgroundManager)
setCoordinateSystem
public void setCoordinateSystem(Rectangle coordinateSystem)
setSelectedActor
public void setSelectedActor(Actor actor)
setVisibleToEvents
public void setVisibleToEvents(boolean visibleToEvents)
takeSnapshot
public void takeSnapshot(Graphics g)
unselectActor
public void unselectActor(Actor actor)
wantEvent
public boolean wantEvent(MouseEvent e)
Submit a bug report or feature request
Protege-2000 is a trademark of Stanford University.
Copyright (c) 1998-2002 Stanford University.