Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

ledestin.swing
Interface EditableListener  view EditableListener download EditableListener.java

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.


Method Summary
 boolean canRemove(EditableEvent event)
           
 

Method Detail

canRemove

public boolean canRemove(EditableEvent event)