public abstract class AbstractExpandToolTipAction extends AbstractAction
head action
for a pin watch to display the structured value of a watch.changeSupport, enabled
ACCELERATOR_KEY, ACTION_COMMAND_KEY, DEFAULT, DISPLAYED_MNEMONIC_INDEX_KEY, LARGE_ICON_KEY, LONG_DESCRIPTION, MNEMONIC_KEY, NAME, SELECTED_KEY, SHORT_DESCRIPTION, SMALL_ICON
Modifier | Constructor and Description |
---|---|
protected |
AbstractExpandToolTipAction()
Create a new expand tooltip action.
|
Modifier and Type | Method and Description |
---|---|
void |
actionPerformed(ActionEvent e) |
protected abstract void |
openTooltipView()
Open a tooltip view.
|
protected ToolTipSupport |
openTooltipView(String expression,
Object var)
Open a tooltip view for the expression and variable the expression evaluates to.
|
addPropertyChangeListener, clone, firePropertyChange, getKeys, getPropertyChangeListeners, getValue, isEnabled, putValue, removePropertyChangeListener, setEnabled
protected AbstractExpandToolTipAction()
protected abstract void openTooltipView()
openTooltipView(java.lang.String, java.lang.Object)
method
to open the tooltip view.protected final ToolTipSupport openTooltipView(String expression, Object var)
expression
- the tooltip's expressionvar
- the evaluated variablenull
when it's not possible to show it.
It can be used e.g. to close the tooltip when it's no longer applicable,
when the debugger resumes, etc.public final void actionPerformed(ActionEvent e)
Built on June 4 2024. | Copyright © 2017-2024 Apache Software Foundation. All Rights Reserved.