001/* 002 The Broad Institute 003 SOFTWARE COPYRIGHT NOTICE AGREEMENT 004 This software and its documentation are copyright (2003-2008) by the 005 Broad Institute/Massachusetts Institute of Technology. All rights are 006 reserved. 007 008 This software is supplied without any warranty or guaranteed support 009 whatsoever. Neither the Broad Institute nor MIT can be responsible for its 010 use, misuse, or functionality. 011*/ 012 013package ca.bc.webarts.widgets.treetable; 014// package org.genomespace.gsui.ui.table; 015 016public class SortEvent extends java.util.EventObject 017{ 018 private int column; 019 020 private boolean ascending; 021 022 public SortEvent( Object source, int column, boolean ascending ) 023 { 024 super( source ); 025 this.column = column; 026 this.ascending = ascending; 027 } 028 029 public int getColumn() 030 { 031 return column; 032 } 033 034 public boolean isAscending() 035 { 036 return ascending; 037 } 038}