gov.virginia.dcjs.gui.event
Class DataPanelEvent

java.lang.Object
  extended bygov.virginia.dcjs.gui.event.DataPanelEvent

public class DataPanelEvent
extends java.lang.Object


Field Summary
static int ADD
          Signifies that an add event has occurred.
static int CANCEL
          Signifies that an cancel event has occurred.
static int CUSTOM
          Signifies that an custom event has occurred.
static int DELETE
          Signifies that an delete event has occurred.
static int EDIT
          Signifies that an edit event has occurred.
static int SAVE
          Signifies that an save event has occurred.
static int SUBLIST
          Signifies that an sublist event has occurred.
 
Constructor Summary
DataPanelEvent(DataPanel panel, int id, java.lang.String name)
          Build the event object for the specified panel and event id.
 
Method Summary
 int getID()
          Obtain the specific event id being provided.
 java.lang.String getName()
          Obtain the original name triggering this event.
 DataPanel getSource()
          Obtain the source DataPanel originating this event.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

ADD

public static final int ADD
Signifies that an add event has occurred.

See Also:
Constant Field Values

SUBLIST

public static final int SUBLIST
Signifies that an sublist event has occurred.

See Also:
Constant Field Values

EDIT

public static final int EDIT
Signifies that an edit event has occurred.

See Also:
Constant Field Values

SAVE

public static final int SAVE
Signifies that an save event has occurred.

See Also:
Constant Field Values

DELETE

public static final int DELETE
Signifies that an delete event has occurred.

See Also:
Constant Field Values

CANCEL

public static final int CANCEL
Signifies that an cancel event has occurred.

See Also:
Constant Field Values

CUSTOM

public static final int CUSTOM
Signifies that an custom event has occurred.

See Also:
Constant Field Values
Constructor Detail

DataPanelEvent

public DataPanelEvent(DataPanel panel,
                      int id,
                      java.lang.String name)
Build the event object for the specified panel and event id. * @param panel Source for the event. * @param id Event id. * @param name Original name of the trigger for this event.

Method Detail

getSource

public DataPanel getSource()
Obtain the source DataPanel originating this event. * @return Source DataPanel orginating this event.


getID

public int getID()
Obtain the specific event id being provided. * @return Specific event id.


getName

public java.lang.String getName()
Obtain the original name triggering this event. * @return Specific event trigger name.