public class KahinaTextView<T extends KahinaLineReference> extends KahinaView<T> implements KahinaListener
Modifier and Type | Field and Description |
---|---|
protected javax.swing.DefaultListModel |
listModel |
protected javax.swing.ListSelectionModel |
selectionModel |
config, kahina, model, needsRedraw
Constructor and Description |
---|
KahinaTextView(KahinaInstance<?,?,?,?> kahina) |
Modifier and Type | Method and Description |
---|---|
void |
doDisplay()
Subclasses may override this method to take certain actions directly
after
KahinaView.model has changed. |
javax.swing.ListModel |
getListModel() |
javax.swing.ListSelectionModel |
getSelectionModel() |
javax.swing.JComponent |
makePanel()
Returns the panel that represents this view in the GUI.
|
void |
processEvent(KahinaConsoleLineEvent e) |
void |
processEvent(KahinaEvent e) |
void |
processEvent(KahinaMessageEvent e) |
void |
registerNewLineReference(KahinaLineReference ref) |
display, getConfig, getModel, getTitle, isVisible, makeEditorPanel, needsRedraw, processEvent, recalculate, requireRedraw, setConfig, setTitle, setVisible
protected javax.swing.DefaultListModel listModel
protected javax.swing.ListSelectionModel selectionModel
public KahinaTextView(KahinaInstance<?,?,?,?> kahina)
public void doDisplay()
KahinaView
KahinaView.model
has changed. This default implementation does
nothing.doDisplay
in class KahinaView<T extends KahinaLineReference>
public void registerNewLineReference(KahinaLineReference ref)
public javax.swing.ListModel getListModel()
public javax.swing.ListSelectionModel getSelectionModel()
public javax.swing.JComponent makePanel()
KahinaView
makePanel
in class KahinaView<T extends KahinaLineReference>
public void processEvent(KahinaEvent e)
processEvent
in interface KahinaListener
processEvent
in class KahinaView<T extends KahinaLineReference>
public void processEvent(KahinaMessageEvent e)
public void processEvent(KahinaConsoleLineEvent e)