[Buix-commits] r232 - trunk/jaxx/src/main/java/jaxx/util
Author: tchemit Date: 2008-03-16 00:08:45 +0000 (Sun, 16 Mar 2008) New Revision: 232 Removed: trunk/jaxx/src/main/java/jaxx/util/SimplePaginationEnum.java Log: transfert from jaxx (should be removed soon...) Deleted: trunk/jaxx/src/main/java/jaxx/util/SimplePaginationEnum.java =================================================================== --- trunk/jaxx/src/main/java/jaxx/util/SimplePaginationEnum.java 2008-03-15 21:18:19 UTC (rev 231) +++ trunk/jaxx/src/main/java/jaxx/util/SimplePaginationEnum.java 2008-03-16 00:08:45 UTC (rev 232) @@ -1,47 +0,0 @@ -/* -* ##% Copyright (C) 2007, 2008 Code Lutin, Tony Chemit -* -* This program is free software; you can redistribute it and/or -* modify it under the terms of the GNU General Public License -* as published by the Free Software Foundation; either version 2 -* of the License, or (at your option) any later version. -* -* This program is distributed in the hope that it will be useful, -* but WITHOUT ANY WARRANTY; without even the implied warranty of -* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -* GNU General Public License for more details. -* -* You should have received a copy of the GNU General Public License -* along with this program; if not, write to the Free Software -* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. -* ##% */ -package jaxx.util; - -/** - * Une enumration pour definir les tailles de liste - * - * @author chemit - */ -public enum SimplePaginationEnum { - _5, - _10, - _20, - _50, - _100; - - int intValue; - - SimplePaginationEnum() { - intValue = Integer.valueOf(toString()); - } - - @Override - public String toString() { - return super.toString().substring(1); - } - - public int intValue() { - return intValue; - } - -}
participants (1)
-
tchemit@users.labs.libre-entreprise.org