edu.washington.biostr.sig.brainj3d.doevents
Interface Controller

All Known Subinterfaces:
DataController, ViewPortController<V>
All Known Implementing Classes:
AbstractDataController, AbstractViewPortController, BrainInfoAtlasController, CutawayController, Focus3DController, IsosurfaceController, MapController, MapController3D, Model3DGenerator, NullController, SimpleController, SurfaceAppearanceController, SurfaceDataViewUnionController, SurfaceExtractor, SurfaceVolumeDataController, VolumeCombiner, VolumeDataController, VolumeMapController, VolumeMorpher, VolumeOrder

public interface Controller

A controller provides controls for Data, Gui components or generic algorithms. The location where they are layed out is predefined.
As of this writing, data ("DataView" and "DataEdit") appear in a single tab, controls for the gui or view appear in a single tab ("Control") and everything else goes under another tab. The likely text for these tabs are "Data", "Controls" and "Advanced."

Author:
eider

Method Summary
 SwingHTMLObject getControl()
          Return the controls.
 String getControlName()
          Get the display name of the control.
 DoTarget getTarget()
          Get the target.
 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.
 void setVisible(boolean visible)
          Set the visibility state.
 

Method Detail

getControl

SwingHTMLObject getControl()
Return the controls. The name of the SwingHTMLObject should be meaningful.

Returns:

getControlName

String getControlName()
Get the display name of the control.

Returns:

getTarget

DoTarget getTarget()
Get the target.

Returns:

setDoTarget

void setDoTarget(DoTarget target)
Set the target.

Parameters:
target -

isVisible

boolean isVisible()
Return the value that visible was set to.

Returns:

setVisible

void setVisible(boolean visible)
Set the visibility state. Visibility is determined externally.

Parameters:
visible -

isFocus

boolean isFocus()
Within a set, a single Controller should have the focus.

Returns:

setFocus

void setFocus(boolean focus)
Set the focus. A single controller should have the focus with a set.

Parameters:
focus -

requestFocus

void requestFocus()
Instruct this controller to try and request the focus if possible.



Copyright © 2006 University of Washington. All Rights Reserved.