freemind.controller.filter
Class FilterController

java.lang.Object
  extended by freemind.controller.filter.FilterController
All Implemented Interfaces:
MapModuleManager.MapModuleChangeObserver

public class FilterController
extends java.lang.Object
implements MapModuleManager.MapModuleChangeObserver

Author:
dimitri

Constructor Summary
FilterController(Controller c)
           
 
Method Summary
 void afterMapClose(MapModule pOldMapModule, Mode pOldMode)
           
 void afterMapModuleChange(MapModule oldMapModule, Mode oldMode, MapModule newMapModule, Mode newMode)
           
 void beforeMapModuleChange(MapModule oldMapModule, Mode oldMode, MapModule newMapModule, Mode newMode)
           
static ConditionFactory getConditionFactory()
           
 javax.swing.DefaultComboBoxModel getFilterConditionModel()
           
 freemind.controller.filter.FilterToolbar getFilterToolbar()
           
 MindMap getMap()
           
 boolean isMapModuleChangeAllowed(MapModule oldMapModule, Mode oldMode, MapModule newMapModule, Mode newMode)
          The params may be null to indicate the there was no previous map, or that the last map is closed now.
 void numberOfOpenMapInformation(int number)
          To enable/disable the previous/next map actions.
 void saveConditions()
           
 void setFilterConditionModel(javax.swing.DefaultComboBoxModel filterConditionModel)
           
 void showFilterToolbar(boolean show)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FilterController

public FilterController(Controller c)
Method Detail

getFilterToolbar

public freemind.controller.filter.FilterToolbar getFilterToolbar()

showFilterToolbar

public void showFilterToolbar(boolean show)

getConditionFactory

public static ConditionFactory getConditionFactory()

getMap

public MindMap getMap()

isMapModuleChangeAllowed

public boolean isMapModuleChangeAllowed(MapModule oldMapModule,
                                        Mode oldMode,
                                        MapModule newMapModule,
                                        Mode newMode)
Description copied from interface: MapModuleManager.MapModuleChangeObserver
The params may be null to indicate the there was no previous map, or that the last map is closed now.

Specified by:
isMapModuleChangeAllowed in interface MapModuleManager.MapModuleChangeObserver

beforeMapModuleChange

public void beforeMapModuleChange(MapModule oldMapModule,
                                  Mode oldMode,
                                  MapModule newMapModule,
                                  Mode newMode)
Specified by:
beforeMapModuleChange in interface MapModuleManager.MapModuleChangeObserver

afterMapClose

public void afterMapClose(MapModule pOldMapModule,
                          Mode pOldMode)
Specified by:
afterMapClose in interface MapModuleManager.MapModuleChangeObserver

afterMapModuleChange

public void afterMapModuleChange(MapModule oldMapModule,
                                 Mode oldMode,
                                 MapModule newMapModule,
                                 Mode newMode)
Specified by:
afterMapModuleChange in interface MapModuleManager.MapModuleChangeObserver

numberOfOpenMapInformation

public void numberOfOpenMapInformation(int number)
Description copied from interface: MapModuleManager.MapModuleChangeObserver
To enable/disable the previous/next map actions.

Specified by:
numberOfOpenMapInformation in interface MapModuleManager.MapModuleChangeObserver

saveConditions

public void saveConditions()

getFilterConditionModel

public javax.swing.DefaultComboBoxModel getFilterConditionModel()

setFilterConditionModel

public void setFilterConditionModel(javax.swing.DefaultComboBoxModel filterConditionModel)