TavernerPOS - Source Code
Clone:
git clone http://www.librarysmith.co.uk/tavernerPOS
Index
» tavernerPOS : Blob a44323 / .svn / pristine / 79 / 79d8e596861ba2fbe49b74baa3ebc25bf0644b5f.svn-base
package com.floreantpos.bo.ui;
public enum Command {
NEW,
EDIT,
DELETE,
SAVE,
CANCEL,
NEW_TRANSACTION,
UNKNOWN
;
public static Command fromString(String s) {
Command[] values = values();
for (Command command : values) {
if(command.name().equalsIgnoreCase(s)) {
return command;
}
}
return UNKNOWN;
}
}
- Details
- Last Updated: Monday, 04 April 2016 02:04
- Hits: 35772915