JClass DesktopViews 6.3.0 API
Documentation

com.klg.jclass.higrid
Class EditStatus

java.lang.Object
  |
  +--com.klg.jclass.higrid.EditStatus
All Implemented Interfaces:
Serializable

public class EditStatus
extends Object
implements Serializable

The EditStatus class packages together some status information for display by a HiGridEditStatusRenderer.

See Also:
Serialized Form

Field Summary
static int EDIT_COUNT
          Total number of states possible.
static int EDIT_CURRENT
          Row is up to date, and is the current row.
static int EDIT_DELETE_CURRENT
          Row is marked as deleted, and is the current row.
static int EDIT_DELETE_PENDING
          Row is marked as deleted, and is not the current row.
static int EDIT_UPDATE_CURRENT
          Row is marked as modified, and is the current row.
static int EDIT_UPDATE_PENDING
          Row is marked as modified, and is not the current row.
 
Constructor Summary
EditStatus(com.klg.jclass.higrid.HiGrid grid, int status, boolean currentRow, long bookmark)
          Default Constructor
 
Method Summary
 long getBookmark()
          Retrieves the bookmark for this row.
 com.klg.jclass.higrid.HiGrid getGrid()
          Retrieves the instance of HiGrid.
 int getStatus()
          Retrieves the EDIT_ status for this object.
 boolean isCurrentRow()
          Retrieves whether this EditStatus is the current row in the dataModel.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

EDIT_UPDATE_CURRENT

public static final int EDIT_UPDATE_CURRENT
Row is marked as modified, and is the current row.

See Also:
Constant Field Values

EDIT_UPDATE_PENDING

public static final int EDIT_UPDATE_PENDING
Row is marked as modified, and is not the current row.

See Also:
Constant Field Values

EDIT_DELETE_CURRENT

public static final int EDIT_DELETE_CURRENT
Row is marked as deleted, and is the current row.

See Also:
Constant Field Values

EDIT_DELETE_PENDING

public static final int EDIT_DELETE_PENDING
Row is marked as deleted, and is not the current row.

See Also:
Constant Field Values

EDIT_CURRENT

public static final int EDIT_CURRENT
Row is up to date, and is the current row.

See Also:
Constant Field Values

EDIT_COUNT

public static final int EDIT_COUNT
Total number of states possible.

See Also:
Constant Field Values
Constructor Detail

EditStatus

public EditStatus(com.klg.jclass.higrid.HiGrid grid,
                  int status,
                  boolean currentRow,
                  long bookmark)
Default Constructor

Method Detail

getGrid

public com.klg.jclass.higrid.HiGrid getGrid()
Retrieves the instance of HiGrid.

Returns:
the instance of HiGrid

getStatus

public int getStatus()
Retrieves the EDIT_ status for this object.

Returns:
the EDIT_ status for this object.

isCurrentRow

public boolean isCurrentRow()
Retrieves whether this EditStatus is the current row in the dataModel.

Returns:
whether this EditStatus is the current row in the dataModel.

getBookmark

public long getBookmark()
Retrieves the bookmark for this row.

Returns:
the bookmark for this row.

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