    All Packages  Class Hierarchy  This Package  Previous  Next  Index

# Class org.jcon.df.edit.EditEvent

    java.lang.Object

       |

       +----org.jcon.df.edit.EditEvent

public class EditEvent
extends Object

Represents an event occuring during an edit. Many such events can occur and need to be processed by a single listener (controller), so this is a configurable event. Some eventTpes are acquire events.

##

ACQUIRE_COLUMN_DEF
ACQUIRE_DATABASE
BEGIN_ADD
BEGIN_CHANGE
BEGIN_DELETE
CANCEL_ADD
CANCEL_CHANGE
CLOSE
COMMAND
EDIT_STATE_CHANGED
LIST_SELECTION_CHANGED
MOVE_TO
NON_TYPICAL
OKAY_ADD
OKAY_CHANGE
ROW_INDEX_ACTIVATED
TOGGLE_STATE_CHANGED

##

EditEvent(int, String)

##

getColumnDef()
getColumnID()
getCommand()
getDatabase()
getDataSourceID()
getEditState()
getEventType()
getEventTypeString()
getPosition()
getRow()
getRowIndex()
getViewName()
getWorkerName()
isSelected()
setColumnDef(ColumnDef)
setColumnID(String)
setCommand(String)
setDatabase(Database)
setEditState(String)
setPosition(String)
setRow(Row)
setRowIndex(int)
setSelected(boolean)
setViewName(String)
setWorkerName(String)
toString()

##

MOVE_TO

     public static final int MOVE_TO

BEGIN_ADD

     public static final int BEGIN_ADD

BEGIN_CHANGE

     public static final int BEGIN_CHANGE

BEGIN_DELETE

     public static final int BEGIN_DELETE

OKAY_ADD

     public static final int OKAY_ADD

OKAY_CHANGE

     public static final int OKAY_CHANGE

CANCEL_ADD

     public static final int CANCEL_ADD

CANCEL_CHANGE

     public static final int CANCEL_CHANGE

CLOSE

     public static final int CLOSE

EDIT_STATE_CHANGED

     public static final int EDIT_STATE_CHANGED

ACQUIRE_COLUMN_DEF

     public static final int ACQUIRE_COLUMN_DEF

ROW_INDEX_ACTIVATED

     public static final int ROW_INDEX_ACTIVATED

ACQUIRE_DATABASE

     public static final int ACQUIRE_DATABASE

COMMAND

     public static final int COMMAND

NON_TYPICAL

     public static final int NON_TYPICAL

TOGGLE_STATE_CHANGED

     public static final int TOGGLE_STATE_CHANGED

LIST_SELECTION_CHANGED

     public static final int LIST_SELECTION_CHANGED

##

EditEvent

     public EditEvent(int eventType,

                      String dataSourceID)

##

toString

     public String toString()

  Overrides:
    toString in class Object

getEventType

     public int getEventType()

getEventTypeString

     public String getEventTypeString()

getDataSourceID

     public String getDataSourceID()

setPosition

     public void setPosition(String position)

getPosition

     public String getPosition()

setRow

     public void setRow(Row row)

getRow

     public Row getRow()

setViewName

     public void setViewName(String viewName)

getViewName

     public String getViewName()

setEditState

     public void setEditState(String editState)

getEditState

     public String getEditState()

setColumnDef

     public void setColumnDef(ColumnDef columnDef)

getColumnDef

     public ColumnDef getColumnDef()

setColumnID

     public void setColumnID(String columnID)

getColumnID

     public String getColumnID()

setRowIndex

     public void setRowIndex(int rowIndex)

getRowIndex

     public int getRowIndex()

setDatabase

     public void setDatabase(Database database)

getDatabase

     public Database getDatabase()

setCommand

     public void setCommand(String command)

getCommand

     public String getCommand()

setWorkerName

     public void setWorkerName(String workerName)

getWorkerName

     public String getWorkerName()

setSelected

     public void setSelected(boolean isSelected)

isSelected

     public boolean isSelected()

    All Packages  Class Hierarchy  This Package  Previous  Next  Index