Java Doc for MWImage.java in  » 6.0-JDK-Modules » j2me » java » awt » Java Source Code / Java DocumentationJava Source Code and Java Documentation

Java Source Code / Java Documentation
1. 6.0 JDK Core
2. 6.0 JDK Modules
3. 6.0 JDK Modules com.sun
4. 6.0 JDK Modules com.sun.java
5. 6.0 JDK Modules sun
6. 6.0 JDK Platform
7. Ajax
8. Apache Harmony Java SE
9. Aspect oriented
10. Authentication Authorization
11. Blogger System
12. Build
13. Byte Code
14. Cache
15. Chart
16. Chat
17. Code Analyzer
18. Collaboration
19. Content Management System
20. Database Client
21. Database DBMS
22. Database JDBC Connection Pool
23. Database ORM
24. Development
25. EJB Server geronimo
26. EJB Server GlassFish
27. EJB Server JBoss 4.2.1
28. EJB Server resin 3.1.5
29. ERP CRM Financial
30. ESB
31. Forum
32. GIS
33. Graphic Library
34. Groupware
35. HTML Parser
36. IDE
37. IDE Eclipse
38. IDE Netbeans
39. Installer
40. Internationalization Localization
41. Inversion of Control
42. Issue Tracking
43. J2EE
44. JBoss
45. JMS
46. JMX
47. Library
48. Mail Clients
49. Net
50. Parser
51. PDF
52. Portal
53. Profiler
54. Project Management
55. Report
56. RSS RDF
57. Rule Engine
58. Science
59. Scripting
60. Search Engine
61. Security
62. Sevlet Container
63. Source Control
64. Swing Library
65. Template Engine
66. Test Coverage
67. Testing
68. UML
69. Web Crawler
70. Web Framework
71. Web Mail
72. Web Server
73. Web Services
74. Web Services apache cxf 2.0.1
75. Web Services AXIS2
76. Wiki Engine
77. Workflow Engines
78. XML
79. XML UI
Java
Java Tutorial
Java Open Source
Jar File Download
Java Articles
Java Products
Java by API
Photoshop Tutorials
Maya Tutorials
Flash Tutorials
3ds-Max Tutorials
Illustrator Tutorials
GIMP Tutorials
C# / C Sharp
C# / CSharp Tutorial
C# / CSharp Open Source
ASP.Net
ASP.NET Tutorial
JavaScript DHTML
JavaScript Tutorial
JavaScript Reference
HTML / CSS
HTML CSS Reference
C / ANSI-C
C Tutorial
C++
C++ Tutorial
Ruby
PHP
Python
Python Tutorial
Python Open Source
SQL Server / T-SQL
SQL Server / T-SQL Tutorial
Oracle PL / SQL
Oracle PL/SQL Tutorial
PostgreSQL
SQL / MySQL
MySQL Tutorial
VB.Net
VB.Net Tutorial
Flash / Flex / ActionScript
VBA / Excel / Access / Word
XML
XML Tutorial
Microsoft Office PowerPoint 2007 Tutorial
Microsoft Office Excel 2007 Tutorial
Microsoft Office Word 2007 Tutorial
Java Source Code / Java Documentation » 6.0 JDK Modules » j2me » java.awt 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   java.awt.Image
      java.awt.MWImage

All known Subclasses:   java.awt.MWSubimage,  java.awt.MWOffscreenImage,
MWImage
class MWImage extends java.awt.Image implements ImageConsumer,sun.awt.image.BufferedImagePeer(Code)
Microwindows image implementation.
version:
   1.51 08/19/02


Field Summary
final static  intREDRAW_COUNT
    
 MWGraphicsConfigurationgc
    
 ImageProducerproducer
     The producer actually used and returned by getProducer.
 intpsd
    
 booleanstarted
    
 intstatus
    
 intwidthheight
    

Constructor Summary
 MWImage(int width, int height, MWGraphicsConfiguration gc)
     Creates an offscreen image of the specified width and height.
 MWImage(ImageProducer imageProd)
     Creates an image from the supplied image producer.
 MWImage(MWImage image)
     Creates a new MWImage from an existing one. This constructor only exists for MWSubImage class and should not be used for any other purpose.

Method Summary
synchronized  voidaddObserver(ImageObserver observer)
    
 voiddrawImage(int psd, int x, int y, Color bg)
    
 voiddrawImage(int psd, int dx1, int dy1, int dx2, int dy2, int sx1, int sy1, int sx2, int sy2, Color bg)
    
protected  voidfinalize()
    
public synchronized  voidflush()
    
public  ColorModelgetColorModel()
    
public  GraphicsgetGraphics()
    
public  intgetHeight()
    
public  intgetHeight(ImageObserver observer)
    
public  ObjectgetProperty(String name)
    
public  ObjectgetProperty(String name, ImageObserver observer)
    
public  String[]getPropertyNames()
    
public  intgetRGB(int x, int y)
    
public  int[]getRGB(int startX, int startY, int w, int h, int[] rgbArray, int offset, int scansize)
    
public  ImageProducergetSource()
    
 intgetStatus(ImageObserver observer)
    
public  BufferedImagegetSubimage(int x, int y, int w, int h)
    
public  intgetType()
    
public  intgetWidth()
    
public  intgetWidth(ImageObserver observer)
    
 booleanhasError()
    
public  voidimageComplete(int stat)
    
 booleanisComplete()
    
native static  voidpDrawImage(int psd, int psd_image, int x, int y, Color bg)
    
synchronized  booleanprepareImage(int width, int height, ImageObserver observer)
    
public  voidsetColorModel(ColorModel cm)
    
public synchronized  voidsetDimensions(int width, int height)
    
