javax.rad.ui.celleditor
Interface IImageViewer<C>

Type Parameters:
C - Placeholder for the library dependent component type.
All Superinterfaces:
IAlignmentConstants, ICellEditor, ICellRenderer<C>, IStyledCellEditor
All Known Implementing Classes:
JVxImageViewer, UIImageViewer

public interface IImageViewer<C>
extends IStyledCellEditor, ICellRenderer<C>

Platform and technology independent choice editor definition. It is designed for use with AWT, Swing, SWT, JSP, JSF, ... .


Field Summary
 
Fields inherited from interface javax.rad.ui.IAlignmentConstants
ALIGN_BOTTOM, ALIGN_CENTER, ALIGN_LEFT, ALIGN_RIGHT, ALIGN_STRETCH, ALIGN_TOP
 
Method Summary
 String getDefaultImageName()
          Gets the default image that is shown if selectedIndex is -1.
 void setDefaultImageName(String pDefaultImageName)
          Sets the default image name that is shown if selectedIndex is -1.
 
Methods inherited from interface javax.rad.model.ui.ICellEditor
createCellEditorHandler, isDirectCellEditor
 
Methods inherited from interface javax.rad.ui.IAlignmentConstants
getHorizontalAlignment, getVerticalAlignment, setHorizontalAlignment, setVerticalAlignment
 
Methods inherited from interface javax.rad.model.ui.ICellRenderer
getCellRendererComponent
 

Method Detail

getDefaultImageName

String getDefaultImageName()
Gets the default image that is shown if selectedIndex is -1.

Returns:
the default image.

setDefaultImageName

void setDefaultImageName(String pDefaultImageName)
Sets the default image name that is shown if selectedIndex is -1.

Parameters:
pDefaultImageName - the default image name.


Copyright © 2009 SIB Visions GmbH. All Rights Reserved.