|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectartisynth.core.gui.selectionManager.SelectionManager
public class SelectionManager
Constructor Summary | |
---|---|
SelectionManager()
|
Method Summary | |
---|---|
void |
addAndRemoveSelected(java.util.List<ModelComponent> addList,
java.util.List<ModelComponent> removeList)
|
void |
addFilter(SelectionFilter filter)
|
void |
addSelected(java.util.List<ModelComponent> addList)
|
boolean |
addSelected(ModelComponent c)
|
void |
addSelectionListener(SelectionListener l)
|
void |
clearSelections()
|
void |
displayPopup(java.awt.event.MouseEvent evt)
|
void |
filterSelections(SelectionFilter filter)
|
java.util.LinkedList<ModelComponent> |
getCopyExpandedSelection()
Returns a list of the currently selected components, expanded to include components which also referenced by the current selection. |
java.util.LinkedList<ModelComponent> |
getCurrentSelection()
Returns a list of the currently selected components. |
SelectionFilter[] |
getFilters()
|
ModelComponent |
getLastSelected()
|
int |
getMaximumSelections()
Returns the maximum number of components that may be concurrently selected. |
int |
getNumSelected()
|
artisynth.core.gui.selectionManager.SelectionManager.ViewerSelectionFilter |
getViewerSelectionFilter()
|
artisynth.core.gui.selectionManager.SelectionManager.ViewerSelectionHandler |
getViewerSelectionHandler()
|
boolean |
isPopupMenuEnabled()
|
boolean |
removeFilter(SelectionFilter filter)
|
void |
removeSelected(java.util.List<ModelComponent> removeList)
|
boolean |
removeSelected(ModelComponent c)
|
boolean |
removeSelectionListener(SelectionListener l)
|
void |
setMaximumSelections(int max)
Sets the maximum number of components that may be concurrently selected. |
void |
setNavPanel(NavigationPanel navpanel)
|
void |
setPopupMenuEnabled(boolean enable)
|
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SelectionManager()
Method Detail |
---|
public void setNavPanel(NavigationPanel navpanel)
public artisynth.core.gui.selectionManager.SelectionManager.ViewerSelectionHandler getViewerSelectionHandler()
public artisynth.core.gui.selectionManager.SelectionManager.ViewerSelectionFilter getViewerSelectionFilter()
public void addFilter(SelectionFilter filter)
public boolean removeFilter(SelectionFilter filter)
public SelectionFilter[] getFilters()
public void filterSelections(SelectionFilter filter)
public void setMaximumSelections(int max)
max
- maximum number of concurrently selectable componentspublic int getMaximumSelections()
public java.util.LinkedList<ModelComponent> getCurrentSelection()
public java.util.LinkedList<ModelComponent> getCopyExpandedSelection()
public ModelComponent getLastSelected()
public int getNumSelected()
public void addSelected(java.util.List<ModelComponent> addList)
public void removeSelected(java.util.List<ModelComponent> removeList)
public void addAndRemoveSelected(java.util.List<ModelComponent> addList, java.util.List<ModelComponent> removeList)
public boolean addSelected(ModelComponent c)
public boolean removeSelected(ModelComponent c)
public void clearSelections()
public void addSelectionListener(SelectionListener l)
public boolean removeSelectionListener(SelectionListener l)
public boolean isPopupMenuEnabled()
public void setPopupMenuEnabled(boolean enable)
public void displayPopup(java.awt.event.MouseEvent evt)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |