Class RoleValidatedField.RolesIntelliHints
- java.lang.Object
- 
- com.jidesoft.hints.AbstractIntelliHints
- 
- com.jidesoft.hints.AbstractListIntelliHints
- 
- com.jidesoft.hints.ListDataIntelliHints<java.lang.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<java.lang.String>
- 
- 
Constructor SummaryConstructors Constructor Description RolesIntelliHints(javax.swing.text.JTextComponent comp, java.lang.String[] roleArray)RolesIntelliHints(javax.swing.text.JTextComponent comp, java.util.List<java.lang.String> roleList)
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description voidacceptHint(java.lang.Object selected)protected booleancompare(java.lang.Object context, java.lang.String o)java.lang.StringgetStringRelativeToCaret(java.lang.String contextString)finds the string relative to the caret position and comma, so the hint will be for the correct stringjava.lang.StringreplaceStringRelativeToCaret(java.lang.String replacement, java.lang.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 are- 
Methods inherited from class com.jidesoft.hints.ListDataIntelliHintsgetCompletionList, isCaseSensitive, setCaseSensitive, setCompletionList, setCompletionList, updateHints
 - 
Methods inherited from class com.jidesoft.hints.AbstractListIntelliHintscreateHintsComponent, createList, getDelegateComponent, getDelegateKeyStrokes, getList, getSelectedHint, setListData, setListData
 - 
Methods inherited from class com.jidesoft.hints.AbstractIntelliHintsaddShowHintsKeyStroke, createPopup, getAllShowHintsKeyStrokes, getCaretPositionForPopup, getCaretRectangleForPopup, getContext, getIntelliHints, getShowHintsDelay, getShowHintsKeyStroke, getTextComponent, hideHintsPopup, isAutoPopup, isFollowCaret, isHintsPopupVisible, isMultilineTextComponent, removeShowHintsKeyStroke, setAutoPopup, setFollowCaret, setHintsEnabled, setShowHintsDelay, showHints, showHintsPopup, updateHints
 
- 
 
- 
- 
- 
Method Detail- 
compareprotected boolean compare(java.lang.Object context, java.lang.String o)- Overrides:
- comparein class- com.jidesoft.hints.ListDataIntelliHints<java.lang.String>
 
 - 
getStringRelativeToCaretpublic java.lang.String getStringRelativeToCaret(java.lang.String contextString) finds the string relative to the caret position and comma, so the hint will be for the correct string
 - 
replaceStringRelativeToCaretpublic java.lang.String replaceStringRelativeToCaret(java.lang.String replacement, java.lang.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 are
 - 
acceptHintpublic void acceptHint(java.lang.Object selected) - Specified by:
- acceptHintin interface- com.jidesoft.hints.IntelliHints
- Overrides:
- acceptHintin class- com.jidesoft.hints.AbstractIntelliHints
 
 
- 
 
-