/** @return the closeText option */ public String getCloseText() { String closeText = options.getLiteral("closeText"); return closeText == null ? "close" : closeText; }
/** Returns the css class applied to customize this window. */ public String getCssClass() { String dialogClass = options.getLiteral("dialogClass"); return dialogClass == null ? "*" : dialogClass; }
/** Returns the {@link WindowPosition}. */ public WindowPosition getPosition() { String literal = options.getLiteral("position"); return literal == null ? WindowPosition.CENTER : WindowPosition.valueOf(literal.toUpperCase()); }