org.apache.jetspeed.portal.controls
Class VelocityPortletSetControl.PortletTabComparator

java.lang.Object
  extended byorg.apache.jetspeed.portal.controls.VelocityPortletSetControl.PortletTabComparator
All Implemented Interfaces:
java.util.Comparator
Enclosing class:
VelocityPortletSetControl

public class VelocityPortletSetControl.PortletTabComparator
extends java.lang.Object
implements java.util.Comparator

Used to correctly order tabs based on the position value that is found each PortletTab's parent Portlet's PortletConfig object.


Constructor Summary
VelocityPortletSetControl.PortletTabComparator()
           
 
Method Summary
 int compare(java.lang.Object o1, java.lang.Object o2)
           
 
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

VelocityPortletSetControl.PortletTabComparator

public VelocityPortletSetControl.PortletTabComparator()
Method Detail

compare

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


Copyright © 2000-2005 Apache Software Foundation. All Rights Reserved.