|
||||||||||
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.ui.Panel
ewe.ui.CellPanel
ewe.ui.FormBase
ewe.ui.Form
courselog.CourseLogAppForm
courselog.NavigateForm
public class NavigateForm
Navigation panel for the application.
Field Summary | |
---|---|
protected PullDownForKey |
bGoto
|
static ewe.fx.Color |
COLOROSDBACKGROUND
Color for screen data background |
static ewe.fx.Color |
COLOROSDFOREGROUND
Color for screen data foreground |
protected ewe.fx.IconAndText |
iconTrack_OFF
|
protected ewe.fx.IconAndText |
iconTrack_ON
|
protected ewe.fx.IconAndText |
iconWaypoints_OFF
|
protected ewe.fx.IconAndText |
iconWaypoints_ON
|
ewe.ui.Menu |
menuDisplay
|
protected ewe.ui.Menu |
menuNoWaypointActions
|
ewe.ui.Menu |
menuPoint
|
protected ewe.ui.Menu |
menuShow
|
protected ewe.ui.Menu |
menuWaypointActions
|
protected ewe.ui.MenuItem |
miDelete
|
protected ewe.ui.MenuItem |
miDispTrack
|
protected ewe.ui.MenuItem |
miDispWaypoints
|
protected ewe.ui.MenuItem |
miInvert
|
protected ewe.ui.MenuItem |
miSwapLock
|
protected ewe.ui.MenuItem |
miSwapState
|
protected MainApplication |
myApp
|
protected ewe.ui.Menu |
myMenuMapActions
|
protected PullDownForKey |
pdMapActions
|
ewe.fx.IconAndText |
SWAPFOLLOW
|
ewe.fx.IconAndText |
SWAPFREE
|
protected TiledMapBrowser |
tmb
|
ewe.fx.IconAndText |
WPLOCKED
|
ewe.fx.IconAndText |
WPUNLOCKED
|
Fields inherited from class courselog.CourseLogAppForm |
---|
bLeft, bRight, dbgL, defC |
Fields inherited from class ewe.ui.Form |
---|
acceptsDroppedFiles, apply, back, buttons, BUTTONS_TO_SOFT_KEY_FIRST_BUTTON_SEPARATE, BUTTONS_TO_SOFT_KEY_MENU_ALWAYS, BUTTONS_TO_SOFT_KEY_USE_FIRST_SOFT_KEY, buttonsPanel, buttonsPerRow, cancel, deflt, dismantleOnClose, exitButtonDefined, exitSystemOnClose, exitValue, firstFocus, formFrame, globalIcon, handle, hasTopBar, keepFrame, moveable, no, noBorder, ok, pl, reset, resizable, resizeOnSIP, taskbarIcon, title, titleCancel, titleControls, titleOK, topControls, untitledTitle, windowFlagsToClear, windowFlagsToSet, windowIcon, windowTitle, yes |
Fields inherited from class ewe.ui.FormBase |
---|
BACKB, CANCELB, close, cross, defaultShowOptions, DEFCANCELB, DEFOKB, EXIT_IDBACK, EXIT_IDCANCEL, EXIT_IDNO, EXIT_IDOK, EXIT_IDYES, IDBACK, IDCANCEL, IDNO, IDOK, IDYES, MBB, MBNONE, MBOK, MBOKCANCEL, MBYESNO, MBYESNOCANCEL, NOB, OKB, stop, tick, tools, YESB |
Fields inherited from class ewe.ui.CellPanel |
---|
autoSpan, equalHeights, equalWidths, layout, mySplitter, nextSplitter, quickRecalculate |
Fields inherited from class ewe.ui.Panel |
---|
all, backgroundImage, calculated, childListeners, defaultAddToMeCellConstraints, defaultTags, grid, lastAdded, layoutManager, made, noInsets, stretchFirstColumn, stretchFirstRow, stretchLastColumn, stretchLastRow, titleGap |
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.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.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.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 |
Fields inherited from interface ewe.fx.ImageRefresher |
---|
KEEP_VISIBLE |
Constructor Summary | |
---|---|
NavigateForm(MainApplication myApp)
|
Method Summary | |
---|---|
void |
buildWPAndTrackIcons()
Build the icons for the waypoints and track menus. |
void |
executeAction(java.lang.String actString)
|
void |
invertTrack()
Invert the waypoints track. |
boolean |
mayNotLoseWaypoints()
Ask whether the user accepts to lose waypoints. |
void |
onEvent(ewe.ui.Event ev)
|
void |
recenterOnPenHeld()
Select Next position to center the map on. |
void |
reLoad()
|
void |
removeWaypoint()
Remove last waypoint selected via pen held. |
void |
rescaleMax()
|
void |
rescaleMin()
|
void |
rescaleOne()
|
void |
selectNextWaypoint()
Select Next waypoint to aim to, designated via pen held. |
void |
setMyTMState(int newState)
Set the current TiledMapBrowser state and update menus. |
void |
swapLockedWP()
Swap the waypoints mode from locked to unlocked or vice-versa. |
void |
swapState()
|
void |
swapTrackDisplay()
|
void |
swapWaypointsDisplay()
|
void |
tryExitForm(int nextState)
Triggers an exit from the application |
void |
tryNewWaypoints()
Reset the waypoints. |
void |
tryOpenWaypoints()
|
void |
trySaveWaypoints()
|
Methods inherited from class courselog.CourseLogAppForm |
---|
courseLogAppFormSetup |
Methods inherited from class ewe.ui.Form |
---|
_getSetField, addButton, addTabbedPanel, addToolbar, buttonsToMenu, buttonsToSoftKeyBar, buttonsToSoftKeyBar, cancelWait, canExit, checkButtons, close, closeAll, closeForTransfer, closeForTransfer, continueWait, createMenuItem, createMenuItem, createMenuItem, createWindow, defaultTitleTo, dismantle, doButtons, doShowExec, exec, exec, exec, exec, exec, exec, exec, exec, exec, execute, execute, execute, exit, filesDropped, formClosing, formShown, gatherButtons, getButton, getFirstFocus, getFormFrame, getProperties, getSoftKeyBarFor, getTopmostForm, handleAction, handleAction, hasExitButton, make, makeButtonForForm, makeButtonForForm, makeDefaultButton, makeDefaultButton, makeFrame, makeMenuItemForForm, makeMenuItemForForm, makeSoftKeys, makeSoftKeys, mb, menuItemSelected, modifyForSmartPhone, onControlEvent, onDataChangeEvent, onSoftKey, onSoftKey, placeCancelOnLeft, removeSoftKeyBarFor, setOKCancel, setSoftKeyBarFor, setSoftKeyBarForAll, setTitle, setTopLevelTitle, setupFrame, show, show, show, show, show, show, shown, showWait, stopFormHandle, toolsOnBottom, waitUntilClosed, waitUntilClosed, waitUntilClosed, waitUntilClosed, waitUntilPainted |
Methods inherited from class ewe.ui.CellPanel |
---|
calculateSizes, makeLayoutGrid, relayout, relayoutMe, removeAll, reShow, resize, resizeTo |
Methods inherited from class ewe.ui.Panel |
---|
add, addChildListener, addDirectly, addLast, addLast, addNext, addNext, addNext, doBackground, doBorder, endRow, getControlTag, getPreferredSize, getSubControls, isEmpty, layout, remove, removeChildListener, sendToChildListeners, setText |
Methods inherited from class ewe.ui.Canvas |
---|
canGo, canScreenScroll, checkScrolls, doScroll, fixOrigin, getActual, getBuffer, getCurrent, getDisplayedSize, getMySize, getPercent, getScrollablePanel, getScrollClient, getVisible, getVisibleArea, needScrollBar, onScroll, onSetOrigin, reduceClip, scroll, scroll, scrollToVisible, setOrigin, updateScrollServer |
Methods inherited from class ewe.ui.Container |
---|
_paintChildren, add, containerHasFocus, dismantle, doHotKey, findChild, focusFirst, focusFirst, focusOnContainer, focusOnData, getChildren, getChildrenBackwards, getNextKeyFocus, gotFocus, lostFocus, repaintDataNow, takeFocus, takePromptControl |
Methods inherited from class ewe.ui.Control |
---|
acceptsData, activate, addListener, addTimer, amOnTopFrame, calculateTextSize, cancelCut, cancelHoldDown, canEdit, chainDataChange, change, checkClipboardOperations, checkExitKey, checkMenu, checkMenuKey, checkModifiers, checkPenTransparent, clearTag, clipboardToString, clipboardTransfer, closeMenu, contains, contains, createGraphics, dataAccepted, dataBeingRemoved, dataDraggedOff, dataDraggedOver, dataDraggedOver, dataDroppedOn, dataTransferCancelled, deactivate, defaultTo, doAction, doActionKey, doMenu, dontAcceptDrop, doPaint, doPaintChildren, doPaintChildren, doPaintChildren, doPaintData, doPaintData, doShowMenu, dragged, exitEntry, fillBackground, fromClipboard, fromField, fromField, getAllDescendants, getAllSubControls, getBackground, getClipboardMenu, getClipObject, getControlBuffer, getControlBuffer, getDataRect, getDataToCopy, getDataToDragAndDrop, getDim, getDisplayText, getDragAndDropContext, getFont, getFontMetrics, getFontMetrics, getForeground, getFrame, getFrameOrContainer, getGraphics, getImage, getLastSelected, getLocation, getMaximumSize, getMenu, getMinimumSize, getModifiers, getNext, getParent, getPasswordCharacter, getPosInFrame, getPosInParent, getPreferredSize, getPrompt, getPromptText, getRect, getRect, getServer, getSize, getSizes, getTag, getText, getToolTip, getWindow, hasModifier, hasPopupFormAttached, hasTag, inheritModifiers, isChildOf, isModal, isOnMe, isSomeonesHotKey, makeFrameTopMost, makeHot, menuIsActive, modify, modifyAll, modifyAll, notifyAction, notifyDataChange, notifyDataChange, notNative_doPaintChildren, oldButWorksDoPaintChildren, oldPaintChildren, oldPostEvent, onKeyEvent, onLabelPenEvent, onPaint, onPenEvent, paintBackground, paintChildren, penClicked, penDoubleClicked, penHeld, penPressed, penReleased, penRightReleased, popupBeep, popupMenuClosed, popupMenuEvent, popupMenuEvent, postEvent, recalculatePreferredSize, redisplay, refresh, removeListener, removeTimer, repaint, repaintNow, repaintNow, repaintNow, requestPaint, requestResizeTo, resetRect, restore, scrollAndRepaint, sendToListeners, set, setBorder, setCell, setClipObject, setControl, setCursor, setFixedSize, setFont, setHotKey, setHotKey, setLocation, setMaximumSize, setMenu, setMinimumSize, setPreferredSize, setPromptControl, setRect, setRect, setServer, setTag, setTags, setTextSize, setToolTip, show, standardOnKeyEvent, startDragAndDrop, startDragAndDrop, startDragging, stopDragging, takeData, takeFromClipboard, testDim, ticked, toClipboard, toField, toField, toString, toTextData, transferPenPress, transferPenPress, tryDragAndDrop, tryNext, tryStartMenu, updateData, willAcceptDrop, willShowFrame |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface ewe.ui.ScrollClient |
---|
getServer, setServer |
Field Detail |
---|
public static final ewe.fx.Color COLOROSDBACKGROUND
public static final ewe.fx.Color COLOROSDFOREGROUND
public final ewe.fx.IconAndText SWAPFOLLOW
public final ewe.fx.IconAndText SWAPFREE
public final ewe.fx.IconAndText WPLOCKED
public final ewe.fx.IconAndText WPUNLOCKED
protected ewe.fx.IconAndText iconWaypoints_ON
protected ewe.fx.IconAndText iconWaypoints_OFF
protected ewe.fx.IconAndText iconTrack_ON
protected ewe.fx.IconAndText iconTrack_OFF
protected PullDownForKey pdMapActions
protected PullDownForKey bGoto
protected TiledMapBrowser tmb
protected MainApplication myApp
protected ewe.ui.Menu menuWaypointActions
protected ewe.ui.Menu menuNoWaypointActions
protected ewe.ui.Menu myMenuMapActions
protected ewe.ui.MenuItem miSwapState
protected ewe.ui.MenuItem miSwapLock
protected ewe.ui.MenuItem miDispWaypoints
protected ewe.ui.MenuItem miDispTrack
protected ewe.ui.Menu menuShow
protected ewe.ui.MenuItem miDelete
protected ewe.ui.MenuItem miInvert
public ewe.ui.Menu menuPoint
public ewe.ui.Menu menuDisplay
Constructor Detail |
---|
public NavigateForm(MainApplication myApp)
Method Detail |
---|
public void setMyTMState(int newState)
newState
- value, one of TiledMapBrowser.STATE_xxx values.public void buildWPAndTrackIcons()
public void tryExitForm(int nextState)
nextState
- Next application state.public void tryOpenWaypoints()
public void tryNewWaypoints()
public void trySaveWaypoints()
public void swapWaypointsDisplay()
public void swapTrackDisplay()
public void swapLockedWP()
public void swapState()
public void rescaleOne()
public void rescaleMax()
public void rescaleMin()
public void reLoad()
public void invertTrack()
public void removeWaypoint()
public void selectNextWaypoint()
public void recenterOnPenHeld()
public boolean mayNotLoseWaypoints()
public void executeAction(java.lang.String actString)
public void onEvent(ewe.ui.Event ev)
onEvent
in interface ewe.ui.EventListener
onEvent
in class ewe.ui.Form
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |