org.xwiki.gwt.wysiwyg.client.plugin.image.ui
Class URLImageSelectorWizardStep

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.image.ui.URLImageSelectorWizardStep
All Implemented Interfaces:
com.google.gwt.event.dom.client.KeyUpHandler, com.google.gwt.event.shared.EventHandler, SourcesNavigationEvents, WizardStep

public class URLImageSelectorWizardStep
extends AbstractInteractiveWizardStep
implements SourcesNavigationEvents, com.google.gwt.event.dom.client.KeyUpHandler

Allows the user to select an external image by specifying its URL.

Version:
$Id: 5536df875688824b68d12edd04be9234be6d365e $

Constructor Summary
URLImageSelectorWizardStep()
          Creates a new wizard step that allows the user to select an external image by specifying its URL.
 
Method Summary
 void addNavigationListener(NavigationListener listener)
          
 Object getResult()
          
 void init(Object data, com.google.gwt.user.client.rpc.AsyncCallback<?> cb)
          
 void onCancel()
          
 void onKeyUp(com.google.gwt.event.dom.client.KeyUpEvent event)
          
 void onSubmit(com.google.gwt.user.client.rpc.AsyncCallback<Boolean> async)
          
 void removeNavigationListener(NavigationListener listener)
          
 
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
 

Constructor Detail

URLImageSelectorWizardStep

public URLImageSelectorWizardStep()
Creates a new wizard step that allows the user to select an external image by specifying its URL.

Method Detail

getResult

public Object getResult()

Specified by:
getResult in interface WizardStep
See Also:
WizardStep.getResult()

init

public void init(Object data,
                 com.google.gwt.user.client.rpc.AsyncCallback<?> cb)

Specified by:
init in interface WizardStep
See Also:
WizardStep.init(Object, AsyncCallback)

onCancel

public void onCancel()

Specified by:
onCancel in interface WizardStep
See Also:
WizardStep.onCancel()

onSubmit

public void onSubmit(com.google.gwt.user.client.rpc.AsyncCallback<Boolean> async)

Specified by:
onSubmit in interface WizardStep
See Also:
WizardStep.onSubmit(AsyncCallback)

addNavigationListener

public void addNavigationListener(NavigationListener listener)

Specified by:
addNavigationListener in interface SourcesNavigationEvents
See Also:
SourcesNavigationEvents.addNavigationListener(NavigationListener)

removeNavigationListener

public void removeNavigationListener(NavigationListener listener)

Specified by:
removeNavigationListener in interface SourcesNavigationEvents
See Also:
SourcesNavigationEvents.removeNavigationListener(NavigationListener)

onKeyUp

public void onKeyUp(com.google.gwt.event.dom.client.KeyUpEvent event)

Specified by:
onKeyUp in interface com.google.gwt.event.dom.client.KeyUpHandler
See Also:
KeyUpHandler.onKeyUp(KeyUpEvent)


Copyright © 2004–2015 XWiki. All rights reserved.