org.rcfaces.core.component.capability
Interface IImageSizeCapability

All Known Subinterfaces:
IImageButtonFamilly
All Known Implementing Classes:
ComboColumnComponent, ComponentsColumnComponent, DataColumnComponent, DateChooserComponent, FieldSetComponent, HelpButtonComponent, ImageButtonComponent, ImageCheckButtonComponent, ImageComboComponent, ImageComponent, ImagePagerButtonComponent, ImageRadioButtonComponent, ImageResetButtonComponent, ImageSubmitButtonComponent, MessageComponent, MessageFieldSetComponent, TextEditorImageButtonComponent, ToolItemComponent

public interface IImageSizeCapability

Version:
$Revision: 1.18 $ $Date: 2011/06/16 09:29:40 $
Author:
Olivier Oeuillot (latest modification by $Author: jbmeslin $)

Method Summary
 int getImageHeight()
          Returns an int value specifying the height (in pixels) to use for the image shown.
 int getImageWidth()
          Returns an int value specifying the width (in pixels) to use for the image shown.
 void setImageHeight(int height)
          Sets an int value specifying the height (in pixels) to use for the image shown.
 void setImageWidth(int width)
          Sets an int value specifying the width (in pixels) to use for the image shown.
 

Method Detail

getImageWidth

int getImageWidth()
Returns an int value specifying the width (in pixels) to use for the image shown.

Returns:
image width in pixels

setImageWidth

void setImageWidth(int width)
Sets an int value specifying the width (in pixels) to use for the image shown.

Parameters:
width - image width in pixels

getImageHeight

int getImageHeight()
Returns an int value specifying the height (in pixels) to use for the image shown.

Returns:
image height in pixels

setImageHeight

void setImageHeight(int height)
Sets an int value specifying the height (in pixels) to use for the image shown.

Parameters:
height - image height in pixels


Copyright © 2006-2011 Vedana. All Rights Reserved.