com.sibvisions.rad.ui.celleditor
Class AbstractImageViewer<C>
java.lang.Object
com.sibvisions.rad.ui.celleditor.AbstractStyledCellEditor
com.sibvisions.rad.ui.celleditor.AbstractImageViewer<C>
- Type Parameters:
C - the type of the content.
- All Implemented Interfaces:
- ICellEditor, ICellRenderer<C>, IImageViewer<C>, IStyledCellEditor, IAlignmentConstants
- Direct Known Subclasses:
- JVxImageViewer
public abstract class AbstractImageViewer<C>
- extends AbstractStyledCellEditor
- implements IImageViewer<C>
The AbstractImageViewer is an IImageViewer implementation,
which provides a base implementation.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
defaultImageName
protected String defaultImageName
- The default image name.
AbstractImageViewer
protected AbstractImageViewer()
- Creates a new instance of
AbstractImageViewer.
getDefaultImageName
public String getDefaultImageName()
- Gets the default image that is shown if selectedIndex is -1.
- Specified by:
getDefaultImageName in interface IImageViewer<C>
- Returns:
- the default image.
setDefaultImageName
public void setDefaultImageName(String pDefaultImageName)
- Sets the default image name that is shown if selectedIndex is -1.
- Specified by:
setDefaultImageName in interface IImageViewer<C>
- Parameters:
pDefaultImageName - the default image name.
Copyright © 2009 SIB Visions GmbH. All Rights Reserved.