org.xwiki.gwt.wysiwyg.client.plugin.image
Class ImageConfig

java.lang.Object
  extended by org.xwiki.gwt.wysiwyg.client.wiki.EntityConfig
      extended by 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 $

Nested Class Summary
static class ImageConfig.ImageAlignment
          Enumeration holding all possible values for the image alignment.
 
Constructor Summary
ImageConfig()
           
 
Method Summary
 ImageConfig.ImageAlignment getAlignment()
           
 java.lang.String getAltText()
           
 java.lang.String getHeight()
           
 java.lang.String getWidth()
           
 void setAlignment(ImageConfig.ImageAlignment alignment)
           
 void setAltText(java.lang.String altText)
           
 void setHeight(java.lang.String height)
           
 void setWidth(java.lang.String width)
           
 
Methods inherited from class org.xwiki.gwt.wysiwyg.client.wiki.EntityConfig
getReference, getUrl, setReference, setUrl
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ImageConfig

public ImageConfig()
Method Detail

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-2010 XWiki. All Rights Reserved.