|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.swfm.mica.core.MiSelectionManager
| Field Summary |
| Constructor Summary | |
MiSelectionManager(MiEditor editor)
Contructs a new MiSelectionManager. |
|
| Method Summary | |
boolean |
deSelectAll()
Deselects all the items in the editor. |
void |
deSelectObject(MiPart obj)
Deselects the given item. |
boolean |
getKeepOneSelectedAtAllTimes()
Gets whether to assure that AT LEAST one item is selected. |
boolean |
getManyCanBeSelectedAtOneTime()
Gets whether to assure that AT MOST one item is selected. |
MiiSelectionGraphics |
getSelectionGraphics()
Gets the class that will handle the change in appearance of selected items. |
static void |
notifyAboutNumberOfShapesSelected(MiEditor editor)
Calculates and then dispatches the appropriate action indicating how many items are selected in the given editor. |
boolean |
select(MiParts parts)
Selects all the items in the given list. |
void |
selectAdditionalObject(MiPart obj)
Selects the given item. |
boolean |
selectAll()
Selects all the items in the editor. |
void |
selectObject(MiPart obj)
Selects the given item. |
void |
setKeepOneSelectedAtAllTimes(boolean flag)
Sets whether to assure that AT LEAST one item is always selected by preventing the deselection of an item if it is the only selected item. |
void |
setManyCanBeSelectedAtOneTime(boolean flag)
Sets whether to assure that AT MOST one item is selected at any one time by deselecting the currently selected item if a new item is being selected. |
void |
setSelectionGraphics(MiiSelectionGraphics graphics)
Sets the class that will handle the change in appearance of selected items. |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public MiSelectionManager(MiEditor editor)
| Method Detail |
public void setKeepOneSelectedAtAllTimes(boolean flag)
flag - true if one item is always selectedpublic boolean getKeepOneSelectedAtAllTimes()
public void setManyCanBeSelectedAtOneTime(boolean flag)
flag - true if at most one item is to be
selectedpublic boolean getManyCanBeSelectedAtOneTime()
public void setSelectionGraphics(MiiSelectionGraphics graphics)
setSelectionGraphics in interface MiiSelectionManagergraphics - the class that will decide how to
display selected itemspublic MiiSelectionGraphics getSelectionGraphics()
getSelectionGraphics in interface MiiSelectionManagerpublic boolean selectAll()
selectAll in interface MiiSelectionManagerpublic boolean deSelectAll()
deSelectAll in interface MiiSelectionManagerpublic void selectObject(MiPart obj)
selectObject in interface MiiSelectionManagerobj - the item to selectpublic void selectAdditionalObject(MiPart obj)
selectAdditionalObject in interface MiiSelectionManagerobj - the item to selectpublic void deSelectObject(MiPart obj)
deSelectObject in interface MiiSelectionManagerobj - the item to deselectpublic boolean select(MiParts parts)
select in interface MiiSelectionManagerparts - the items to select
public static void notifyAboutNumberOfShapesSelected(MiEditor editor)
editor - the editor
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||