|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ImageComponent
Field Summary | |
---|---|
static java.lang.String |
PROPERTY_IMAGE
|
Fields inherited from interface thinwire.ui.Component |
---|
ACTION_CLICK, ACTION_DOUBLE_CLICK, PROPERTY_ENABLED, PROPERTY_FOCUS, PROPERTY_FOCUS_CAPABLE, PROPERTY_HEIGHT, PROPERTY_LIMIT, PROPERTY_USER_OBJECT, PROPERTY_VISIBLE, PROPERTY_WIDTH, PROPERTY_X, PROPERTY_Y |
Method Summary | |
---|---|
java.lang.String |
getImage()
Returns the image file name that was specified for this component. |
ImageInfo |
getImageInfo()
Returns an immutable ImageInfo class that provides information
about the assigned image, such as width, height, format, etc. |
void |
setImage(java.lang.String image)
Places an image on this component. |
Field Detail |
---|
static final java.lang.String PROPERTY_IMAGE
Method Detail |
---|
java.lang.String getImage()
void setImage(java.lang.String image)
image
- The file name or resource name of the image.ImageInfo getImageInfo()
ImageInfo
class that provides information
about the assigned image, such as width, height, format, etc.
ImageInfo
describing this component's image, never null.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |