/** * Internal method for creating a button */ protected JQMButton createButton(String text, String url, DataIcon icon) { JQMButton button = new JQMButton(text, url); if (icon != null) button.withBuiltInIcon(icon); return button; }
/** * Internal method for creating a button */ protected JQMButton createButton(String text, String url, DataIcon icon) { JQMButton button = new JQMButton(text, url); if (icon != null) button.withBuiltInIcon(icon); return button; }
/** * Internal method for creating a button */ protected JQMButton createButton(String text, String url, DataIcon icon) { JQMButton button = new JQMButton(text, url); if (icon != null) button.withBuiltInIcon(icon); return button; }
/** * Creates an auto back button with the given text and replaces the * current left button, if any. * * @param text * the the text for the button * * @return the created {@link JQMButton} */ public JQMButton setBackButton(String text) { JQMButton button = new JQMButton(text); button.withBuiltInIcon(DataIcon.LEFT); setBackButton(button); return button; }
/** * Creates an auto back button with the given text and replaces the * current left button, if any. * * @param text * the the text for the button * * @return the created {@link JQMButton} */ public JQMButton setBackButton(String text) { JQMButton button = new JQMButton(text); button.withBuiltInIcon(DataIcon.LEFT); setBackButton(button); return button; }
/** * Creates an auto back button with the given text and replaces the * current left button, if any. * * @param text * the the text for the button * * @return the created {@link JQMButton} */ public JQMButton setBackButton(String text) { JQMButton button = new JQMButton(text); button.withBuiltInIcon(DataIcon.LEFT); setBackButton(button); return button; }