public class ScrollPopupGuiImpl extends MenuGuiImpl
Menu.PopupKeyListener
Modifier and Type | Field and Description |
---|---|
private NativePoint |
physOrigLocation
Store the original top-left coordinate of this pop-up.
|
location, mousePtr, nativeInsets, physicalLocation
Modifier | Constructor and Description |
---|---|
private |
ScrollPopupGuiImpl(Widget<?> owner)
Special constructor used to restore component using given configuration.
|
Modifier and Type | Method and Description |
---|---|
static ScrollPopupGuiImpl |
create(ScrollBar<?> owner,
boolean vertical,
NativePoint physLoc)
Create a system scroll popup menu.
|
private NativePoint |
getPhysOrigLocation()
Gets the physical location of the pop-up stored at the time the menu become visible.
|
private void |
initScrollItems(boolean vertical)
Initialized items of scroll menu.
|
private void |
setPhysOrigLocation(NativePoint physLoc)
Sets the physical location of the pop-up stored at the time the menu become visible.
|
clearItemsHighlight, currentFocus, defaultFocus, doLayout, doShowPopup, draw, findMenuMouseSource, findMouseSource, focus, getFirstEnabledWidget, getFirstFocusableItem, getLastFocusableItem, getMouseWidgets, getTabItemList, height, hide, initialize, isMnemonicsOn, leaveMenu, mouseActions, mouseClicked, processAccelerator, processKeyEvent, setMnemonicsOn, setVisible, width
afterConfigUpdate, config, destroy, focusWorker, getMenu, hasFocus, hasMenuFocus, isDisplayed, isMenubarElement, processKeyAccelerator, setDisplayed, setMenuClosedHandler, showPopup, triggerMenuClosed
add, add, add, addContainerStateListener, addDirectly, belongsTo, checkWidget, childrenLocation, clipping, clipRectangle, copyState, currentFocus, cycleFocus, detach, dimension, dumpCurrentWidgets, dumpWidgets, endSizeChange, firstFocus, focusTraversable, formatDump, get, getClipRect, getEffectiveScrollableSize, getFocusInt, getIgnoreFocus, getLayout, getScrollableSize, hasFocusable, insets, lastFocus, minimumSize, moveAfterTabItem, moveBeforeTabItem, moveToBottom, moveToBottomInClass, moveToTop, moveToTopInClass, moveToZpos, nextFocus, normalizeZOrder, onWidgetAdded, onWidgetRemoved, prepareWidgets, prevFocus, reflectAncestorChange, reflectLocationChange, remove, removeContainerStateListener, repaint, replace, requestFocus, setFocus, setFocusInt, setHeight, setIgnoreFocus, setInsets, setLayout, setSize, setSize, setTabItemList, setWidth, startSizeChange, triggerContainerStateRedrawEnabled, unrealize, updateSizeWorker, widgets, widgetsAsList
_setHidden, _setVisible, activateDirectManipulation, addFocusListener, addKeyListener, afterConfigUpdateBase, ancestor, ancestorId, autoResize, bounds, clear, clearWidget, clipRectangle, clipRectangle, clipWith, copyColors, createMouseHoverAction, deactivateDirectManipulation, debug, disable, displayPhysicalLocation, drawCaret, enable, enclosingFrame, forceCursorOnFocus, forceVisibility, getActualBounds, getAndResetBitmap, getAndSetBitmap, getBitmapCopy, getCachedScreenLocation, getCachedScreenPhysicalLocation, getCustomMousePointer, getDefaultEvent, getEffectiveMousePointer, getId, getLoadedMousePointer, getMenuMouse, getMouseActions, getPortableMouseEventCoordinates, getSelectedText, getState, getTextHeight, getTextHeightNative, getTextWidth, getTextWidth, getTextWidthNative, getTextWidthNative, getVisiblePart, getZOrderClass, hidden, highlighted, ignoreAction, isCurrent, isDirectManipulationCapable, isDirectManipulationRequired, isEnabled, isFocusable, isHeader, isRealized, isRepaintDisabled, isRMBEntrySupported, isScreenLocationCached, isTabStop, isThreeD, isTotallyObscured, isVisible, isVisible, location, manageSystemActions, mouseDragged, mouseEntered, mouseExited, mouseMoved, mousePressed, mouseReleased, mouseWheelMoved, moveToBottom, moveToTop, name, navigable, parent, parent, parentObject, parentOrSelf, parentOrSelfObject, physicalBounds, physicalDimension, physicalLocation, postprocessConfig, prepParentLocation, processDirectManipulationEvent, processEvent, processFocusEvent, processKeyListeners, processMnemonic, processMnemonicImpl, processSystemKey, raiseLegacyMouseEvents, refresh, registerWidgetStateListener, repaint, requestSync, resetBitmap, resizeTo, resolveFont, resolvePopupMenuId, resolveTitleFont, screen, screenDimension, screenHeight, screenLocation, screenPhysicalLocation, screenWidth, setBitmap, setCachedScreenLocation, setCachedScreenPhysicalLocation, setEnabled, setHidden, setHighlighted, setLocation, setLocation, setMousePointer, setParent, setPhysicalLocation, setState, show, showPopupMenu, supportsCustomMousePointer, sync, topLevelWindow, toString, translate, window
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
addFocusListener, addKeyListener, ancestor, ancestorId, bounds, clearWidget, defaultMousePtr, displayPhysicalLocation, drawCaret, enclosingFrame, enforceDefaultMousePtr, forceCursorOnFocus, forceVisibility, getActualBounds, getCustomMousePointer, getEffectiveMousePointer, getId, getLegacyWidget, getLoadedMousePointer, getMenuMouse, getMouseActions, getSelectedText, getState, getVisiblePart, getZOrderClass, hidden, highlighted, isCurrent, isDirectManipulable, isDroppable, isEnabled, isFocusable, isHeader, isRealized, isRepaintDisabled, isRMBEntrySupported, isTabStop, isThreeD, isTotallyObscured, isVisible, isVisible, location, maySwitchFocus, moveToBottom, moveToTop, name, navigable, parent, parent, parentObject, parentOrSelf, parentOrSelfObject, physicalBounds, physicalDimension, physicalLocation, postprocessConfig, processDirectManipulationEvent, processEvent, processFocusEvent, processKeyListeners, processMnemonic, raiseLegacyMouseEvents, repaint, requestFocus, requestSync, resizeTo, resolvePopupMenuId, screen, screenLocation, screenPhysicalLocation, setEnabled, setHidden, setHighlighted, setLocation, setLocation, setMousePointer, setParent, setPhysicalLocation, setState, show, supportsCustomMousePointer, topLevelWindow, window
private NativePoint physOrigLocation
private ScrollPopupGuiImpl(Widget<?> owner)
owner
- A widget that will own the popup.private NativePoint getPhysOrigLocation()
private void setPhysOrigLocation(NativePoint physLoc)
physLoc
- Physical locationof the pop-up to create, top left point.public static ScrollPopupGuiImpl create(ScrollBar<?> owner, boolean vertical, NativePoint physLoc)
owner
- The sroll bar owning created system menu.vertical
- Orientation of owning scroll bar.physLoc
- Physical locationof the pop-up to create, top left point.private void initScrollItems(boolean vertical)
vertical
- Orientation of owning scroll bar.