public class ComboCompletionAction extends DefaultSyntaxAction
ACTION_PREFIX, LARGE_ICONS_LOC_PREFIX, SMALL_ICONS_LOC_PREFIX| Constructor and Description |
|---|
ComboCompletionAction() |
| Modifier and Type | Method and 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) |
actionPerformed, deinstall, install, setLargeIcon, setMenuText, setSmallIcon, setToolTip, toStringaugmentList, getFocusedComponent, getTextComponentaddPropertyChangeListener, clone, firePropertyChange, getKeys, getPropertyChangeListeners, getValue, isEnabled, putValue, removePropertyChangeListener, setEnabledpublic 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)