Skip navigation links


com.essbase.eas.ui.ctable
Class TableModelComparator

java.lang.Object
  extended by com.essbase.eas.ui.ctable.TableModelComparator

All Implemented Interfaces:
java.util.Comparator
Direct Known Subclasses:
LogEntryModel.EntryComparator

public class TableModelComparator
extends java.lang.Object
implements java.util.Comparator

Title: Description: Copyright: Copyright (c) 2001 - 2003 Company: Hyperion Solutions Corporation

Version:
1.0
Author:
Sree Menon & Bill Schleifer

Field Summary
protected static java.text.Collator collator
           
protected static int[] cols
           
protected  int iSwitch
           

 

Constructor Summary
TableModelComparator()
           
TableModelComparator(int[] columns, boolean bAscending)
           

 

Method Summary
protected  int comapreObjects(java.lang.Object e1, java.lang.Object e2)
           
 int compare(java.lang.Object o1, java.lang.Object o2)
           
 void setAscending(boolean ascending)
           
 void setColumns(int[] columns)
           

 

Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

 

Methods inherited from interface java.util.Comparator
equals

 

Field Detail

collator

protected static java.text.Collator collator

cols

protected static int[] cols

iSwitch

protected int iSwitch

Constructor Detail

TableModelComparator

public TableModelComparator()

TableModelComparator

public TableModelComparator(int[] columns,
                            boolean bAscending)

Method Detail

setColumns

public void setColumns(int[] columns)

setAscending

public void setAscending(boolean ascending)

compare

public int compare(java.lang.Object o1,
                   java.lang.Object o2)
Specified by:
compare in interface java.util.Comparator

comapreObjects

protected int comapreObjects(java.lang.Object e1,
                             java.lang.Object e2)

Skip navigation links


Copyright © 2001, 2012, Oracle. All rights reserved.