com.swfm.mica.core
Interface MiiSelectionManager

All Known Implementing Classes:
MiSelectionManager

public interface MiiSelectionManager

Version:
%I% %G%
Author:
Michael L. Davis

Method Summary
 boolean deSelectAll()
          Deselects all the items in the given editor.
 void deSelectObject(MiPart part)
          Deselects the given item.
 MiiSelectionGraphics getSelectionGraphics()
          Gets the class that will handle the change in appearance of selected items.
 boolean select(MiParts parts)
          Selects all the items in the given list.
 void selectAdditionalObject(MiPart part)
          Selects the given item.
 boolean selectAll()
          Selects all the items in the given editor.
 void selectObject(MiPart part)
          Selects the given item.
 void setSelectionGraphics(MiiSelectionGraphics graphics)
          Sets the class that will handle the change in appearance of selected items.
 

Method Detail

setSelectionGraphics

public void setSelectionGraphics(MiiSelectionGraphics graphics)
Sets the class that will handle the change in appearance of selected items.

Parameters:
graphics - the class that will decide how to display selected items

getSelectionGraphics

public MiiSelectionGraphics getSelectionGraphics()
Gets the class that will handle the change in appearance of selected items.

Returns:
the class that will decide how to display selected items

selectAll

public boolean selectAll()
Selects all the items in the given editor.

Returns:
true if something new was selected

deSelectAll

public boolean deSelectAll()
Deselects all the items in the given editor.

Returns:
true if something was selected

selectObject

public void selectObject(MiPart part)
Selects the given item.

Parameters:
part - the item to select

selectAdditionalObject

public void selectAdditionalObject(MiPart part)
Selects the given item. No other items are deselected.

Parameters:
part - the item to select

deSelectObject

public void deSelectObject(MiPart part)
Deselects the given item.

Parameters:
part - the item to deselect

select

public boolean select(MiParts parts)
Selects all the items in the given list.

Parameters:
parts - the items to select
Returns:
true if something new was selected