JClass DesktopViews 6.3.0 API
Documentation

com.klg.jclass.table
Class JCEditCellEvent

java.lang.Object
  |
  +--java.util.EventObject
        |
        +--com.klg.jclass.table.JCEditCellEvent
All Implemented Interfaces:
Serializable

public class JCEditCellEvent
extends EventObject

The event posted before and after editing a cell.

See Also:
JCEditCellAdapter, JCEditCellListener, Serialized Form

Field Summary
static int AFTER_EDIT_CELL
           
static int BEFORE_EDIT_CELL
          Types of JCEnterCellEvents.
protected  boolean cancelled
           
protected  int column
           
static int EDIT_CELL
           
protected  Component editComponent
           
protected  int row
           
protected  int type
           
 
Fields inherited from class java.util.EventObject
source
 
Constructor Summary
JCEditCellEvent(Object source, int type, int row, int column)
           
 
Method Summary
 int getColumn()
          Returns the column of the cell being traversed to.
 Component getEditingComponent()
          Returns the editing component.
 int getRow()
          Returns the row of the cell being traversed to.
 int getType()
          Gets the event type.
 boolean isCancelled()
          Gets the Cancelled value.
 void setCancelled(boolean value)
          Determines whether to allow an interactive resize (default is true).
 String toString()
          Returns a String representation of the event.
 
Methods inherited from class java.util.EventObject
getSource
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

BEFORE_EDIT_CELL

public static final int BEFORE_EDIT_CELL
Types of JCEnterCellEvents.

See Also:
Constant Field Values

EDIT_CELL

public static final int EDIT_CELL
See Also:
Constant Field Values

AFTER_EDIT_CELL

public static final int AFTER_EDIT_CELL
See Also:
Constant Field Values

type

protected int type

row

protected int row

column

protected int column

editComponent

protected Component editComponent

cancelled

protected boolean cancelled
Constructor Detail

JCEditCellEvent

public JCEditCellEvent(Object source,
                       int type,
                       int row,
                       int column)
Method Detail

getRow

public int getRow()
Returns the row of the cell being traversed to.

Returns:
row of the cell being traversed to

getColumn

public int getColumn()
Returns the column of the cell being traversed to.

Returns:
the column of the cell being traversed to

getEditingComponent

public Component getEditingComponent()
Returns the editing component.

Returns:
editing component

getType

public int getType()
Gets the event type.

Returns:
event type

isCancelled

public boolean isCancelled()
Gets the Cancelled value.

Returns:
Cancelled value
See Also:
setCancelled(boolean)

setCancelled

public void setCancelled(boolean value)
Determines whether to allow an interactive resize (default is true).

Parameters:
value -

toString

public String toString()
Returns a String representation of the event.

Overrides:
toString in class EventObject
Returns:
String representation of the event

Copyright © 2004 Quest Software Inc..
All rights reserved.