org.virion.jam.controlpanels
Interface ControlsProvider

All Known Subinterfaces:
Painter<T>, TreeLayout
All Known Implementing Classes:
AbstractPainter, AbstractTreeLayout, BasicLabelPainter, PolarTreeLayout, RadialTreeLayout, RectilinearTreeLayout, ScaleBarPainter, TreePane

public interface ControlsProvider

Author:
Andrew Rambaut

Method Summary
 List<Controls> getControls(boolean detachPrimaryCheckbox)
          Get a list of Controls handled by this provider.
 void getSettings(ControlsSettings settings)
          Get the settings for a given Controls object.
 void setControlPalette(ControlPalette controlPalette)
          Give the controls provider with a handle for the controlPalette object.
 void setSettings(ControlsSettings settings)
          Give the provider some settings.
 

Method Detail

setControlPalette

void setControlPalette(ControlPalette controlPalette)
Give the controls provider with a handle for the controlPalette object.

Parameters:
controlPalette -

getControls

List<Controls> getControls(boolean detachPrimaryCheckbox)
Get a list of Controls handled by this provider.

Parameters:
detachPrimaryCheckbox - When false, do nothing. When true, if controls have a "main" on/off switch (implemented as a JCheckBox), that checkbox should not be included in the controls panel but returned in
Returns:
A list of Controls
See Also:
Controls.getPrimaryCheckbox()

setSettings

void setSettings(ControlsSettings settings)
Give the provider some settings.

Parameters:
settings -

getSettings

void getSettings(ControlsSettings settings)
Get the settings for a given Controls object.

Parameters:
settings -