Summary
------ ------- return true;
Source file: Image2RGB.java
Hierarchy
Extends: Dispatch
Implements: none
Referenced HyperView classes
Declaration & members
public class Image2RGB extends Dispatch
Declared in src/com/multiversesocial/hyperview/Image2RGB.java, lines 8–330. 16 field(s), 1 constructor(s), 2 method(s), plus 6 nested type(s). Every member has an anchor you can link to (e.g. Image2RGB.html#<id>).
Fields (16)
| Declaration | Value / initializer | Description | Source |
int blockSize | = 0 | No comment in source; not referenced by name in this type’s methods. | line 19 |
int count | = 0 | No comment in source; not referenced by name in this type’s methods. | line 22 |
int flags | = INHERIT_ALL | No comment in source; not referenced by name in this type’s methods. | line 10 |
Graphics inGraphics | = null | No comment in source; not referenced by name in this type’s methods. | line 16 |
Image inImage | = null | No comment in source; not referenced by name in this type’s methods. | line 13 |
HyperStringPop loadPop | = null | No comment in source; not referenced by name in this type’s methods. | line 11 |
int maxWait | = 10 | No comment in source; not referenced by name in this type’s methods. | line 24 |
Image oldBack | = null | No comment in source; assigned in run(); used in function(). | line 15 |
int[] pixelData | = null | No comment in source; name appears in 1 other source file(s): MemoryImageGobDispatch. | line 18 |
Graphics processedGraphics | = null | No comment in source; not referenced by name in this type’s methods. | line 17 |
Image processedImage | = null | No comment in source; not referenced by name in this type’s methods. | line 14 |
HyperStringPop savePop | = null | No comment in source; not referenced by name in this type’s methods. | line 12 |
int tHeight | = 0 | No comment in source; name appears in 22 other source file(s): Asteroids, BasicPane, ClassFieldLink, DataType …. | line 21 |
int timeout | = 0 | in seconds | line 25 |
int tWidth | = 0 | No comment in source; name appears in 22 other source file(s): Asteroids, BasicPane, ClassFieldLink, DataType …. | line 20 |
int waitMillis | = 21 | No comment in source; not referenced by name in this type’s methods. | line 23 |
Constructors (1)
| Signature | Description | Source |
Image2RGB(HyperView tView) | 2 statement(s); calls super(). | line 27 |
Methods (2)
| Signature | Description | Source |
public boolean function() | 4 statement(s); calls curView.runView(). | line 71 |
public boolean run() | 22 statement(s); calls curView.setTitle(), loadGad.addDispatch(), convertGad.addDispatch(), saveGad.addDispatch(), stretchGad.addDispatch() …; creates Gadget, LoadImage, ConvertImage. Overrides Dispatch.run() | line 40 |
Nested & additional classes
Image2RGBGetTimeout (nested type, lines 82–100)
class Image2RGBGetTimeout extends GetString
Fields (0)
None declared.
Constructors (2)
| Signature | Description | Source |
Image2RGBGetTimeout() | 1 statement(s); calls super(). | line 84 |
Image2RGBGetTimeout(HyperView tView, int tX, int tY) | 1 statement(s); calls super(). | line 88 |
Methods (1)
| Signature | Description | Source |
public void function() | 3 statement(s); calls Integer.parseInt(). | line 93 |
SaveImage (nested type, lines 103–144)
class SaveImage extends Dispatch
Fields (0)
None declared.
Constructors (1)
| Signature | Description | Source |
SaveImage() | *************************** Save Image data | line 103 |
Methods (1)
| Signature | Description | Source |
public boolean begin(HyperView tView) | 5 statement(s); calls tmpStr.length(), ps.println(), Integer.toHexString(), ps.print(), ps.close() …; creates HyperStringPop, FileOutputStream, PrintStream. Overrides Dispatch.begin() | line 105 |
Image2RGBSetStretch (nested type, lines 146–154)
class Image2RGBSetStretch extends Dispatch
Fields (0)
None declared.
Constructors (1)
| Signature | Description | Source |
Image2RGBSetStretch() | Implicit default constructor generated by the compiler (not written in the source). | line 146 |
Methods (1)
Image2RGBSetVerbatim (nested type, lines 156–164)
class Image2RGBSetVerbatim extends Dispatch
Fields (0)
None declared.
Constructors (1)
| Signature | Description | Source |
Image2RGBSetVerbatim() | Implicit default constructor generated by the compiler (not written in the source). | line 156 |
Methods (1)
LoadImage (nested type, lines 166–264)
class LoadImage extends Dispatch
Fields (0)
None declared.
Constructors (1)
| Signature | Description | Source |
LoadImage() | Implicit default constructor generated by the compiler (not written in the source). | line 166 |
Methods (1)
| Signature | Description | Source |
public boolean begin(HyperView tView) | 7 statement(s); calls tmpStr.length(), inImage.flush(), inGraphics.dispose(), curView.curRun.gc(), processedImage.flush() …; creates HyperStringPop, URL, HyperPop. Overrides Dispatch.begin() | line 169 |
ConvertImage (nested type, lines 266–328)
class ConvertImage extends Dispatch
Fields (0)
None declared.
Constructors (1)
| Signature | Description | Source |
ConvertImage() | ***************** Convert the Image | line 266 |
Methods (1)
| Signature | Description | Source |
public boolean begin(HyperView tView) | 18 statement(s); calls HyperView.getCurView(), curView.createImage(), bltImage.getGraphics(), bltGraphics.drawImage(), wait() …; creates PixelGrabber, HyperPop. Overrides Dispatch.begin() | line 269 |
Inherited members
Non-private members inherited from HyperView superclasses and not overridden or hidden here.
From Dispatch (47 fields, 4 methods)
Fields: backImage, backImageName, bGPen, clickedGad, curView, cz, fGPen, flags2, focus, gads, GetStringFlag, getStringList, gob, grabbedGad, ID, menuBase, name, noname, num, retVal, savedFlags, sz, tbyte, textBGPen, textFadedColor, textFadeFrame, textFGPen, textFlag, textFont, textLinger, textOrigin, textRestart, textStr, textTimer, textX, textY, tGad, title, titleBltGraphics, titleBltImage, titleGraphics, titleImage, totalGads, totalGetStrings, totalGobs, totalViewStrings, tz
Methods: begin(HyperView), cleanUp(), setID(int), setView(HyperView)
Examples
Real usage taken from elsewhere in the HyperView 3.2 source (file and line shown; source path src/com/multiversesocial/hyperview/).
instantiation — ViewMain.java, line 233
233 i2rgbGad.addDispatch(new Image2RGB(this));