Package org.ka2ddo.yaac.gui.table
Class SelectableSymbolEditor
java.lang.Object
javax.swing.AbstractCellEditor
javax.swing.DefaultCellEditor
org.ka2ddo.yaac.gui.table.SelectableSymbolEditor
- All Implemented Interfaces:
Serializable
,CellEditor
,TableCellEditor
,TreeCellEditor
This class implements a renderer for SelectableSymbols that shows both the icon and
the characters representing the icon in the network packets.
- Author:
- Andrew Pavlin, KA2DDO
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class javax.swing.DefaultCellEditor
DefaultCellEditor.EditorDelegate
-
Field Summary
Fields inherited from class javax.swing.DefaultCellEditor
clickCountToStart, delegate, editorComponent
Fields inherited from class javax.swing.AbstractCellEditor
changeEvent, listenerList
-
Method Summary
Modifier and TypeMethodDescriptionstatic SelectableSymbolEditor
Manufacture a table cell editor for choosing one of the defined APRS symbol codes.static SelectableSymbolEditor
createSelectableSymbolEditor
(boolean isEditable) Manufacture a table cell editor for choosing one of the defined APRS symbol codes.Methods inherited from class javax.swing.DefaultCellEditor
cancelCellEditing, getCellEditorValue, getClickCountToStart, getComponent, getTableCellEditorComponent, getTreeCellEditorComponent, isCellEditable, setClickCountToStart, shouldSelectCell, stopCellEditing
Methods inherited from class javax.swing.AbstractCellEditor
addCellEditorListener, fireEditingCanceled, fireEditingStopped, getCellEditorListeners, removeCellEditorListener
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface javax.swing.CellEditor
addCellEditorListener, removeCellEditorListener
-
Method Details
-
createSelectableSymbolEditor
Manufacture a table cell editor for choosing one of the defined APRS symbol codes.- Returns:
- a SelectableSymbolEditor loaded with the current symbol list
-
createSelectableSymbolEditor
Manufacture a table cell editor for choosing one of the defined APRS symbol codes.- Parameters:
isEditable
- boolean true if symbol overlay/code pair can by typed in, false if not- Returns:
- a SelectableSymbolEditor loaded with the current symbol list
-