ch.elca.el4j.services.gui.swing.mdi
Class JInternalFrameComparator
java.lang.Object
ch.elca.el4j.services.gui.swing.mdi.JInternalFrameComparator
- All Implemented Interfaces:
- Serializable, Comparator<JInternalFrame>
public final class JInternalFrameComparator
- extends Object
- implements Comparator<JInternalFrame>, Serializable
A simple comparator for JInternalFrames
, based on their title.
- Since:
- 1.04
- Author:
- Gregory Kotsaftis
- See Also:
- Serialized Form
- File-location:
- JInternalFrameComparator
- Last check-in date:
- 2009-08-04 15:06:35 +0200 (Di, 04. Aug 2009) by swismer for revision 3878
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JInternalFrameComparator
public JInternalFrameComparator()
compare
public int compare(JInternalFrame o1,
JInternalFrame o2)
- Compares internal frames based on their title.
- Specified by:
compare
in interface Comparator<JInternalFrame>
- Parameters:
o1
- First frame.o2
- Second frame.
- Returns:
- The comparison.
Copyright © 2005-2011 ELCA. All Rights Reserved.