public class MockConfirmation extends ListPopupImpl
AbstractPopup.MyContentPanel
Disposable.Parent
ElementFilter.Active<T>, ElementFilter.Listener<T>
myChild, myStep, STEP_X_PADDING
FIRST_TIME_SIZE, myOk, myOwner, mySpeedSearch, mySpeedSearchPatternField, SHOW_HINTS
Constructor and Description |
---|
MockConfirmation(ListPopupStep aStep,
java.lang.String onYesText) |
Modifier and Type | Method and Description |
---|---|
void |
showInCenterOf(java.awt.Component aContainer)
Shows the popup in the center of the specified component.
|
void |
showUnderneathOf(java.awt.Component aComponent)
Shows the popup at the bottom left corner of the specified component.
|
addListSelectionListener, afterShowSync, beforeShow, createContent, dispose, disposeChildren, getActionMap, getCellBounds, getInputMap, getList, getListElementRenderer, getListModel, getListStep, getPreferredFocusableComponent, getSelectedIndex, getSelectedValues, goBack, handleFinalChoices, handleNextStep, handleNextStep, handleSelect, handleSelect, isActionClick, isModalContext, onAutoSelectionTimer, onChildSelectedFor, onSelectByMnemonic, onSpeedSearchPatternChanged, process, setHandleAutoSelectionBeforeShow, setMaxRowCount, shouldUseStatistics, showInBestPositionFor, showUnderneathOfLabel
actionPerformed, afterShow, cancel, createContentPanel, createPopup, createScrollPane, dispatch, disposeAllParents, getActionForKeyStroke, getBounds, getParent, getSpeedSearch, getStep, isCancelKeyEnabled, isResizable, notifyParentOnChildSelection, registerAction, registerAction, restartTimer, setFinalRunnable, setOk, setParentValue, shouldBeShowing, show, stopTimer
addListener, addPopupListener, addResizeListener, cancel, canClose, canShow, closeOk, dispatchKeyEvent, focusPreferredComponent, getBestPositionFor, getCenterOf, getChildPopups, getComponent, getConsumedScreenBounds, getContent, getDimensionServiceKey, getFooterPreferredSize, getHeaderPreferredSize, getLocationOnScreen, getOwner, getPopupBorder, getPopupWindow, getProject, getSize, getTitle, getUnderlyingWindow, getUserData, init, isBusy, isCloseRequest, isDisposed, isFocused, isFocused, isNativePopup, isPersistent, isVisible, moveTo, moveToFitScreen, pack, prepareToShow, removeListener, requestFocus, setAdText, setAdText, setCaption, setDataProvider, setDimensionServiceKey, setHeaderComponent, setLocation, setLocation, setMinimumSize, setOkHandler, setRequestFocus, setShowHints, setSize, setSize, setSpeedSearchAlwaysShown, setUiVisible, setUserData, setWarning, show, show, showCenteredInCurrentWindow, showInBestPositionFor, showInFocusCenter, showInScreenCoordinates, storeDimensionSize
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
addListener, cancel, cancel, canClose, canShow, closeOk, dispatchKeyEvent, getBestPositionFor, getContent, getLocationOnScreen, getOwner, getSize, getUserData, isCancelKeyEnabled, isDisposed, isFocused, isNativePopup, isPersistent, isVisible, moveToFitScreen, pack, removeListener, setAdText, setCaption, setDataProvider, setFinalRunnable, setLocation, setMinimumSize, setRequestFocus, setSize, setUiVisible, show, show, showCenteredInCurrentWindow, showInBestPositionFor, showInFocusCenter, showInScreenCoordinates
public MockConfirmation(ListPopupStep aStep, java.lang.String onYesText)
public void showInCenterOf(java.awt.Component aContainer)
JBPopup
showInCenterOf
in interface JBPopup
showInCenterOf
in class AbstractPopup
aContainer
- the component at which the popup should be centered.public void showUnderneathOf(java.awt.Component aComponent)
JBPopup
showUnderneathOf
in interface JBPopup
showUnderneathOf
in class AbstractPopup
aComponent
- the component near which the popup should be displayed.