public String getValue ( ) { Object value = getData ( ) ; if ( value != null ) { return value . toString ( ) ; } String text = getText ( ) ; return text == null ? NO_VALUE : text ; }
Return the button value . By default the value is the same as the text placed on the button .