class BrowsePopupMenu extends MenuGuiImpl
Menu.PopupKeyListener
Modifier and Type | Field and Description |
---|---|
private static java.util.logging.Logger |
log
Logger.
|
private static int |
MAX_FONT_SIZE
Maximum size of the font allowed for selection.
|
private static int |
MIN_FONT_SIZE
Minimum size of the font allowed for selection.
|
location, mousePtr, nativeInsets, physicalLocation
Modifier | Constructor and Description |
---|---|
private |
BrowsePopupMenu(Browse browse)
Constructs a popup menu.
|
Modifier and Type | Method and Description |
---|---|
static BrowsePopupMenu |
create(BrowseGuiImpl browse,
BrowseColumnGuiImpl column)
Create a popup menu for the given browse.
|
private static MenuItemGuiImpl |
createExportMenuItem(Browse browse,
MediaType outputFormat)
Create menu item that calls export to the specified format.
|
private static java.awt.event.MouseAdapter |
getBrowseColorChangeAdapter(BrowseGuiImpl browse,
EnhancedBrowseParameter param)
Create a mouse adapter that calls color change dialog for the browse.
|
private static java.awt.event.MouseAdapter |
getBrowseFontChangeAdapter(BrowseGuiImpl browse,
EnhancedBrowseParameter param)
Create a mouse adapter that calls font change dialog for the browse.
|
private static java.awt.event.MouseAdapter |
getColumnColorChangeAdapter(BrowseColumnGuiImpl column,
EnhancedBrowseParameter param)
Create a mouse adapter that calls color change dialog for the browse column.
|
private static java.awt.event.MouseAdapter |
getColumnFontChangeAdapter(BrowseColumnGuiImpl column,
EnhancedBrowseParameter param)
Create a mouse adapter that calls font change dialog for the browse column.
|
private static java.awt.event.MouseAdapter |
getSaveTargetAdapter(BrowseGuiImpl browse,
EnhancedBrowseSaveTarget saveTarget)
Get mouse adapter which saves the enhanced browse configuration into the specified save
target.
|
private static java.lang.String |
getSaveTargetDescription(EnhancedBrowseSaveTarget saveTarget)
Get description of the specified save target.
|
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 static java.util.logging.Logger log
private static final int MIN_FONT_SIZE
private static final int MAX_FONT_SIZE
private BrowsePopupMenu(Browse browse)
browse
- Parent browse.public static BrowsePopupMenu create(BrowseGuiImpl browse, BrowseColumnGuiImpl column)
browse
- Parent browse.column
- Column which was right-clicked, or null
if the right click was
performed outside of the columns area.private static MenuItemGuiImpl createExportMenuItem(Browse browse, MediaType outputFormat)
browse
- Parent browse.outputFormat
- Report output format.private static java.awt.event.MouseAdapter getColumnColorChangeAdapter(BrowseColumnGuiImpl column, EnhancedBrowseParameter param)
column
- Target browse column.param
- Parameter which specifies which type of color should be changed: can be
EnhancedBrowseParameter.FG_COLOR
, EnhancedBrowseParameter.BG_COLOR
,
EnhancedBrowseParameter.LABEL_FG_COLOR
or
EnhancedBrowseParameter.LABEL_BG_COLOR
.private static java.awt.event.MouseAdapter getBrowseColorChangeAdapter(BrowseGuiImpl browse, EnhancedBrowseParameter param)
browse
- Target browse.param
- Parameter which specifies which type of color should be changed: can be
EnhancedBrowseParameter.FG_COLOR
, EnhancedBrowseParameter.BG_COLOR
,
EnhancedBrowseParameter.LABEL_FG_COLOR
,
EnhancedBrowseParameter.LABEL_BG_COLOR
or
EnhancedBrowseParameter.SEPARATORS_COLOR
.private static java.awt.event.MouseAdapter getColumnFontChangeAdapter(BrowseColumnGuiImpl column, EnhancedBrowseParameter param)
column
- Target browse column.param
- Parameter which specifies which type of font should be changed: can be
EnhancedBrowseParameter.CELLS_FONT
or
EnhancedBrowseParameter.LABEL_FONT
.private static java.awt.event.MouseAdapter getBrowseFontChangeAdapter(BrowseGuiImpl browse, EnhancedBrowseParameter param)
browse
- Target browse.param
- Parameter which specifies which type of font should be changed: can be
EnhancedBrowseParameter.CELLS_FONT
or
EnhancedBrowseParameter.LABEL_FONT
.private static java.awt.event.MouseAdapter getSaveTargetAdapter(BrowseGuiImpl browse, EnhancedBrowseSaveTarget saveTarget)
browse
- Target browse.saveTarget
- Save target (target server, target account, applied to all browses or not).private static java.lang.String getSaveTargetDescription(EnhancedBrowseSaveTarget saveTarget)
saveTarget
- Save target (target server, target account, applied to all browses or not).