mWaba.gui.graphics
Class Mosaic

java.lang.Object
  |
  +--waba.ui.Control
        |
        +--waba.ui.Container
              |
              +--mWaba.gui.mControl
                    |
                    +--mWaba.gui.mCanvas
                          |
                          +--mWaba.gui.graphics.Mosaic
Direct Known Subclasses:
MosaicPanel

public class Mosaic
extends mCanvas


Field Summary
 waba.fx.Image backgroundImage
           
protected  boolean firstSnap
           
 ImageList images
           
protected  boolean pauseSnapShots
           
 boolean quickDragging
           
 
Fields inherited from class mWaba.gui.mCanvas
hasBorder, origin, raised, recessed, scrollServer, virtualSize
 
Fields inherited from class mWaba.gui.mControl
_debug, AlwaysEnabled, AlwaysRecalculateSize, backGround, borderWidth, CapturesPen, columns, debugGui, defaultAddMeCellConstraints, defaultAddMeControlConstraints, DidHoldDown, Disabled, doubleBuffer, doubleClickTime, dragging, dragResolution, DrawFlat, emptySize, firstPress, fixedPreferredSize, fixedSize, ForceResize, foreGround, globalDrawFlat, globalEditable, globalEnabled, globalSmallControls, GotPenDown, GotPreferredSize, holdDownPause, holdTick, ImageChanged, Invisible, KeepImage, kids, listeners, modifiers, myFont, myFrame, NoFocus, NotAnEditor, NotEditable, PenTransparent, preferredSize, PreferredSizeOnly, pressPoint, prompt, SendUpKeyEvents, SendUpPenEvents, ShrinkToNothing, SmallControl, SpecialBackground, TakeControlEvents, text, Transparent, WantDrag, WantHoldDown
 
Fields inherited from class waba.ui.Container
children, numChildren, tail
 
Fields inherited from class waba.ui.Control
height, next, parent, width, x, y
 
Constructor Summary
Mosaic()
           
 
Method Summary
 void addImage(AniImage im)
           
 void addToSnapShot(AniImage which)
           
 waba.fx.Image confirmImage(waba.fx.Image what)
           
 void doPaint(waba.fx.Graphics g, waba.fx.Rect area)
           
 void dropImage(AniImage which)
           
 void paintMosaicBackground(waba.fx.Graphics g)
           
 void refresh()
           
 void refresh(AniImage image, waba.fx.Graphics gr)
           
 void refresh(waba.fx.Graphics gr)
           
 void refresh(waba.fx.Rect area, waba.fx.Graphics gr)
           
 void removeFromSnapShot(AniImage which)
           
 void removeImage(AniImage im)
           
 void setMovingImage(AniImage which)
           
 void takeSnapShot()
           
 
Methods inherited from class mWaba.gui.mCanvas
checkScrolls, doBorder, doScroll, fixOrigin, getActual, getBuffer, getCurrent, getMySize, getPercent, getVisible, getVisibleArea, onScroll, onSetOrigin, reduceClip, scroll, scroll, setOrigin, setServer, updateScrollServer
 
Methods inherited from class mWaba.gui.mControl
add, addListener, addToFront, amFlat, amOnTopFrame, amSmall, calculatePreferredSize, callBack, checkHasModifier, checkPenTransparent, consume, contains, doBackground, doPaintChildren, doPaintData, dragged, editable, enabled, fixSizeAt, getBackground, getChildren, getChildren, getControlBuffer, getControlBuffer, getDim, getFont, getFontMetrics, getForeground, getFrame, getFrameOrContainer, getGraphics, getNext, getPosInFrame, getPreferredSize, getSurface, gotFocus, handedPenEvent, handOffPenEvent, handOffPenEvent, hasModifier, inheritModifiers, isOnMe, lostFocus, make, makeFrameTopMost, modify, modifyAll, modifyAll, notifyAction, onControlEvent, onEvent, onKeyEvent, onLabelPenEvent, onPaint, onPenEvent, paintBackground, paintChildren, penClicked, penDoubleClicked, penHeld, penPressed, penReleased, postEvent, recalculateSize, redisplay, remove, removeListener, repaint, repaintDataNow, repaintNow, repaintNow, requestCallBack, requestResizeTo, resetRect, resizeTo, restore, sendToListeners, set, setNext, setParent, setRect, show, shown, startDragging, stopDragging, ticked, visible
 
Methods inherited from class waba.ui.Container
findChild
 
Methods inherited from class waba.ui.Control
addTimer, contains, createGraphics, getFontMetrics, getMainWindow, getParent, getRect, removeTimer
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

quickDragging

public boolean quickDragging

pauseSnapShots

protected boolean pauseSnapShots

images

public ImageList images

backgroundImage

public waba.fx.Image backgroundImage

firstSnap

protected boolean firstSnap
Constructor Detail

Mosaic

public Mosaic()
Method Detail

addImage

public void addImage(AniImage im)

removeImage

public void removeImage(AniImage im)

paintMosaicBackground

public void paintMosaicBackground(waba.fx.Graphics g)

confirmImage

public waba.fx.Image confirmImage(waba.fx.Image what)

takeSnapShot

public void takeSnapShot()

removeFromSnapShot

public void removeFromSnapShot(AniImage which)

addToSnapShot

public void addToSnapShot(AniImage which)

setMovingImage

public void setMovingImage(AniImage which)

dropImage

public void dropImage(AniImage which)

refresh

public void refresh(waba.fx.Rect area,
                    waba.fx.Graphics gr)

refresh

public void refresh(AniImage image,
                    waba.fx.Graphics gr)

refresh

public void refresh(waba.fx.Graphics gr)

refresh

public void refresh()

doPaint

public void doPaint(waba.fx.Graphics g,
                    waba.fx.Rect area)
Overrides:
doPaint in class mCanvas