public void setIconPos ( IconPos pos ) { if ( pos == null ) { JQMCommon . setIconPos ( this , pos ) ; } else { IconPos oldPos = getIconPos ( ) ; JQMCommon . setIconPos ( this , pos ) ; for ( int i = 0 ; i < buttons . size ( ) ; i ++ ) { JQMButton btn = buttons . get ( i ) ; IconPos p = btn . getIconPos ( ) ; if ( p == null || oldPos == null || p . equals ( oldPos ) ) btn . setIconPos ( pos ) ; } } }
Sets the position of the icon . If you desire an icon only button then set the position to IconPos . NOTEXT