edu.stanford.smi.protege.util
Interface Selectable
- All Known Subinterfaces:
- ClsWidget, SlotWidget, TabWidget, ValuesComponent, Widget
- All Known Implementing Classes:
- AbstractClsWidget, AbstractSelectableComponent, AbstractSlotWidget, AbstractTabWidget, edu.stanford.smi.protege.widget.AbstractValuesComponent, InstanceValuesComponent, SelectableContainer, SelectableList, SelectableTable, SelectableTree
- public interface Selectable
A generic interface for things that are selectable. Often (always?) in this app listeners don't really care if they
are listening to a List or a Table or a Tree. They just want to find out when the selection changes and to be able
to find out what the current selection list. This interface allows listeners to do this. There are a variety of
adapters available that turn component specific selection events into Selectable events. There are also Selectable
versions of all of the standard components.
- Author:
- Ray Fergerson
addSelectionListener
public void addSelectionListener(SelectionListener listener)
clearSelection
public void clearSelection()
getSelection
public Collection getSelection()
notifySelectionListeners
public void notifySelectionListeners()
removeSelectionListener
public void removeSelectionListener(SelectionListener listener)
Submit a bug report or feature request
Protégé is a trademark of Stanford University.
Copyright (c) 1998-2004 Stanford University.