- All Superinterfaces:
- java.util.EventListener
- public interface EditableListener
- extends java.util.EventListener
This listener type is for Editable Swing components, i.e. for those that
support such actions as add, edit, remove. There are currently JEditableTable
and JEditableTree. All functions have boolean return type, and Editable
components will check for it before performing actual action to the component's
data model. If any of the listeners will return false, action will not be
performed, i.e. actual delete will only be performed if all registered listeners
will return true at elementIsRemoved.
canRemove
public boolean canRemove(EditableEvent event)