JClass DesktopViews 6.3.0 API
Documentation

com.klg.jclass.higrid
Class HiGridRowSelectionEvent

java.lang.Object
  |
  +--java.util.EventObject
        |
        +--com.klg.jclass.higrid.HiGridEvent
              |
              +--com.klg.jclass.higrid.HiGridRowSelectionEvent
All Implemented Interfaces:
Serializable

public class HiGridRowSelectionEvent
extends HiGridEvent

Event object for HiGridRowSelectionEvent, a subclass of HiGridEvent containing information about the particular type of event.

See Also:
Serialized Form

Field Summary
static int AFTER_SELECT_ROW
          The row node has been selected/de-selected.
static int BEFORE_SELECT_ROW
          The row node is being selected/de-selected.
protected  boolean select
           
protected  Vector selectedRows
           
 
Fields inherited from class com.klg.jclass.higrid.HiGridEvent
cancelled, column, eventType, grid, rowNode
 
Fields inherited from class java.util.EventObject
source
 
Constructor Summary
HiGridRowSelectionEvent(com.klg.jclass.higrid.HiGrid grid, int eventType, boolean select, Vector selectedRows)
          Default constructor
 
Method Summary
 Vector getNewRows()
          Returns the Vector of newly selected rows.
 Vector getSelectedRows()
          Returns the Vector of currently selected rows.
 boolean getSelectState()
          Returns true if this is a Selection, false if a DeSelection
 boolean isCancelable()
          Return true if this event can be cancelled.
 
Methods inherited from class com.klg.jclass.higrid.HiGridEvent
cancelProposedAction, getCancelled, getColumn, getEventType, getRowNode
 
Methods inherited from class java.util.EventObject
getSource, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

BEFORE_SELECT_ROW

public static final int BEFORE_SELECT_ROW
The row node is being selected/de-selected. A listener to this event can abort the action.

See Also:
Constant Field Values

AFTER_SELECT_ROW

public static final int AFTER_SELECT_ROW
The row node has been selected/de-selected.

See Also:
Constant Field Values

select

protected boolean select

selectedRows

protected Vector selectedRows
Constructor Detail

HiGridRowSelectionEvent

public HiGridRowSelectionEvent(com.klg.jclass.higrid.HiGrid grid,
                               int eventType,
                               boolean select,
                               Vector selectedRows)
Default constructor

Method Detail

isCancelable

public boolean isCancelable()
Return true if this event can be cancelled. Cancelling an event cancels the operation which generated the event.

Overrides:
isCancelable in class HiGridEvent
Returns:
true if this event can be cancelled.

getSelectState

public boolean getSelectState()
Returns true if this is a Selection, false if a DeSelection


getNewRows

public Vector getNewRows()
Returns the Vector of newly selected rows.


getSelectedRows

public Vector getSelectedRows()
Returns the Vector of currently selected rows.


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