public String getButtonCommand ( ) { String strCommand = m_strCommand ; if ( strCommand == null ) strCommand = this . getButtonDesc ( ) ; if ( ( strCommand == null ) || ( strCommand . equals ( Constants . BLANK ) ) ) strCommand = m_strImageButton ; // Use image name until the image is loaded return strCommand ; }
Get the best guess for the command name . This is usually used to get the command to perform for a canned button .