tecgraf.javautils.gui.crud.gui.actions
Class RegistrationSelObjectDeleteAction<M,I>

java.lang.Object
  extended by javax.swing.AbstractAction
      extended by tecgraf.javautils.gui.crud.gui.actions.RegistrationAction<M,I>
          extended by tecgraf.javautils.gui.crud.gui.actions.RegistrationSelObjectDeleteAction<M,I>
Type Parameters:
M - Model
I - View
All Implemented Interfaces:
ActionListener, Serializable, Cloneable, EventListener, Action

public class RegistrationSelObjectDeleteAction<M,I>
extends RegistrationAction<M,I>

Ação do painel tabular

Author:
Tecgraf
See Also:
Serialized Form

Field Summary
 
Fields inherited from class javax.swing.AbstractAction
changeSupport, enabled
 
Fields inherited from interface javax.swing.Action
ACCELERATOR_KEY, ACTION_COMMAND_KEY, DEFAULT, DISPLAYED_MNEMONIC_INDEX_KEY, LARGE_ICON_KEY, LONG_DESCRIPTION, MNEMONIC_KEY, NAME, SELECTED_KEY, SHORT_DESCRIPTION, SMALL_ICON
 
Constructor Summary
RegistrationSelObjectDeleteAction(RegistrationMainPanel<M,I> mainPanel)
          Construtor
 
Method Summary
 void actionPerformed(ActionEvent e)
          
protected  boolean confirmDeletion(RegistrationMainPanel<M,I> mainPanel, M object)
          Implementação default para conformação de deleção.
 
Methods inherited from class tecgraf.javautils.gui.crud.gui.actions.RegistrationAction
getMainPanel
 
Methods inherited from class javax.swing.AbstractAction
addPropertyChangeListener, clone, firePropertyChange, getKeys, getPropertyChangeListeners, getValue, isEnabled, putValue, removePropertyChangeListener, setEnabled
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RegistrationSelObjectDeleteAction

public RegistrationSelObjectDeleteAction(RegistrationMainPanel<M,I> mainPanel)
Construtor

Parameters:
mainPanel - painel
Method Detail

actionPerformed

public void actionPerformed(ActionEvent e)


confirmDeletion

protected boolean confirmDeletion(RegistrationMainPanel<M,I> mainPanel,
                                  M object)
Implementação default para conformação de deleção.

Parameters:
mainPanel - painel
object - objeto.
Returns:
indicativo


Copyright © 2014 Tecgraf/PUC-Rio. All rights reserved.