mWaba.gui.graphics
Class InteractivePanel

java.lang.Object
  |
  +--waba.ui.Control
        |
        +--waba.ui.Container
              |
              +--mWaba.gui.mControl
                    |
                    +--mWaba.gui.mCanvas
                          |
                          +--mWaba.gui.graphics.Mosaic
                                |
                                +--mWaba.gui.graphics.MosaicPanel
                                      |
                                      +--mWaba.gui.graphics.InteractivePanel

public class InteractivePanel
extends MosaicPanel


Field Summary
protected  boolean amDragging
           
 boolean dragBackground
           
 ImageList touching
           
 
Fields inherited from class mWaba.gui.graphics.MosaicPanel
autoScrolling, canRest, dragged, dragRate, inPanel, isActive, isDragging, isOn, isScrolling, lastPoint, minDragRate, needDrag, onImage, pressedImage, restCount, restedImage, resting, scrollStep, xScroll, yScroll
 
Fields inherited from class mWaba.gui.graphics.Mosaic
backgroundImage, firstSnap, images, pauseSnapShots, 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
InteractivePanel()
           
 
Method Summary
protected  void checkTouching(ImageDragContext dc, boolean dropped)
           
 void dragCopyOfImage(ImageDragContext dc)
           
 void draggedOff(ImageDragContext dc)
           
 void draggedOver(ImageDragContext dc)
           
 void draggingImage(ImageDragContext dc)
           
 void draggingStarted(ImageDragContext dc)
           
 void draggingStopped(ImageDragContext dc)
           
 void droppedOn(ImageDragContext dc)
           
 boolean imageBeginDragged(AniImage which, Point pos)
           
 void imageClicked(AniImage which, Point pos)
           
 boolean imageDragged(ImageDragContext dc, Point where)
           
 boolean imageMovedOff(AniImage which)
           
 boolean imageMovedOn(AniImage which)
           
 boolean imageNotDragged(ImageDragContext dc, Point pos)
           
 boolean imagePressed(AniImage which, Point pos)
           
 boolean imageReleased(AniImage which, Point pos)
           
 
Methods inherited from class mWaba.gui.graphics.MosaicPanel
activate, db, deactivate, dragged, dragging, dragging, imageNotRestingOn, imageRestingOn, mouseEntered, mouseExited, mouseMoved, penPressed, penReleased, setDragRate, setPressedImage
 
Methods inherited from class mWaba.gui.graphics.Mosaic
addImage, addToSnapShot, confirmImage, doPaint, dropImage, paintMosaicBackground, refresh, refresh, refresh, refresh, removeFromSnapShot, removeImage, setMovingImage, 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, 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, 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

touching

public ImageList touching

dragBackground

public boolean dragBackground

amDragging

protected boolean amDragging
Constructor Detail

InteractivePanel

public InteractivePanel()
Method Detail

checkTouching

protected void checkTouching(ImageDragContext dc,
                             boolean dropped)

imagePressed

public boolean imagePressed(AniImage which,
                            Point pos)
Overrides:
imagePressed in class MosaicPanel

imageBeginDragged

public boolean imageBeginDragged(AniImage which,
                                 Point pos)
Overrides:
imageBeginDragged in class MosaicPanel

imageDragged

public boolean imageDragged(ImageDragContext dc,
                            Point where)
Overrides:
imageDragged in class MosaicPanel

imageNotDragged

public boolean imageNotDragged(ImageDragContext dc,
                               Point pos)
Overrides:
imageNotDragged in class MosaicPanel

imageReleased

public boolean imageReleased(AniImage which,
                             Point pos)
Overrides:
imageReleased in class MosaicPanel

draggingStopped

public void draggingStopped(ImageDragContext dc)

draggingStarted

public void draggingStarted(ImageDragContext dc)

draggingImage

public void draggingImage(ImageDragContext dc)

draggedOver

public void draggedOver(ImageDragContext dc)

draggedOff

public void draggedOff(ImageDragContext dc)

droppedOn

public void droppedOn(ImageDragContext dc)

imageClicked

public void imageClicked(AniImage which,
                         Point pos)

imageMovedOn

public boolean imageMovedOn(AniImage which)
Overrides:
imageMovedOn in class MosaicPanel

imageMovedOff

public boolean imageMovedOff(AniImage which)
Overrides:
imageMovedOff in class MosaicPanel

dragCopyOfImage

public void dragCopyOfImage(ImageDragContext dc)