/** * Sets the containerId so it can be referenced by name. * @return the instance being operated on as part of a Fluent API */ public JQMContainer withContainerId(String containerId) { setContainerId(containerId); return this; }
/** * Sets the containerId so it can be referenced by name. * @return the instance being operated on as part of a Fluent API */ public JQMContainer withContainerId(String containerId) { setContainerId(containerId); return this; }
/** * Sets the containerId so it can be referenced by name. * @return the instance being operated on as part of a Fluent API */ public JQMContainer withContainerId(String containerId) { setContainerId(containerId); return this; }
@Override public void setContainerId(String containerId) { super.setContainerId(containerId); removeAttribute("data-url"); }
@Override public void setContainerId(String containerId) { super.setContainerId(containerId); removeAttribute("data-url"); }
protected JQMContainer(String id, String role) { this(); setContainerId(id); setRole(role); }
/** * Assigns a default containerId of 'container' followed by the instance number. * @return the instance being operated on as part of a Fluent API */ public JQMContainer withContainerId() { setContainerId(generateContainerId()); return this; }
/** * Assigns a default containerId of 'container' followed by the instance number. * @return the instance being operated on as part of a Fluent API */ public JQMContainer withContainerId() { setContainerId(generateContainerId()); return this; }
protected JQMContainer(String id, String role) { this(); setContainerId(id); setRole(role); }
@Override public void setContainerId(String containerId) { super.setContainerId(containerId); removeAttribute("data-url"); }
protected JQMContainer(String id, String role) { this(); setContainerId(id); setRole(role); }
/** * Assigns a default containerId of 'container' followed by the instance number. * @return the instance being operated on as part of a Fluent API */ public JQMContainer withContainerId() { setContainerId(generateContainerId()); return this; }
/** * Sets the containerId so it can be referenced by name. This can only be set once. All subsequent attempts on this * instance will result in an IllegalStateException. * @param containerId */ @Override public void setContainerId(String containerId) { if (getId() == null) { super.setContainerId(containerId); JQMContext.attachAndEnhance(this); } else if (! containerId.equals(getId())) { throw new IllegalStateException("Attempt to change JQMPage with containerId '" + getId() + "' to '" + containerId + "' failed - once set, it cannot be changed."); } }
/** * Sets the containerId so it can be referenced by name. This can only be set once. All subsequent attempts on this * instance will result in an IllegalStateException. * @param containerId */ @Override public void setContainerId(String containerId) { if (getId() == null) { super.setContainerId(containerId); JQMContext.attachAndEnhance(this); } else if (! containerId.equals(getId())) { throw new IllegalStateException("Attempt to change JQMPage with containerId '" + getId() + "' to '" + containerId + "' failed - once set, it cannot be changed."); } }
/** * Sets the containerId so it can be referenced by name. This can only be set once. All subsequent attempts on this * instance will result in an IllegalStateException. * @param containerId */ @Override public void setContainerId(String containerId) { if (getId() == null) { super.setContainerId(containerId); JQMContext.attachAndEnhance(this); } else if (! containerId.equals(getId())) { throw new IllegalStateException("Attempt to change JQMPage with containerId '" + getId() + "' to '" + containerId + "' failed - once set, it cannot be changed."); } }