|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
This interface provides access to images on the CustomTerminal Bean.
SCButtonVV
,
SCImageButton
,
SCWebLink
Field Summary | |
static int |
BOTH
Constant for setLayoutType()
Will scale both horizontally and vertically to fit the image exactly to the
the size of the SCImage; possible distortion, no clipping. |
static int |
HORIZONTAL
Constant for setLayoutType()
Will scale horizontally; possible distortion, possible clipping. |
static int |
NONE
Constant for setLayoutType()
Will not scale; no distortion, possible clipping. |
static int |
TOFIT
Constant for setLayoutType()
Will scale both horizontally and vertically; no distortion, no clipping. |
static int |
VERTICAL
Constant for setLayoutType()
Will scale vertically; possible distortion, possible clipping. |
Method Summary | |
java.awt.Image |
getDisplayImage()
Gets the current image exactly as it is displayed. |
java.awt.Image |
getImage()
Gets the current image prior to any scaling or clipping. |
java.lang.String |
getImageFileName()
Gets the name of the file being displayed. |
int |
getLayoutType()
Gets the layout type |
void |
setImage(java.awt.Image image)
Sets the image to be displayed using the current layout setting. |
void |
setImage(java.awt.Image image,
int layoutType)
Sets the image to be displayed using the given layout setting. |
void |
setImageFileName(java.lang.String fileName)
Sets the image to be displayed using the current layout setting. |
void |
setImageFileName(java.lang.String fileName,
int layoutType)
Sets the image to be displayed using the specified layout setting. |
void |
setLayoutType(int layoutType)
Sets the layoutType parameter. |
Methods inherited from interface com.ibm.hi.customizer.beans.scci.SCCustomComponent |
getBackgroundColor, getCaption, getForegroundColor, getGlobalRead, getGlobalWrite, getHelpCaption, getHostLinkLength, getHostLinkPosition, getTabNumber, hasFocus, isTempHidden, isVisible, readGlobalVariable, requestFocus, setBackgroundColor, setCaption, setForegroundColor, setGlobalRead, setGlobalWrite, setHelpCaption, setTempHidden, setVisible, toString, writeGlobalVariable |
Field Detail |
public static final int NONE
setLayoutType()
Will not scale; no distortion, possible clipping.setLayoutType(int)
public static final int BOTH
setLayoutType()
Will scale both horizontally and vertically to fit the image exactly to the
the size of the SCImage; possible distortion, no clipping.setLayoutType(int)
public static final int TOFIT
setLayoutType()
Will scale both horizontally and vertically; no distortion, no clipping.setLayoutType(int)
public static final int HORIZONTAL
setLayoutType()
Will scale horizontally; possible distortion, possible clipping.setLayoutType(int)
public static final int VERTICAL
setLayoutType()
Will scale vertically; possible distortion, possible clipping.setLayoutType(int)
Method Detail |
public void setImageFileName(java.lang.String fileName)
fileName
- the name of the image filegetImageFileName()
,
getLayoutType()
,
setLayoutType(int)
public void setImageFileName(java.lang.String fileName, int layoutType)
fileName
- the name of the image filelayoutType
- the layout typegetImageFileName()
,
setLayoutType(int)
public java.lang.String getImageFileName()
setImageFileName(java.lang.String)
public void setImage(java.awt.Image image)
image
- the image to displaygetImage()
public void setImage(java.awt.Image image, int layoutType)
image
- the image to displaylayoutType
- the layout codegetImage()
,
setLayoutType(int)
public java.awt.Image getImage()
public java.awt.Image getDisplayImage()
setImage(java.awt.Image)
public void setLayoutType(int layoutType)
layoutType
- the layout codegetLayoutType()
,
NONE
,
BOTH
,
TOFIT
,
HORIZONTAL
,
VERTICAL
public int getLayoutType()
setLayoutType(int)
,
NONE
,
BOTH
,
TOFIT
,
HORIZONTAL
,
VERTICAL
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |