| java.lang.Object org.apache.harmony.awt.wtk.CursorFactory org.apache.harmony.awt.wtk.linux.LinuxCursorFactory
LinuxCursorFactory | public class LinuxCursorFactory extends CursorFactory implements X11Defs(Code) | | Implementation of CursorFactory for Linux(X11) platform.
|
predefined | final static int[] predefined(Code) | | Java to native type translation table:
native id of symbol in cursorfont(from cursorfont.h),
commented Java cursor type
|
convertTo1Bit | static BufferedImage convertTo1Bit(BufferedImage src)(Code) | | Convert buffered image src to 1-bit BYTE_BINARY buffered image.
Parameters: src - Image to convert new Buffered image containing 1-bit bitmap |
finalize | protected void finalize()(Code) | | we have to explicitly free system("predefined") cursors on X11
because actually they're not "system", but just normal cursors
|
getMask | static BufferedImage getMask(BufferedImage bufImg)(Code) | | Create a mask as 1-bit bitmap from bufImg with alpha.
Mask has the same size as bufImg. Mask pixel is 0 for
completely transparent pixel in bufImg (alpha=0) and 1 otherwise.
Parameters: bufImg - new BufferedImage containing mask |
|
|