/** * Sets this button to be a back button. This will override any URL set on * the button. */ public void setBack(boolean back) { setRel(back ? "back" : null); }
@Override public JQMButton withRel(String rel) { setRel(rel); return this; }
/** * Sets this button to be a dialog button. This changes the look and feel * of the page that is loaded as a consequence of clicking on this button. */ public void setDialog(boolean dialog) { setRel(dialog ? Mobile.DATA_ROLE_DIALOG : null); }
/** * @param popup - true if this button is set to load a popup */ public void setPopup(boolean popup) { setRel(popup ? "popup" : null); }
/** * Sets this button to be a back button. This will override any URL set on * the button. */ public void setBack(boolean back) { setRel(back ? "back" : null); }
/** * Sets this button to be a dialog button. This changes the look and feel * of the page that is loaded as a consequence of clicking on this button. */ public void setDialog(boolean dialog) { setRel(dialog ? Mobile.DATA_ROLE_DIALOG : null); }
/** * @param popup - true if this button is set to load a popup */ public void setPopup(boolean popup) { setRel(popup ? "popup" : null); }
@Override public JQMButton withRel(String rel) { setRel(rel); return this; }
@Override public JQMButton withRel(String rel) { setRel(rel); return this; }
/** * @param popup - true if this button is set to load a popup */ public void setPopup(boolean popup) { setRel(popup ? "popup" : null); }
/** * Short cut for withRel("external"); */ public void setExternal(boolean external) { setRel(external ? "external" : null); }
/** * Short cut for withRel("external"); */ public void setExternal(boolean external) { setRel(external ? "external" : null); }
/** * Short cut for withRel("external"); */ public void setExternal(boolean external) { setRel(external ? "external" : null); }
/** * Sets this button to be a dialog button. This changes the look and feel * of the page that is loaded as a consequence of clicking on this button. */ public void setDialog(boolean dialog) { setRel(dialog ? Mobile.DATA_ROLE_DIALOG : null); }
/** * Sets this button to be a back button. This will override any URL set on * the button. */ public void setBack(boolean back) { setRel(back ? "back" : null); }