java.awt.event.ActionListener, java.io.Serializable, java.lang.Cloneable, java.util.EventListener, javax.swing.Action, SyntaxActionpublic class ComboCompletionAction extends DefaultSyntaxAction
ACCELERATOR_KEY, ACTION_COMMAND_KEY, DEFAULT, DISPLAYED_MNEMONIC_INDEX_KEY, LARGE_ICON_KEY, LONG_DESCRIPTION, MNEMONIC_KEY, NAME, SELECTED_KEY, SHORT_DESCRIPTION, SMALL_ICONACTION_PREFIX, LARGE_ICONS_LOC_PREFIX, SMALL_ICONS_LOC_PREFIX| Constructor | Description |
|---|---|
ComboCompletionAction() |
| Modifier and Type | Method | Description |
|---|---|---|
void |
actionPerformed(javax.swing.text.JTextComponent target,
SyntaxDocument sdoc,
int dot,
java.awt.event.ActionEvent e) |
Convenience method that will be called if the Action is performed on a
JTextComponent.
|
java.util.List<java.lang.String> |
getItems() |
Gets the items to display in the combo
|
void |
setItems(java.util.List<java.lang.String> items) |
Sets the items to display in the combo.
|
void |
setItemsURL(java.lang.String value) |
addPropertyChangeListener, clone, firePropertyChange, getKeys, getPropertyChangeListeners, getValue, isEnabled, putValue, removePropertyChangeListener, setEnabledaccept, addPropertyChangeListener, getValue, isEnabled, putValue, removePropertyChangeListener, setEnabledactionPerformed, config, setLargeIcon, setMenuText, setSmallIcon, setToolTip, toStringpublic void actionPerformed(javax.swing.text.JTextComponent target,
SyntaxDocument sdoc,
int dot,
java.awt.event.ActionEvent e)
DefaultSyntaxActionactionPerformed in class DefaultSyntaxActiontarget - (non-null JTextComponent from Action.getSourcesdoc - (SyntaxDOcument of the text component, could be null)dot - (position of caret at text document)e - actual ActionEvent passed to actionPerformedpublic void setItemsURL(java.lang.String value)
public java.util.List<java.lang.String> getItems()
public void setItems(java.util.List<java.lang.String> items)
items -