org.xwiki.gwt.wysiwyg.client.plugin.image
Class ImageConfig
java.lang.Object
org.xwiki.gwt.wysiwyg.client.wiki.EntityConfig
org.xwiki.gwt.wysiwyg.client.plugin.image.ImageConfig
- All Implemented Interfaces:
- com.google.gwt.user.client.rpc.IsSerializable
public class ImageConfig
- extends EntityConfig
Stores the data about an image: information about the image file (filename, URL, etc.) and also about its
representation in an edited document (position, size, etc.).
- Version:
- $Id$
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ImageConfig
public ImageConfig()
getAltText
public String getAltText()
- Returns:
- the altText
setAltText
public void setAltText(String altText)
- Parameters:
altText - the altText to set
getWidth
public String getWidth()
- Returns:
- the width
setWidth
public void setWidth(String width)
- Parameters:
width - the width to set
getHeight
public String getHeight()
- Returns:
- the height
setHeight
public void setHeight(String height)
- Parameters:
height - the height to set
getAlignment
public ImageConfig.ImageAlignment getAlignment()
- Returns:
- the alignment
setAlignment
public void setAlignment(ImageConfig.ImageAlignment alignment)
- Parameters:
alignment - the alignment to set
Copyright © 2004-2012 XWiki. All Rights Reserved.