Package eu.simuline.testhelpers
Interface GUIRunner.Selector
- 
- All Known Implementing Classes:
- GUIRunner.HierarchyWrapper,- GUIRunner.TestCaseLister
 - Enclosing class:
- GUIRunner
 
 static interface GUIRunner.SelectorMinimal interface for notifying about singular selection events. Implemented byGUIRunner.HierarchyWrapper, byGUIRunner.TestCaseListerand byGUIRunner.TabChangeListener.EMPTY_SELECTOR.- See Also:
- GUIRunner.TabChangeListener
 
- 
- 
Method SummaryAll Methods Instance Methods Abstract Methods Modifier and Type Method Description voidclearSelection()Clears the selection.voidregisterSelector(GUIRunner.Selector sel)Acquaints this selector with another one which is notified of the selection events of thisSelector.voidsetSelection(int index)Sets selection ofindexth item and clears other selections.
 
- 
- 
- 
Method Detail- 
setSelectionvoid setSelection(int index) Sets selection ofindexth item and clears other selections.- Parameters:
- index- a non-negative- intvalue representing the index of a testcase. **** CAUTION: This presupposes that in a tree only the leaves can be selected.
 
 - 
clearSelectionvoid clearSelection() Clears the selection.
 - 
registerSelectorvoid registerSelector(GUIRunner.Selector sel) Acquaints this selector with another one which is notified of the selection events of thisSelector. The one in the foreground is notified directly by a mouse event, whereas the one in the background is selected via registration. The one in the background in turn notifies the empty selectorGUIRunner.TabChangeListener.EMPTY_SELECTORwhich takes no actions.- Parameters:
- sel- another- Selector.
- Throws:
- java.lang.IllegalStateException- only for- GUIRunner.TabChangeListener.EMPTY_SELECTOR.
- See Also:
- GUIRunner.TabChangeListener.setSelUnSel(int)
 
 
- 
 
-