public  voidsetHints(int hints)
    
public  voidsetPixels(int x, int y, int w, int h, ColorModel cm, byte[] pixels, int off, int scansize)
    
public  voidsetPixels(int x, int y, int w, int h, ColorModel cm, int[] pixels, int off, int scansize)
    
public  voidsetProperties(Hashtable props)
    
public synchronized  voidsetRGB(int x, int y, int rgb)
    
public  voidsetRGB(int startX, int startY, int w, int h, int[] rgbArray, int offset, int scansize)
    
synchronized  voidstartProduction()
    
public  StringtoString()
    

Field Detail
REDRAW_COUNT
final static int REDRAW_COUNT(Code)



gc
MWGraphicsConfiguration gc(Code)



producer
ImageProducer producer(Code)
The producer actually used and returned by getProducer. This may be a scaled image producer if the image was prepared with a specified width and height or it may be the original image producer if -1 was used for the width and height to prepareImage.



psd
int psd(Code)
MicroWindows PSD for this image



started
boolean started(Code)



status
int status(Code)



widthheight
int widthheight(Code)




Constructor Detail
MWImage
MWImage(int width, int height, MWGraphicsConfiguration gc)(Code)
Creates an offscreen image of the specified width and height. This constructor exists for the MWOffscreenImage class which is a sub class and should not be called directly.



MWImage
MWImage(ImageProducer imageProd)(Code)
Creates an image from the supplied image producer.



MWImage
MWImage(MWImage image)(Code)
Creates a new MWImage from an existing one. This constructor only exists for MWSubImage class and should not be used for any other purpose.




Method Detail
addObserver
synchronized void addObserver(ImageObserver observer)(Code)



drawImage
void drawImage(int psd, int x, int y, Color bg)(Code)



drawImage
void drawImage(int psd, int dx1, int dy1, int dx2, int dy2, int sx1, int sy1, int sx2, int sy2, Color bg)(Code)



finalize
protected void finalize()(Code)



flush
public synchronized void flush()(Code)



getColorModel
public ColorModel getColorModel()(Code)



getGraphics
public Graphics getGraphics()(Code)



getHeight
public int getHeight()(Code)



getHeight
public int getHeight(ImageObserver observer)(Code)



getProperty
public Object getProperty(String name)(Code)



getProperty
public Object getProperty(String name, ImageObserver observer)(Code)



getPropertyNames
public String[] getPropertyNames()(Code)



getRGB
public int getRGB(int x, int y)(Code)



getRGB
public int[] getRGB(int startX, int startY, int w, int h, int[] rgbArray, int offset, int scansize)(Code)



getSource
public ImageProducer getSource()(Code)



getStatus
int getStatus(ImageObserver observer)(Code)



getSubimage
public BufferedImage getSubimage(int x, int y, int w, int h)(Code)



getType
public int getType()(Code)



getWidth
public int getWidth()(Code)



getWidth
public int getWidth(ImageObserver observer)(Code)



hasError
boolean hasError()(Code)



imageComplete
public void imageComplete(int stat)(Code)
--- Consumer Stuff --- ****



isComplete
boolean isComplete()(Code)



pDrawImage
native static void pDrawImage(int psd, int psd_image, int x, int y, Color bg)(Code)



prepareImage
synchronized boolean prepareImage(int width, int height, ImageObserver observer)(Code)



setColorModel
public void setColorModel(ColorModel cm)(Code)



setDimensions
public synchronized void setDimensions(int width, int height)(Code)



setHints
public void setHints(int hints)(Code)



setPixels
public void setPixels(int x, int y, int w, int h, ColorModel cm, byte[] pixels, int off, int scansize)(Code)



setPixels
public void setPixels(int x, int y, int w, int h, ColorModel cm, int[] pixels, int off, int scansize)(Code)



setProperties
public void setProperties(Hashtable props)(Code)



setRGB
public synchronized void setRGB(int x, int y, int rgb)(Code)



setRGB
public void setRGB(int startX, int startY, int w, int h, int[] rgbArray, int offset, int scansize)(Code)



startProduction
synchronized void startProduction()(Code)



toString
public String toString()(Code)



Fields inherited from java.awt.Image
final public static int SCALE_AREA_AVERAGING(Code)(Java Doc)
final public static int SCALE_DEFAULT(Code)(Java Doc)
final public static int SCALE_FAST(Code)(Java Doc)
final public static int SCALE_REPLICATE(Code)(Java Doc)
final public static int SCALE_SMOOTH(Code)(Java Doc)
final public static Object UndefinedProperty(Code)(Java Doc)

Methods inherited from java.awt.Image
abstract public void flush()(Code)(Java Doc)
abstract public Graphics getGraphics()(Code)(Java Doc)
abstract public int getHeight(ImageObserver observer)(Code)(Java Doc)
abstract public Object getProperty(String name, ImageObserver observer)(Code)(Java Doc)
public Image getScaledInstance(int width, int height, int hints)(Code)(Java Doc)
abstract public ImageProducer getSource()(Code)(Java Doc)
abstract public int getWidth(ImageObserver observer)(Code)(Java Doc)

Methods inherited from java.lang.Object
public boolean equals(Object obj)(Code)(Java Doc)
final native public Class getClass()(Code)(Java Doc)
native public int hashCode()(Code)(Java Doc)
final native public void notify()(Code)(Java Doc)
final native public void notifyAll()(Code)(Java Doc)
public String toString()(Code)(Java Doc)
final native public void wait(long timeout) throws InterruptedException(Code)(Java Doc)
final public void wait(long timeout, int nanos) throws InterruptedException(Code)(Java Doc)
final public void wait() throws InterruptedException(Code)(Java Doc)

www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.