|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectewe.ui.ControlBase
ewe.ui.Control
ewe.ui.Container
ewe.ui.Canvas
ewe.graphics.Mosaic
ewe.graphics.MosaicPanel
ewe.graphics.InteractivePanel
| Field Summary | |
protected boolean |
amDragging
|
boolean |
autoMoveToTop
If this is true then moveable images will be moved to the top when pressed or dragged. |
boolean |
dragBackground
|
ImageList |
touching
Add images to this that will be considered to be touchable. |
| Fields inherited from class ewe.graphics.MosaicPanel |
autoScrolling, canRest, dragged, dragRate, hotCursor, inPanel, isActive, isDragging, isOn, isScrolling, lastPoint, minDragRate, movedOffOf, movingOnTo, needDrag, onImage, pressedImage, restCount, restedImage, resting, scrollStep, xScroll, yScroll |
| Fields inherited from class ewe.graphics.Mosaic |
backgroundImage, firstSnap, images, pauseSnapShots, quickDragging |
| Fields inherited from class ewe.ui.Canvas |
isFullScrollClient, origin, scrollPercent, virtualSize |
| Fields inherited from class ewe.ui.Container |
closedFocus, cycleFocus, dontAutoScroll, dontFocusOnChildren |
| Fields inherited from class ewe.ui.Control |
_debug, backGround, beforeRemoved, borderColor, borderStyle, borderWidth, children, columns, constraints, DoPaintMethod, dragging, dragResolution, dragTime, exitKeys, fieldTransfer, font, foreGround, haveNativePaint, height, holdDownPause, holdTick, hotKey, image, lastSelected, listeners, maxHeight, maxWidth, menuState, minHeight, minWidth, modifiers, MyClass, name, next, np, parent, penStatus, popupSound, popupSoundClip, preferredHeight, preferredWidth, prev, prompt, promptControl, rows, ss, standardBorder, standardEdge, startDragResolution, tags, tail, text, toolTip, width, x, y |
| Fields inherited from class ewe.ui.ControlBase |
clipItems, clipObject, clipOwner, curPoint, currentPenEvent, debugControl, debugFlag, DidHoldDown, doubleBuffer, doubleClickTime, firstPress, globalDrawFlat, globalEditable, globalEnabled, globalPalmStyle, globalSmallControls, GotPenDown, PenIsOn, pressPoint, TAG_LAST_USER_DATA, TAG_USER_DATA, TAKE_FIRST_PRESS, unnamed, useNativeTextInput |
| Fields inherited from interface ewe.fx.ImageRefresher |
KEEP_VISIBLE |
| Fields inherited from interface ewe.ui.IScroll |
Higher, Horizontal, Lower, OPTION_INDICATOR_ONLY, PageHigher, PageLower, ScrollHigher, ScrollLower, TrackTo, Vertical |
| Fields inherited from interface ewe.ui.UIConstants |
BDR_DOTTED, BDR_INNER, BDR_NOBORDER, BDR_OUTER, BDR_OUTLINE, BDR_RAISEDINNER, BDR_RAISEDOUTER, BDR_SUNKENINNER, BDR_SUNKENOUTER, BF_BOTTOM, BF_BOTTOMLEFT, BF_BOTTOMRIGHT, BF_BUTTON, BF_DIAGONAL, BF_DIAGONAL_ENDBOTTOMLEFT, BF_DIAGONAL_ENDBOTTOMRIGHT, BF_DIAGONAL_ENDTOPLEFT, BF_DIAGONAL_ENDTOPRIGHT, BF_EXACT, BF_FLAT, BF_LEFT, BF_MIDDLE, BF_MONO, BF_PALM, BF_RECT, BF_RIGHT, BF_SOFT, BF_SQUARE, BF_TOP, BF_TOPLEFT, BF_TOPRIGHT, EDGE_BUMP, EDGE_ETCHED, EDGE_RAISED, EDGE_SUNKEN |
| Fields inherited from interface ewe.ui.CellConstants |
BORDER, BOTTOM, CELLFLAG, CELLMASK, CENTER, CONTROLMASK, DONTCHANGE, DONTFILL, DONTSTRETCH, EAST, FILL, FIXEDSIZE, GROW, HCENTER, HCONTRACT, HEXPAND, HFILL, HGROW, HSHRINK, HSTRETCH, INITIALLY_CLOSED, INITIALLY_MINIMIZED, INITIALLY_PREFERRED_SIZE, INSETS, LEFT, MAXIMUMSIZE, MINIMUMSIZE, NORTH, NORTHEAST, NORTHWEST, PREFERREDSIZE, RECT, RIGHT, SHRINK, SOUTH, SOUTHEAST, SOUTHWEST, SPAN, STRETCH, TEXTSIZE, TOP, VCENTER, VCONTRACT, VEXPAND, VFILL, VGROW, VSHRINK, VSTRETCH, WEST |
| Fields inherited from interface ewe.ui.ControlConstants |
All, AlwaysEnabled, AlwaysRecalculateSizes, ByDeferredMouse, ByDeferredPen, ByFrameChange, ByKeyboard, ByMouse, ByPen, ByRequest, CalculatedSizes, Disabled, DisablePopupMenu, DisplayOnly, Down, DrawFlat, Flag, ForceResize, HasData, Invisible, KeepImage, KeepSIP, Left, MakeMenuAtLeastAsWide, Maximize, Minimize, MouseSensitive, NoFocus, NotAnEditor, NotEditable, PaintDataOnly, PaintOutsideOnly, PenTransparent, PreferredSizeOnly, Right, SendUpKeyEvents, SendUpPenEvents, ShowSIP, ShrinkToNothing, SmallControl, SpecialBackground, TakeControlEvents, TakesKeyFocus, Transparent, Up, WantDrag, WantHoldDown |
| 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)
Indicates the pen/mouse is attempting to drag an image. |
void |
imageClicked(AniImage which,
Point pos)
|
boolean |
imageDragged(ImageDragContext dc,
Point where)
Indicates the pen/mouse is dragging an image. |
boolean |
imageMovedOff(AniImage which)
Indicates the pen/mouse is no longer over an image. |
boolean |
imageMovedOn(AniImage which)
Indicates the pen/mouse is over an image without the pen/mouse being down (yet). |
boolean |
imageNotDragged(ImageDragContext dc,
Point pos)
Indicates the pen/mouse has released dragging an image. |
boolean |
imagePressed(AniImage which,
Point pos)
Indicates the pen/mouse is pressed on an image. |
boolean |
imageReleased(AniImage which,
Point pos)
Indicates the pen/mouse is released from an image. |
| Methods inherited from class ewe.graphics.MosaicPanel |
activate, deactivate, doMouseEnter, doMouseExit, doMouseMove, dragged, dragging, dragging, imageNotRestingOn, imageRestingOn, mouseEntered, mouseExited, mouseMoved, onPenEvent, penPressed, penReleased, setDragRate, setPressedImage |
| Methods inherited from class ewe.graphics.Mosaic |
addImage, addToSnapShot, confirmImage, doPaint, dropImage, onSetOrigin, paintMosaicBackground, refresh, refresh, refresh, refresh, refresh, refresh, refreshChanged, refreshOnScreen, removeFromSnapShot, removeImage, setAndSizeToBackgroundImage, setMovingImage, takeSnapShot |
| Methods inherited from class ewe.ui.Canvas |
canGo, canScreenScroll, checkScrolls, doBorder, doScroll, fixOrigin, getActual, getBuffer, getCurrent, getDisplayedSize, getMySize, getPercent, getScrollablePanel, getScrollClient, getVisible, getVisibleArea, needScrollBar, onScroll, reduceClip, scroll, scroll, scrollToVisible, setOrigin, updateScrollServer |
| Methods inherited from class ewe.ui.Container |
_paintChildren, add, addDirectly, containerHasFocus, dismantle, dismantle, doHotKey, findChild, focusFirst, focusFirst, focusOnContainer, focusOnData, getChildren, getChildrenBackwards, getFirstFocus, getNextKeyFocus, gotFocus, lostFocus, remove, removeAll, repaintDataNow, takeFocus, takePromptControl |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode |
| Methods inherited from interface ewe.ui.ScrollClient |
getServer, setServer |
| Field Detail |
public ImageList touching
public boolean dragBackground
public boolean autoMoveToTop
protected boolean amDragging
| Constructor Detail |
public InteractivePanel()
| Method Detail |
protected void checkTouching(ImageDragContext dc,
boolean dropped)
public boolean imagePressed(AniImage which,
Point pos)
MosaicPanel
imagePressed in class MosaicPanel
public boolean imageBeginDragged(AniImage which,
Point pos)
MosaicPanel
imageBeginDragged in class MosaicPanel
public boolean imageDragged(ImageDragContext dc,
Point where)
MosaicPanel
imageDragged in class MosaicPanel
public boolean imageNotDragged(ImageDragContext dc,
Point pos)
MosaicPanel
imageNotDragged in class MosaicPanel
public boolean imageReleased(AniImage which,
Point pos)
MosaicPanel
imageReleased in class MosaicPanelpublic void draggingStopped(ImageDragContext dc)
public void draggingStarted(ImageDragContext dc)
public void draggingImage(ImageDragContext dc)
public void draggedOver(ImageDragContext dc)
public void draggedOff(ImageDragContext dc)
public void droppedOn(ImageDragContext dc)
public void imageClicked(AniImage which,
Point pos)
public boolean imageMovedOn(AniImage which)
MosaicPanel
imageMovedOn in class MosaicPanelpublic boolean imageMovedOff(AniImage which)
MosaicPanel
imageMovedOff in class MosaicPanelpublic void dragCopyOfImage(ImageDragContext dc)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||