Back to index

wims  3.65+svn20090927
MacroItem.java
Go to the documentation of this file.
00001 package rene.zirkel.macro;
00002 
00003 // file: ZirkelCanvas.java
00004 
00005 import java.awt.*;
00006 
00007 import rene.util.sort.SortObject;
00008 
00009 public class MacroItem
00010        implements SortObject
00011 {      public MenuItem I;
00012        public Macro M;
00013        public String Name;
00014        public MacroItem (Macro m, MenuItem i)
00015        {      M=m; I=i;
00016        }
00017        public int compare (SortObject o) 
00018        {      MacroItem mio=(MacroItem)o;
00019               return -mio.M.Name.compareTo(M.Name);
00020        }
00021 }