JClass DesktopViews 6.3.0 API
Documentation

com.klg.jclass.higrid
Class HiGridSortTableEvent

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

public class HiGridSortTableEvent
extends HiGridEvent

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

See Also:
Serialized Form

Field Summary
static int AFTER_SORT_TABLE
          The table has been sorted.
static int BEFORE_SORT_TABLE
          The table is being sorted.
 
Fields inherited from class com.klg.jclass.higrid.HiGridEvent
cancelled, column, eventType, grid, rowNode
 
Fields inherited from class java.util.EventObject
source
 
Constructor Summary
HiGridSortTableEvent(com.klg.jclass.higrid.HiGrid grid, int eventType, com.klg.jclass.higrid.RowNode rowNode, String column)
          Default constructor
 
Method Summary
 com.klg.jclass.datasource.DataTableModel getDataTable()
          Gets the dataTable that is being sorted.
 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_SORT_TABLE

public static final int BEFORE_SORT_TABLE
The table is being sorted. A listener to this event can abort the action.

See Also:
Constant Field Values

AFTER_SORT_TABLE

public static final int AFTER_SORT_TABLE
The table has been sorted.

See Also:
Constant Field Values
Constructor Detail

HiGridSortTableEvent

public HiGridSortTableEvent(com.klg.jclass.higrid.HiGrid grid,
                            int eventType,
                            com.klg.jclass.higrid.RowNode rowNode,
                            String column)
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.

getDataTable

public com.klg.jclass.datasource.DataTableModel getDataTable()
Gets the dataTable that is being sorted.

Returns:
the dataTable that is being sorted

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