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: ImageConfig.java 28844 2010-05-12 13:22:39Z mflorea $
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ImageConfig
public ImageConfig()
getAltText
public java.lang.String getAltText()
- Returns:
- the altText
setAltText
public void setAltText(java.lang.String altText)
- Parameters:
altText - the altText to set
getWidth
public java.lang.String getWidth()
- Returns:
- the width
setWidth
public void setWidth(java.lang.String width)
- Parameters:
width - the width to set
getHeight
public java.lang.String getHeight()
- Returns:
- the height
setHeight
public void setHeight(java.lang.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-2011 XWiki. All Rights Reserved.