|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.jniwrapper.Parameter com.jniwrapper.Structure com.jniwrapper.win32.gdi.IconInfo
public class IconInfo
This class represents ICONINFO structure.
Field Summary |
---|
Fields inherited from class com.jniwrapper.Structure |
---|
i |
Fields inherited from class com.jniwrapper.Parameter |
---|
LICENSE_TYPE, V |
Constructor Summary | |
---|---|
IconInfo()
Creates instance of the IconInfo . |
|
IconInfo(Bitmap maskBitmap,
Bitmap colorBitmap)
Creates instance of the IconInfo . |
|
IconInfo(IconInfo that)
Creates instance of the IconInfo and initializes it by the specified one. |
Method Summary | |
---|---|
java.lang.Object |
clone()
Creates copy of this instance |
Bitmap |
getColorBitmap()
Returns handle to the icon color bitmap. |
Bitmap |
getMaskBitmap()
Returns the icon bitmask bitmap. |
com.jniwrapper.UInt32 |
getXHotSpot()
Returns the x-coordinate of the hot spot of the cursor. |
com.jniwrapper.UInt32 |
getYHotSpot()
Returns the y-coordinate of the hot spot of the cursor. |
boolean |
isCursor()
Specifies whether this structure defines a cursor. |
boolean |
isIcon()
Specifies whether this structure defines an icon. |
Methods inherited from class com.jniwrapper.Structure |
---|
a, a, acceptIOPerformer, addMembers, computeLength, equals, getAlignmentRequirement, getDebugInfo, getFirstMemberSize, getLength, getMember, getMembers, getOffsets, init, init, initFrom, pop, push, read, setDataBuffer, write |
Methods inherited from class com.jniwrapper.Parameter |
---|
|
Methods inherited from class java.lang.Object |
---|
finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public IconInfo()
IconInfo
.
public IconInfo(Bitmap maskBitmap, Bitmap colorBitmap)
IconInfo
.
maskBitmap
- The icon bitmask bitmap. If this structure defines a black and white icon,
this bitmask is formatted so that the upper half is the icon AND bitmask and the lower half is the
icon XOR bitmask. Under this condition, the height should be an even multiple of two.
If this structure defines a color icon, this mask only defines the AND bitmask of the icon.colorBitmap
- The icon color bitmap.public IconInfo(IconInfo that)
IconInfo
and initializes it by the specified one.
that
- Instance of the IconInfo
.Method Detail |
---|
public Bitmap getMaskBitmap()
public Bitmap getColorBitmap()
public boolean isIcon()
public boolean isCursor()
public com.jniwrapper.UInt32 getXHotSpot()
public com.jniwrapper.UInt32 getYHotSpot()
public java.lang.Object clone()
clone
in class com.jniwrapper.Structure
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |