Package org.omegat.gui.editor.chartable
Class CharTableAutoCompleterView
- java.lang.Object
-
- org.omegat.gui.editor.autocompleter.AbstractAutoCompleterView
-
- org.omegat.gui.editor.autocompleter.AutoCompleterTableView
-
- org.omegat.gui.editor.chartable.CharTableAutoCompleterView
-
public class CharTableAutoCompleterView extends AutoCompleterTableView
Character table auto-completer view.
-
-
Constructor Summary
Constructors Constructor Description CharTableAutoCompleterView()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidsetSelection(java.awt.Point p)Set the selection.booleanshouldPopUp()Return true to indicate that the view has relevant contextual suggestions that merit displaying the AutoCompleter popup unprompted.voidupdateModel()Update the model.voidupdateViewData()Update the view data-
Methods inherited from class org.omegat.gui.editor.autocompleter.AutoCompleterTableView
getPreferredHeight, getPreferredWidth, getRowCount, getSelectedValue, getSelectionPoint, getTable, getViewContent, processKeys
-
Methods inherited from class org.omegat.gui.editor.autocompleter.AbstractAutoCompleterView
getName, getTargetLanguage, getTokenizer, setParent, shouldCloseOnSelection
-
-
-
-
Method Detail
-
updateViewData
public void updateViewData()
Description copied from class:AbstractAutoCompleterViewUpdate the view data- Specified by:
updateViewDatain classAbstractAutoCompleterView
-
updateModel
public void updateModel()
Update the model.
-
setSelection
public void setSelection(java.awt.Point p)
Description copied from class:AutoCompleterTableViewSet the selection.- Overrides:
setSelectionin classAutoCompleterTableView- Parameters:
p- the new point
-
shouldPopUp
public boolean shouldPopUp()
Description copied from class:AbstractAutoCompleterViewReturn true to indicate that the view has relevant contextual suggestions that merit displaying the AutoCompleter popup unprompted.- Specified by:
shouldPopUpin classAbstractAutoCompleterView- Returns:
- Whether or not the AutoCompleter should appear
-
-