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 void
setSelection(java.awt.Point p)
Set the selection.boolean
shouldPopUp()
Return true to indicate that the view has relevant contextual suggestions that merit displaying the AutoCompleter popup unprompted.void
updateModel()
Update the model.void
updateViewData()
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:AbstractAutoCompleterView
Update the view data- Specified by:
updateViewData
in classAbstractAutoCompleterView
-
updateModel
public void updateModel()
Update the model.
-
setSelection
public void setSelection(java.awt.Point p)
Description copied from class:AutoCompleterTableView
Set the selection.- Overrides:
setSelection
in classAutoCompleterTableView
- Parameters:
p
- the new point
-
shouldPopUp
public boolean shouldPopUp()
Description copied from class:AbstractAutoCompleterView
Return true to indicate that the view has relevant contextual suggestions that merit displaying the AutoCompleter popup unprompted.- Specified by:
shouldPopUp
in classAbstractAutoCompleterView
- Returns:
- Whether or not the AutoCompleter should appear
-
-