public abstract class WizardPopup extends AbstractPopup implements java.awt.event.ActionListener, ElementFilter
AbstractPopup.MyContentPanelElementFilter.Active<T>, ElementFilter.Listener<T>Disposable.Parent| Modifier and Type | Field and Description |
|---|---|
protected WizardPopup |
myChild |
protected <any> |
myStep |
protected static int |
STEP_X_PADDING |
FIRST_TIME_SIZE, myOk, myOwner, mySpeedSearch, mySpeedSearchPatternField, SHOW_HINTS| Constructor and Description |
|---|
WizardPopup(<any> aStep)
Deprecated.
use
#WizardPopup(Project, JBPopup, PopupStep) |
WizardPopup(Project project,
JBPopup aParent,
<any> aStep) |
| Modifier and Type | Method and Description |
|---|---|
void |
actionPerformed(java.awt.event.ActionEvent e) |
protected void |
afterShow() |
void |
cancel(java.awt.event.InputEvent e)
Cancels the popup as a response to some mouse action.
|
protected abstract javax.swing.JComponent |
createContent() |
protected AbstractPopup.MyContentPanel |
createContentPanel(boolean resizable,
PopupBorder border,
boolean isToDrawMacCorner) |
protected WizardPopup |
createPopup(WizardPopup parent,
PopupStep step,
java.lang.Object parentValue) |
protected javax.swing.JScrollPane |
createScrollPane(javax.swing.JComponent content) |
boolean |
dispatch(java.awt.event.KeyEvent event) |
void |
dispose()
Usually not invoked directly, see class javadoc.
|
protected void |
disposeAllParents(java.awt.event.InputEvent e) |
void |
disposeChildren() |
protected java.lang.String |
getActionForKeyStroke(javax.swing.KeyStroke keyStroke) |
protected abstract javax.swing.ActionMap |
getActionMap() |
java.awt.Rectangle |
getBounds() |
protected abstract javax.swing.InputMap |
getInputMap() |
WizardPopup |
getParent() |
protected abstract javax.swing.JComponent |
getPreferredFocusableComponent() |
SpeedSearch |
getSpeedSearch() |
PopupStep |
getStep() |
void |
goBack() |
boolean |
isCancelKeyEnabled() |
protected boolean |
isResizable() |
protected void |
notifyParentOnChildSelection() |
protected void |
onAutoSelectionTimer() |
protected abstract void |
onChildSelectedFor(java.lang.Object value) |
protected void |
onSelectByMnemonic(java.lang.Object value) |
protected void |
process(java.awt.event.KeyEvent aEvent) |
void |
registerAction(java.lang.String aActionName,
int aKeyCode,
int aModifier,
javax.swing.Action aAction) |
void |
registerAction(java.lang.String aActionName,
javax.swing.KeyStroke keyStroke,
javax.swing.Action aAction) |
protected void |
restartTimer() |
void |
setFinalRunnable(java.lang.Runnable runnable) |
void |
setOk(boolean ok) |
protected void |
setParentValue(java.lang.Object parentValue) |
boolean |
shouldBeShowing(java.lang.Object value) |
void |
show(java.awt.Component owner,
int aScreenX,
int aScreenY,
boolean considerForcedXY) |
protected void |
stopTimer() |
addListener, addPopupListener, addResizeListener, afterShowSync, beforeShow, 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, isModalContext, isNativePopup, isPersistent, isVisible, moveTo, moveToFitScreen, onSpeedSearchPatternChanged, 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, showInBestPositionFor, showInCenterOf, showInFocusCenter, showInScreenCoordinates, showUnderneathOf, storeDimensionSizeprotected static final int STEP_X_PADDING
protected final <any> myStep
protected WizardPopup myChild
@Deprecated public WizardPopup(<any> aStep)
#WizardPopup(Project, JBPopup, PopupStep)protected javax.swing.JScrollPane createScrollPane(javax.swing.JComponent content)
public void goBack()
protected abstract javax.swing.JComponent createContent()
public void dispose()
Disposabledispose in interface Disposabledispose in class AbstractPopuppublic void disposeChildren()
public void show(java.awt.Component owner,
int aScreenX,
int aScreenY,
boolean considerForcedXY)
show in class AbstractPopupprotected void afterShow()
afterShow in class AbstractPopupprotected abstract javax.swing.JComponent getPreferredFocusableComponent()
public void cancel(java.awt.event.InputEvent e)
JBPopupcancel in interface JBPopupcancel in class AbstractPopuppublic boolean isCancelKeyEnabled()
isCancelKeyEnabled in interface JBPopupisCancelKeyEnabled in class AbstractPopupprotected void disposeAllParents(java.awt.event.InputEvent e)
public final void registerAction(java.lang.String aActionName,
int aKeyCode,
int aModifier,
javax.swing.Action aAction)
protected java.lang.String getActionForKeyStroke(javax.swing.KeyStroke keyStroke)
public final void registerAction(java.lang.String aActionName,
javax.swing.KeyStroke keyStroke,
javax.swing.Action aAction)
protected abstract javax.swing.InputMap getInputMap()
protected abstract javax.swing.ActionMap getActionMap()
protected final void setParentValue(java.lang.Object parentValue)
protected AbstractPopup.MyContentPanel createContentPanel(boolean resizable, PopupBorder border, boolean isToDrawMacCorner)
createContentPanel in class AbstractPopupprotected boolean isResizable()
public WizardPopup getParent()
public PopupStep getStep()
public final boolean dispatch(java.awt.event.KeyEvent event)
protected void process(java.awt.event.KeyEvent aEvent)
public java.awt.Rectangle getBounds()
protected WizardPopup createPopup(WizardPopup parent, PopupStep step, java.lang.Object parentValue)
public final void actionPerformed(java.awt.event.ActionEvent e)
actionPerformed in interface java.awt.event.ActionListenerprotected final void restartTimer()
protected final void stopTimer()
protected void onAutoSelectionTimer()
public boolean shouldBeShowing(java.lang.Object value)
shouldBeShowing in interface ElementFilterpublic SpeedSearch getSpeedSearch()
protected void onSelectByMnemonic(java.lang.Object value)
protected abstract void onChildSelectedFor(java.lang.Object value)
protected final void notifyParentOnChildSelection()
public final void setFinalRunnable(java.lang.Runnable runnable)
setFinalRunnable in interface JBPopupsetFinalRunnable in class AbstractPopuppublic void setOk(boolean ok)
setOk in class AbstractPopup