public Input addButton ( String tag , String label ) { if ( buttons == null ) buttonsAtBottom ( ) ; Input e = new Input ( Input . Submit , tag , label ) ; if ( extendRow ) addField ( null , e ) ; else buttons . add ( e ) ; return e ; }
Add a Submit Button .