Package jmri.jmrit.logixng.tools.swing
Class DeleteBean<E extends NamedBean>
- java.lang.Object
-
- jmri.jmrit.logixng.tools.swing.DeleteBean<E>
-
- Type Parameters:
E
- the type of NamedBean supported by this model
public class DeleteBean<E extends NamedBean> extends java.lang.Object
Helper class for deleting a bean
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interface
DeleteBean.DeleteTask<T>
static interface
DeleteBean.GetListenersRef<T>
-
Constructor Summary
Constructors Constructor Description DeleteBean(Manager<E> manager)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
delete(E x, boolean hasChildren, DeleteBean.DeleteTask<E> deleteTask, DeleteBean.GetListenersRef<E> getListenersRef, java.lang.String className)
boolean
delete(E x, boolean hasChildren, DeleteBean.DeleteTask<E> deleteTask, DeleteBean.GetListenersRef<E> getListenersRef, java.lang.String className, boolean modal)
-
-
-
Constructor Detail
-
DeleteBean
public DeleteBean(Manager<E> manager)
-
-
Method Detail
-
delete
public void delete(E x, boolean hasChildren, DeleteBean.DeleteTask<E> deleteTask, DeleteBean.GetListenersRef<E> getListenersRef, java.lang.String className)
-
delete
public boolean delete(E x, boolean hasChildren, DeleteBean.DeleteTask<E> deleteTask, DeleteBean.GetListenersRef<E> getListenersRef, java.lang.String className, boolean modal)
-
-