Class RoleValidatedField.RolesIntelliHints
java.lang.Object
com.jidesoft.hints.AbstractIntelliHints
com.jidesoft.hints.AbstractListIntelliHints
com.jidesoft.hints.ListDataIntelliHints<String>
com.inductiveautomation.ignition.designer.propertyeditor.frameworkprops.RoleValidatedField.RolesIntelliHints
- All Implemented Interfaces:
com.jidesoft.hints.IntelliHints
- Enclosing class:
- RoleValidatedField
public static class RoleValidatedField.RolesIntelliHints
extends com.jidesoft.hints.ListDataIntelliHints<String>
-
Field Summary
Fields inherited from class com.jidesoft.hints.AbstractListIntelliHints
_keyStrokes
Fields inherited from interface com.jidesoft.hints.IntelliHints
CLIENT_PROPERTY_INTELLI_HINTS
-
Constructor Summary
ConstructorsConstructorDescriptionRolesIntelliHints
(JTextComponent comp, String[] roleArray) RolesIntelliHints
(JTextComponent comp, List<String> roleList) -
Method Summary
Modifier and TypeMethodDescriptionvoid
acceptHint
(Object selected) protected boolean
getStringRelativeToCaret
(String contextString) finds the string relative to the caret position and comma, so the hint will be for the correct stringreplaceStringRelativeToCaret
(String replacement, String source) this method replaces the string in the source text relative to the to where the caret is and where the commas seperating roles areMethods inherited from class com.jidesoft.hints.ListDataIntelliHints
getCompletionList, isCaseSensitive, setCaseSensitive, setCompletionList, setCompletionList, updateHints
Methods inherited from class com.jidesoft.hints.AbstractListIntelliHints
createHintsComponent, createList, getDelegateComponent, getDelegateKeyStrokes, getList, getSelectedHint, setListData, setListData
Methods inherited from class com.jidesoft.hints.AbstractIntelliHints
addShowHintsKeyStroke, createPopup, getAllShowHintsKeyStrokes, getCaretPositionForPopup, getCaretRectangleForPopup, getContext, getIntelliHints, getShowHintsDelay, getShowHintsKeyStroke, getTextComponent, hideHintsPopup, isAutoPopup, isFollowCaret, isHintsPopupVisible, isMultilineTextComponent, removeShowHintsKeyStroke, setAutoPopup, setFollowCaret, setHintsEnabled, setShowHintsDelay, showHints, showHintsPopup, updateHints
-
Constructor Details
-
RolesIntelliHints
-
RolesIntelliHints
-
-
Method Details
-
compare
- Overrides:
compare
in classcom.jidesoft.hints.ListDataIntelliHints<String>
-
getStringRelativeToCaret
finds the string relative to the caret position and comma, so the hint will be for the correct string -
replaceStringRelativeToCaret
this method replaces the string in the source text relative to the to where the caret is and where the commas seperating roles are -
acceptHint
- Specified by:
acceptHint
in interfacecom.jidesoft.hints.IntelliHints
- Overrides:
acceptHint
in classcom.jidesoft.hints.AbstractIntelliHints
-