org.xwiki.gwt.wysiwyg.client.plugin.link.ui
Class EmailAddressLinkWizardStep

java.lang.Object
  extended by org.xwiki.gwt.user.client.ui.wizard.AbstractNavigationAwareWizardStep
      extended by org.xwiki.gwt.user.client.ui.wizard.AbstractInteractiveWizardStep
          extended by org.xwiki.gwt.wysiwyg.client.plugin.link.ui.LinkConfigWizardStep
              extended by org.xwiki.gwt.wysiwyg.client.plugin.link.ui.AbstractExternalLinkWizardStep
                  extended by org.xwiki.gwt.wysiwyg.client.plugin.link.ui.EmailAddressLinkWizardStep
All Implemented Interfaces:
com.google.gwt.event.dom.client.KeyPressHandler, com.google.gwt.event.shared.EventHandler, SourcesNavigationEvents, WizardStep

public class EmailAddressLinkWizardStep
extends AbstractExternalLinkWizardStep

Wizard step to create a link to an email address (the mailto: protocol).

Version:
$Id: e05a1acb3050c26098babcdba617804cb59a58ca $

Field Summary
 
Fields inherited from class org.xwiki.gwt.wysiwyg.client.plugin.link.ui.LinkConfigWizardStep
DEFAULT_STYLE_NAME, ERROR_LABEL_STYLE, FIELD_ERROR_STYLE, HELP_LABEL_STYLE, INFO_LABEL_STYLE
 
Method Summary
protected  String getURLErrorMessage()
           
protected  String getURLHelpLabel()
           
protected  String getURLLabel()
           
protected  String getURLTextBoxTooltip()
           
protected  void setURL(String url)
          Fills the URL text box with the given URL.
 
Methods inherited from class org.xwiki.gwt.wysiwyg.client.plugin.link.ui.AbstractExternalLinkWizardStep
displayURLError, getURL, getUrlTextBox, hideErrors, init, saveForm, setFocus, validateForm
 
Methods inherited from class org.xwiki.gwt.wysiwyg.client.plugin.link.ui.LinkConfigWizardStep
addNavigationListener, displayLabelError, getData, getDefaultDirection, getLabelErrorLabel, getLabelTextBox, getLabelTextBoxTooltip, getNewWindowCheckBox, getResult, getTooltipTextBox, getTooltipTextBoxTooltip, getWikiService, onCancel, onKeyPress, onSubmit, removeNavigationListener
 
Methods inherited from class org.xwiki.gwt.user.client.ui.wizard.AbstractInteractiveWizardStep
display, getStepTitle, isAutoSubmit, setStepTitle
 
Methods inherited from class org.xwiki.gwt.user.client.ui.wizard.AbstractNavigationAwareWizardStep
getDirectionName, getNextStep, getValidDirections, setDirectionName, setNextStep, setValidDirections
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getURLTextBoxTooltip

protected String getURLTextBoxTooltip()
Overrides:
getURLTextBoxTooltip in class AbstractExternalLinkWizardStep
Returns:
the tooltip for URL text box.

getURLErrorMessage

protected String getURLErrorMessage()
Specified by:
getURLErrorMessage in class AbstractExternalLinkWizardStep
Returns:
the error message to be displayed when the user uri is missing.

getURLLabel

protected String getURLLabel()
Specified by:
getURLLabel in class AbstractExternalLinkWizardStep
Returns:
the label text for the particular external resource link to be created.

getURLHelpLabel

protected String getURLHelpLabel()
Specified by:
getURLHelpLabel in class AbstractExternalLinkWizardStep
Returns:
the label text for the help label for the url of the external link to be created.

setURL

protected void setURL(String url)
Description copied from class: AbstractExternalLinkWizardStep
Fills the URL text box with the given URL. Subclasses can overwrite this method to adjust the URL.

Overrides:
setURL in class AbstractExternalLinkWizardStep
Parameters:
url - the URL to fill the text box with


Copyright © 2004–2014 XWiki. All rights reserved.