| thinwire.ui.ImageComponent
All known Subclasses: thinwire.ui.TabSheet, thinwire.ui.Button, thinwire.ui.Image,
ImageComponent | public interface ImageComponent extends Component(Code) | | author: Joshua J. Gertzen |
Method Summary | |
public String | getImage() Returns the image file name that was specified for this component. | public ImageInfo | getImageInfo() Returns an immutable ImageInfo class that provides information
about the assigned image, such as width, height, format, etc. | public void | setImage(String image) Places an image on this component. |
PROPERTY_IMAGE | final public static String PROPERTY_IMAGE(Code) | | |
getImage | public String getImage()(Code) | | Returns the image file name that was specified for this component.
the image file name that was specified for this component. |
getImageInfo | public ImageInfo getImageInfo()(Code) | | Returns an immutable ImageInfo class that provides information
about the assigned image, such as width, height, format, etc.
an immutable ImageInfo describing this component's image, never null. |
setImage | public void setImage(String image)(Code) | | Places an image on this component.
Parameters: image - The file name or resource name of the image. |
|
|