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

SuperBitmap

HyperView V3.2 — class
version V3.2 class

Summary

---

Source file: SuperBitmap.java

Hierarchy

Extends: Gadget

Implements: BitmapConstants

Referenced HyperView classes

Media files used

Declaration & members

public class SuperBitmap extends Gadget implements BitmapConstants

Declared in src/com/multiversesocial/hyperview/SuperBitmap.java, lines 6–372. 29 field(s), 3 constructor(s), 16 method(s). Every member has an anchor you can link to (e.g. SuperBitmap.html#<id>).

Fields (29)

DeclarationValue / initializerDescriptionSource
volatile int bitmapFlagsNo comment in source; assigned in SuperBitmap().line 31
int deltaXNo comment in source; assigned in onClick().line 18
int deltaYNo comment in source; assigned in onClick().line 19
Color frameColorANo comment in source; not referenced by name in this type’s methods.line 8
Color frameColorBNo comment in source; not referenced by name in this type’s methods.line 9
Color frameColorCNo comment in source; not referenced by name in this type’s methods.line 10
int frameWidthNo comment in source; name appears in 5 other source file(s): AnimGob, BasicPane, HyperBoolPop, HyperEditBuffer ….line 11
int frameXNo comment in source; not referenced by name in this type’s methods.line 12
int frameX2No comment in source; not referenced by name in this type’s methods.line 14
int frameYNo comment in source; not referenced by name in this type’s methods.line 13
int frameY2No comment in source; not referenced by name in this type’s methods.line 15
HyperScrollbar horizontalScrollbarNo comment in source; not referenced by name in this type’s methods.line 34
int indexNo comment in source; assigned in SuperBitmap().line 25
volatile HyperKeyboard keyboardNo comment in source; assigned in SuperBitmap(); used in onClick().line 36
int lastSuperTopRowNo comment in source; used in lineFeed().line 30
Image memoryImageNo comment in source; assigned in SuperBitmap().line 22
MemoryImageSource memoryImageSourceNo comment in source; assigned in SuperBitmap().line 24
volatile HyperMouse mouseNo comment in source; assigned in SuperBitmap(); used in onClick().line 35
int[] rasterBitsNo comment in source; assigned in SuperBitmap().line 20
int sourceXNo comment in source; assigned in rethinkDisplay(), onClick(), scrollLeft(), scrollRight(), carriageReturn() …; used in SuperBitmap(), upDateBitmap(), copyHyperRaster().line 26
int sourceX2No comment in source; assigned in SuperBitmap(), rethinkDisplay(), onClick(), scrollLeft(), scrollRight() …; used in upDateBitmap(), copyHyperRaster().line 28
int sourceYNo comment in source; assigned in rethinkDisplay(), onClick(), lineFeed(), scrollUp(), scrollDown() …; used in SuperBitmap(), upDateBitmap(), copyHyperRaster().line 27
int sourceY2No comment in source; assigned in SuperBitmap(), rethinkDisplay(), onClick(), lineFeed(), scrollUp() …; used in upDateBitmap(), copyHyperRaster().line 29
Graphics superGraphicsNo comment in source; assigned in SuperBitmap().line 32
int superHeightNo comment in source; assigned in SuperBitmap(); used in rethinkDisplay(), onClick(), scrollDown().line 17
Image superImageNo comment in source; assigned in SuperBitmap(); used in rethinkDisplay(), onClick(), upDateBitmap(), copyHyperRaster().line 21
int superWidthNo comment in source; assigned in SuperBitmap(); used in rethinkDisplay(), onClick(), scrollRight().line 16
HyperScrollbar verticalScrollbarNo comment in source; not referenced by name in this type’s methods.line 33
Image ViewImageNo comment in source; not referenced by name in this type’s methods.line 23

Constructors (3)

SignatureDescriptionSource
SuperBitmap()1 statement(s); calls super().line 38
SuperBitmap(HyperView tView)52 statement(s); calls super(), curView.createImage(), superImage.getGraphics(), superGraphics.drawImage(), gobPic.getGraphics() …; creates MemoryImageSource.line 43
SuperBitmap(HyperView tView, int tWidth, int tHeight, int sWidth, int sHeight, int pX, int pY)35 statement(s); calls super(), curView.createImage(), superImage.getGraphics(), superGraphics.drawImage(), gobPic.getGraphics() …; creates MemoryImageSource.line 117

Methods (16)

SignatureDescriptionSource
public void carrageReturn(Object lock)Typo alias of carriageReturn (Cont SuperBitmap CR).line 232
void carriageReturn(Object lock)1 statement(s); calls lock.notifyAll().line 277
public void copyHyperRaster()1 statement(s); calls graphics.drawImage().line 365
public void lineFeed(Object lock)1 statement(s); calls lock.notifyAll().line 287
public void onClick()16 statement(s); calls graphics.drawImage().
Overrides Gob.onClick()
line 194
public void rethinkDisplay(int width, int height)Cont ContainerSuperBitmapSetSrc / ContSuperBitmapArrowScroll viewport rethink.line 156
public void scrollDown(int num)3 statement(s).line 336
public void scrollHome()4 statement(s).line 351
public void scrollLeft()2 statement(s).line 238
public void scrollLeft(int tNum, Object lock)1 statement(s).line 244
public void scrollRight()3 statement(s).line 344
public void scrollRight(int tNum)3 statement(s).line 268
public void scrollRight(int tNum, Object lock)1 statement(s).line 256
public void scrollUp(int num)3 statement(s).line 314
public void scrollUp(Object lock)1 statement(s); calls lock.notifyAll().line 322
public void upDateBitmap()1 statement(s); calls graphics.drawImage().line 359

Inherited members

Non-private members inherited from HyperView superclasses and not overridden or hidden here.

From Gadget (34 fields, 26 methods)

Fields: backColor, conFont, cursorGraphics, cursorHeight, cursorImage, cursorName, cursorScrollXOffset, cursorScrollYOffset, cursorWidth, cursorX, cursorY, displayInfo, fGColor, flipCount, font, gadFlags, gadFlags2, gadNumber, lastCursorX, lastCursorY, lineColorA, lineColorB, lineColorC, locked, method, parentTitlebar, stringHeight, stringWidth, stringX, stringY, tc1, tc2, tc3, tc4

Methods: addDispatch(Dispatch), allKeyMsgENA(), cleanUp(), drawCursor(), drawOutline(), drawOutline2(), getForeground(), inKey(), inString(String), isEnabled(), isShowing(), isVisible(), keyReleaseENA(), keyTypedENA(), layerDisable(), layerENA(), makeBitmap(Font), mouseWheelMoved(MouseWheelEvent), onMouseOver(), setEnabled(boolean), setForeground(int), setName(String), setVisible(boolean), toFront(), toString(), updateText()

From Gob (76 fields, 26 methods)

Fields: asynchGraphics1, asynchGraphics2, asynchImage1, asynchImage2, attachedGob, attachedIndex, backGround, bgMemoryImageSource, bGPen, bottomMax, clickX, clickY, collisionClassMask, curAttached, currentZIndex, curView, depth, destGob, destGraphics, dispatchHoldCount, drawMode, dX, dY, dZ, fgMemoryImageSource, fGPen, gobEventFlags, gobFlags, gobFlags2, gobGadIndex, gobHx, gobHy, gobHz, gobName, gobNumber, gobOrbitRadius, gobPic, gobTypeFlags, graphics, gravity, height, heightBase, hSin, hyp, infoString, lClickX, lClickY, leftMin, maxAttached, memoryCounter, moveNum, mX, mX2, mY, mY2, oldX, oldY, oldZ, orbitGob, rightMax, scanLine, selectGraphics, selectImage, selectTime, spline, tint, topMin, totalAttached, width, widthBase, wSin, x, x2, y, y2, z

Methods: addGob(Gob), addSpline(Spline), center(), collisionOff(), collisionOn(), disable(), enable(), getGraphics(), getImageFromJar(String), getPixels(), gobZInit(), initScanline(int), inView(), isInView(), isMemoryImageSource(), move(int, int), move(Gadget, int, int), moveNext(), onDisplay(), onRelease(), printGobAttr(HyperView), printScanLines(), remGob(), remove(), zENA(), zOff()

From Linkable (6 fields, 1 methods)

Fields: attachment, linkFlags, name, next, parentList, prev

Methods: inList()

Examples

Real usage taken from elsewhere in the HyperView 3.2 source (file and line shown; source path src/com/multiversesocial/hyperview/).

subclass — SuperBitmapConsole.java, line 11

   11  public class SuperBitmapConsole extends SuperBitmap implements HyperConsoleConstants,
   12          HyperConstants, ConnectionConstants, SplineConstants, TextConstants {
Hits--