Package: com.multiversesocial.hyperview
Class: com.multiversesocial.hyperview.Image2RGB
Source: src/com/multiversesocial/hyperview/Image2RGB.java

Image2RGB

HyperView V3.2 — class
version V3.2 class

Summary

------ ------- return true;

Source file: Image2RGB.java

Hierarchy

Extends: Dispatch

Implements: none

Referenced HyperView classes

Media files used

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)

DeclarationValue / initializerDescriptionSource
int blockSize= 0No comment in source; not referenced by name in this type’s methods.line 19
int count= 0No comment in source; not referenced by name in this type’s methods.line 22
int flags= INHERIT_ALLNo comment in source; not referenced by name in this type’s methods.line 10
Graphics inGraphics= nullNo comment in source; not referenced by name in this type’s methods.line 16
Image inImage= nullNo comment in source; not referenced by name in this type’s methods.line 13
HyperStringPop loadPop= nullNo comment in source; not referenced by name in this type’s methods.line 11
int maxWait= 10No comment in source; not referenced by name in this type’s methods.line 24
Image oldBack= nullNo comment in source; assigned in run(); used in function().line 15
int[] pixelData= nullNo comment in source; name appears in 1 other source file(s): MemoryImageGobDispatch.line 18
Graphics processedGraphics= nullNo comment in source; not referenced by name in this type’s methods.line 17
Image processedImage= nullNo comment in source; not referenced by name in this type’s methods.line 14
HyperStringPop savePop= nullNo comment in source; not referenced by name in this type’s methods.line 12
int tHeight= 0No comment in source; name appears in 22 other source file(s): Asteroids, BasicPane, ClassFieldLink, DataType ….line 21
int timeout= 0in secondsline 25
int tWidth= 0No comment in source; name appears in 22 other source file(s): Asteroids, BasicPane, ClassFieldLink, DataType ….line 20
int waitMillis= 21No comment in source; not referenced by name in this type’s methods.line 23

Constructors (1)

SignatureDescriptionSource
Image2RGB(HyperView tView)2 statement(s); calls super().line 27

Methods (2)

SignatureDescriptionSource
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)

SignatureDescriptionSource
Image2RGBGetTimeout()1 statement(s); calls super().line 84
Image2RGBGetTimeout(HyperView tView, int tX, int tY)1 statement(s); calls super().line 88

Methods (1)

SignatureDescriptionSource
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)

SignatureDescriptionSource
SaveImage()*************************** Save Image dataline 103

Methods (1)

SignatureDescriptionSource
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)

SignatureDescriptionSource
Image2RGBSetStretch()Implicit default constructor generated by the compiler (not written in the source).line 146

Methods (1)

SignatureDescriptionSource
public boolean begin(HyperView tView)3 statement(s).
Overrides Dispatch.begin()
line 148

Image2RGBSetVerbatim (nested type, lines 156–164)

class Image2RGBSetVerbatim extends Dispatch

Fields (0)

None declared.

Constructors (1)

SignatureDescriptionSource
Image2RGBSetVerbatim()Implicit default constructor generated by the compiler (not written in the source).line 156

Methods (1)

SignatureDescriptionSource
public boolean begin(HyperView tView)3 statement(s).
Overrides Dispatch.begin()
line 158

LoadImage (nested type, lines 166–264)

class LoadImage extends Dispatch

Fields (0)

None declared.

Constructors (1)

SignatureDescriptionSource
LoadImage()Implicit default constructor generated by the compiler (not written in the source).line 166

Methods (1)

SignatureDescriptionSource
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)

SignatureDescriptionSource
ConvertImage()***************** Convert the Imageline 266

Methods (1)

SignatureDescriptionSource
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));
Hits--