com.sibvisions.rad.ui.web.ext.gwt.celleditor
Class ImageViewer

java.lang.Object
  extended by com.sibvisions.rad.ui.web.ext.gwt.celleditor.StyledCellEditor
      extended by com.sibvisions.rad.ui.web.ext.gwt.celleditor.ImageViewer
All Implemented Interfaces:
IAlignmentConstants, Serializable

public class ImageViewer
extends StyledCellEditor

The ImageViewer defines the image viewer and is not a cell editor itself.

See Also:
Serialized Form

Field Summary
 
Fields inherited from interface com.sibvisions.rad.ui.web.ext.gwt.IAlignmentConstants
ALIGN_BOTTOM, ALIGN_CENTER, ALIGN_LEFT, ALIGN_RIGHT, ALIGN_STRETCH, ALIGN_TOP
 
Constructor Summary
ImageViewer()
          Creates a new instance of ImageViewer.
 
Method Summary
 String getDefaultImage()
          Gets the default image name.
 boolean isStyleSupported()
          Returns whether the styling of the editor is supported.
 void setDefaultImage(String pImageName)
          Sets the default image name.
 
Methods inherited from class com.sibvisions.rad.ui.web.ext.gwt.celleditor.StyledCellEditor
getEditorColumn, getHorizontalAlignment, getHorizontalWebAlignment, getVerticalAlignment, getVerticalWebAlignment, setEditorColumn, setHorizontalAlignment, setVerticalAlignment
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ImageViewer

public ImageViewer()
Creates a new instance of ImageViewer.

Method Detail

isStyleSupported

public boolean isStyleSupported()
Returns whether the styling of the editor is supported.

Overrides:
isStyleSupported in class StyledCellEditor
Returns:
false

setDefaultImage

public void setDefaultImage(String pImageName)
Sets the default image name.

Parameters:
pImageName - the image name

getDefaultImage

public String getDefaultImage()
Gets the default image name.

Returns:
the image name


Copyright © 2009 SIB Visions GmbH. All Rights Reserved.