tecgraf.javautils.gui.crud.gui.actions
Class RegistrationObjectAction<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.RegistrationObjectAction<M,I>
Type Parameters:
M - tipo do objeto que representa o modelo.
I - tipo do objeto que representa a interface.
All Implemented Interfaces:
ActionListener, Serializable, Cloneable, EventListener, Action
Direct Known Subclasses:
RegistrationObjectDeleteAction, RegistrationObjectEditAction

public abstract class RegistrationObjectAction<M,I>
extends RegistrationAction<M,I>

Ação genérica sobre objetos.

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
RegistrationObjectAction(RegistrationMainPanel<M,I> mainPanel, M object)
          Construtor
 
Method Summary
 M getObject()
          Retorna objeto.
 
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
 
Methods inherited from interface java.awt.event.ActionListener
actionPerformed
 

Constructor Detail

RegistrationObjectAction

public RegistrationObjectAction(RegistrationMainPanel<M,I> mainPanel,
                                M object)
Construtor

Parameters:
mainPanel - painel
object - objeto
Method Detail

getObject

public final M getObject()
Retorna objeto.

Returns:
objeto.


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