litesoft
@ 947
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 |
// This Source Code is in the Public Domain per: http://unlicense.org package org.litesoft.GWT.client.widgets; public class RevertButton implements ButtonFactory { public static final String NAME = "Revert"; public static DefButtonNamedTypedFactory factory() { return factory( null ); } public static DefButtonNamedTypedFactory factory( String pText ) { return new DefButtonNamed( NAME ).red().text( pText ).enabledToolTip( "Revert/remove all unsaved changes (the yellow fields)" ).disabledToolTip( "" ); } } |