站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > NetBeans API Javadoc 4.1.0

PackageComparator (NetBeans VCS API) - NetBeans API Javadoc 4.1.0

 

org.netbeans.modules.vcscore.ui
Class PackageComparator

java.lang.Object
  extended byorg.netbeans.modules.vcscore.ui.PackageComparator
All Implemented Interfaces:
Comparator, TableInfoComparator

public class PackageComparator
extends Object
implements TableInfoComparator

a comparator for use in TableInfoModel instances. It expects to get FileObjects as value to compare/display.


Constructor Summary
PackageComparator()
          Creates new Package Comparator
 
Method Summary
 int compare(Object obj, Object obj1)
           
 String getDisplayValue(Object obj, Object rowObject)
           
 
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
 

Constructor Detail

PackageComparator

public PackageComparator()
Creates new Package Comparator

Method Detail

compare

public int compare(Object obj,
                   Object obj1)
Specified by:
compare in interface Comparator

getDisplayValue

public String getDisplayValue(Object obj,
                              Object rowObject)
Specified by:
getDisplayValue in interface TableInfoComparator

 

Built on May 4 2005.  |  Portions Copyright 1997-2005 Sun Microsystems, Inc. All rights reserved.