public class ListImage extends ComInterface implements IImage
| Modifier and Type | Field and Description |
|---|---|
private comhandle |
picture
The 4GL pictute object
|
private comhandle |
self
Self instance reference
|
private BaseDataType |
tag
The extra data associated with this image
|
parentincludeUnannotatedMethods, LOGGER, methodTable, propertyTableIML_FOCUS, IML_NORMAL, IML_SELECTED, IML_TRANSPARENT| Modifier | Constructor and Description |
|---|---|
private |
ListImage(GenericWidget parent)
Constructor.
|
private |
ListImage(GenericWidget parent,
comhandle picture)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
delete()
Clears the consumed resources.
|
void |
draw(integer hDC,
integer x,
integer y,
integer style)
Draws the image to a given device context (DC) at a specified location using a specified style.
|
memptr |
extractIcon()
Create an icon from a ListImage object in an ImageList control.
|
integer |
getIndex()
Return the index of an object in a collection.
|
character |
getKey()
Get the unique string of an object in a collection.
|
private ListImages |
getListImages()
Unwrap list images object.
|
comhandle |
getPicture()
Get the image Picture
|
BaseDataType |
getTag()
Get any extra data needed for your program.
|
static comhandle |
newInstance(GenericWidget parent,
comhandle picture)
Factory method.
|
private void |
reducePictureRefCount()
Reduces the reference counter of the current picture object in order that it can be deleted.
|
void |
setIndex(integer index)
Set the index of an object in a collection Read only at runtime.
|
void |
setKey(character key)
Set the unique string of an object in a collection.
|
void |
setPicture(comhandle picture)
Set the image Picture
|
void |
setTag(BaseDataType tag)
Set any extra data needed for your program.
|
getActivexName, getName, validcall, chainCall, checkParameters, deref, destroy, getComObjectClass, getComObjectInstance, getParentControlFrame, getParentProcedure, getProperty, id, id, init, marshal, ref, setName, setParentControlFrame, setProperty, unknown, unmarshal, unmarshalclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitallowDeleteprivate comhandle picture
private BaseDataType tag
private comhandle self
private ListImage(GenericWidget parent)
parent - Parent widget.private ListImage(GenericWidget parent, comhandle picture)
parent - Parent widget.public static comhandle newInstance(GenericWidget parent, comhandle picture)
parent - Parent widget.public void draw(integer hDC, integer x, integer y, integer style)
public memptr extractIcon()
extractIcon in interface IImagepublic integer getIndex()
public void setIndex(integer index)
public character getKey()
public void setKey(character key)
public comhandle getPicture()
getPicture in interface IImagepublic void setPicture(comhandle picture)
setPicture in interface IImagepicture - The picture comhandlepublic BaseDataType getTag()
public void setTag(BaseDataType tag)
public void delete()
delete in interface Deletabledelete in class ComInterfaceprivate void reducePictureRefCount()
private ListImages getListImages()