edu.washington.biostr.sig.brainj3d.core.server
Class AbstractViewPortController<V extends DataView>

java.lang.Object
  extended by edu.washington.biostr.sig.brainj3d.core.server.AbstractViewPortController<V>
All Implemented Interfaces:
ViewPortController<V>, Controller
Direct Known Subclasses:
SurfaceExtractor, VolumeCombiner, VolumeMorpher

public abstract class AbstractViewPortController<V extends DataView>
extends Object
implements ViewPortController<V>


Constructor Summary
AbstractViewPortController()
           
 
Method Summary
 DoTarget getTarget()
          Get the target.
 ViewPort<V> getViewPort()
          Return the view port that this controls.
 boolean isFocus()
          Within a set, a single Controller should have the focus.
 boolean isVisible()
          Return the value that visible was set to.
 void requestFocus()
          Instruct this controller to try and request the focus if possible.
 void setDoTarget(DoTarget target)
          Set the target.
 void setFocus(boolean focus)
          Set the focus.
 ViewPortController setViewPort(ViewPort<V> view)
          Set the view port for this to control.
 void setVisible(boolean visible)
          Set the visibility state.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface edu.washington.biostr.sig.brainj3d.doevents.Controller
getControl, getControlName
 

Constructor Detail

AbstractViewPortController

public AbstractViewPortController()
Method Detail

getViewPort

public ViewPort<V> getViewPort()
Description copied from interface: ViewPortController
Return the view port that this controls.

Specified by:
getViewPort in interface ViewPortController<V extends DataView>
Returns:

setViewPort

public ViewPortController setViewPort(ViewPort<V> view)
Description copied from interface: ViewPortController
Set the view port for this to control.

Specified by:
setViewPort in interface ViewPortController<V extends DataView>
Returns:

getTarget

public DoTarget getTarget()
Description copied from interface: Controller
Get the target.

Specified by:
getTarget in interface Controller
Returns:

isFocus

public boolean isFocus()
Description copied from interface: Controller
Within a set, a single Controller should have the focus.

Specified by:
isFocus in interface Controller
Returns:

isVisible

public boolean isVisible()
Description copied from interface: Controller
Return the value that visible was set to.

Specified by:
isVisible in interface Controller
Returns:

requestFocus

public void requestFocus()
Description copied from interface: Controller
Instruct this controller to try and request the focus if possible.

Specified by:
requestFocus in interface Controller

setDoTarget

public void setDoTarget(DoTarget target)
Description copied from interface: Controller
Set the target.

Specified by:
setDoTarget in interface Controller

setFocus

public void setFocus(boolean focus)
Description copied from interface: Controller
Set the focus. A single controller should have the focus with a set.

Specified by:
setFocus in interface Controller

setVisible

public void setVisible(boolean visible)
Description copied from interface: Controller
Set the visibility state. Visibility is determined externally.

Specified by:
setVisible in interface Controller


Copyright © 2006 University of Washington. All Rights Reserved.