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