|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
C - Placeholder for the library dependent component type.public interface IImageViewer<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_DEFAULT, ALIGN_LEFT, ALIGN_RIGHT, ALIGN_STRETCH, ALIGN_TOP |
| Method Summary | |
|---|---|
java.lang.String |
getDefaultImageName()
Gets the default image that is shown if selectedIndex is -1. |
boolean |
isPreserveAspectRatio()
If the aspect ratio of the image should be preserved if it is stretched in any direction. |
void |
setDefaultImageName(java.lang.String pDefaultImageName)
Sets the default image name that is shown if selectedIndex is -1. |
void |
setPreserveAspectRatio(boolean pPreserveAspectRatio)
Sets if the aspect ratio of the image should be preserved if it is stretched in any direction. |
| 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 |
|---|
java.lang.String getDefaultImageName()
void setDefaultImageName(java.lang.String pDefaultImageName)
pDefaultImageName - the default image name.boolean isPreserveAspectRatio()
true if the aspect ratio of the image is preserved when stretched.void setPreserveAspectRatio(boolean pPreserveAspectRatio)
pPreserveAspectRatio - true if the aspect ratio of the image is preserved when stretched.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||