com.ephox.editlive.custom
Interface ImageDialog


public interface ImageDialog

An interface that can be used by custom image dialog components to call back into the standard image dialog.

See Also:
ImageDialogComponent

Method Summary
 void setAltFieldText(String text)
          Sets the 'alt' text for the image.
 void setSrcFieldText(String src)
          Sets the URL to display in the image src field.
 

Method Detail

setSrcFieldText

void setSrcFieldText(String src)
Sets the URL to display in the image src field. If a valid URL is given the preview pane will also be enabled.

Parameters:
src - URL to the selected image.

setAltFieldText

void setAltFieldText(String text)
Sets the 'alt' text for the image.

Since:
7.1

Copyright (c) 2005-2012 Ephox Pty Ltd. All rights reserved.