@ UiChild ( tagname = "rightButton" , limit = 1 ) public void setRightButton ( JQMButton button ) { if ( right != null ) remove ( right ) ; button . setPosOnBand ( PosOnBand . RIGHT ) ; right = button ; add ( right ) ; }
Sets the right button to be the given button . Any existing button is removed .