motris.gui
Class ActorController

java.lang.Object
  extended bymotris.gui.ActorController
All Implemented Interfaces:
SceneDescription.ActorListChangedListener

public class ActorController
extends java.lang.Object
implements SceneDescription.ActorListChangedListener

Toolbar with Action classes for manipulating Actors

Author:
Hendrik Dahlkamp

Nested Class Summary
 class ActorController.ActorPropertiesAction
           
 class ActorController.AddActorAction
           
 class ActorController.FindActorAction
           
 class ActorController.OpenActorListerAction
           
 class ActorController.RemoveActorAction
           
 class ActorController.SaveActorAction
           
 
Field Summary
 javax.swing.JComboBox actorNameCombo
           
 ActorController.ActorPropertiesAction actorPropertiesAction
           
 ActorController.AddActorAction addActorAction
           
static java.lang.String DROPDOWN_MENU
           
(package private)  Experiment experiment
           
 ActorController.FindActorAction findActorAction
           
(package private)  LayerList layerList
           
(package private)  LayerViewer layerViewer
           
 ActorController.RemoveActorAction removeActorAction
           
 ActorController.SaveActorAction saveActorAction
           
(package private)  SceneDescription scene
           
(package private)  javax.swing.JToolBar toolBar
           
 
Constructor Summary
ActorController(Experiment _experiment, LayerViewer _layerViewer)
           
 
Method Summary
 void actorListChanged(java.util.Vector actorList)
           
 Actor[] getSelectedActors()
           
 javax.swing.JToolBar getToolBar()
           
 boolean selectActor(Actor actor)
           
 boolean selectActor(java.lang.String name)
           
 void setToolBar(javax.swing.JToolBar toolBar)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

DROPDOWN_MENU

public static final java.lang.String DROPDOWN_MENU
See Also:
Constant Field Values

experiment

Experiment experiment

scene

SceneDescription scene

layerViewer

LayerViewer layerViewer

layerList

LayerList layerList

findActorAction

public ActorController.FindActorAction findActorAction

addActorAction

public ActorController.AddActorAction addActorAction

removeActorAction

public ActorController.RemoveActorAction removeActorAction

saveActorAction

public ActorController.SaveActorAction saveActorAction

actorPropertiesAction

public ActorController.ActorPropertiesAction actorPropertiesAction

actorNameCombo

public javax.swing.JComboBox actorNameCombo

toolBar

javax.swing.JToolBar toolBar
Constructor Detail

ActorController

public ActorController(Experiment _experiment,
                       LayerViewer _layerViewer)
Method Detail

actorListChanged

public void actorListChanged(java.util.Vector actorList)
Specified by:
actorListChanged in interface SceneDescription.ActorListChangedListener

getToolBar

public javax.swing.JToolBar getToolBar()

getSelectedActors

public Actor[] getSelectedActors()

selectActor

public boolean selectActor(java.lang.String name)

selectActor

public boolean selectActor(Actor actor)

setToolBar

public void setToolBar(javax.swing.JToolBar toolBar)