org.kahina.core.visual.text
Class KahinaTextView<T extends KahinaLineReference>
java.lang.Object
org.kahina.core.visual.KahinaView<T>
org.kahina.core.visual.text.KahinaTextView<T>
- All Implemented Interfaces:
- KahinaListener
- Direct Known Subclasses:
- KahinaDefaultTextView
public class KahinaTextView<T extends KahinaLineReference>
- extends KahinaView<T>
- implements KahinaListener
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
listModel
protected DefaultListModel listModel
selectionModel
protected ListSelectionModel selectionModel
KahinaTextView
public KahinaTextView(KahinaController control)
doDisplay
public void doDisplay()
- Description copied from class:
KahinaView
- Subclasses may override this method to take certain actions directly
after
KahinaView.model has changed. This default implementation does
nothing.
- Overrides:
doDisplay in class KahinaView<T extends KahinaLineReference>
registerNewLineReference
public void registerNewLineReference(KahinaLineReference ref)
getListModel
public ListModel getListModel()
getSelectionModel
public ListSelectionModel getSelectionModel()
wrapInPanel
public JComponent wrapInPanel(KahinaController control)
- Description copied from class:
KahinaView
- Returns the panel that represents this view in the GUI. This method must
be invoked from the event dispatch thread.
- Specified by:
wrapInPanel in class KahinaView<T extends KahinaLineReference>
- Returns:
processEvent
public void processEvent(KahinaEvent e)
- Specified by:
processEvent in interface KahinaListener- Overrides:
processEvent in class KahinaView<T extends KahinaLineReference>
processEvent
public void processEvent(KahinaMessageEvent e)
processEvent
public void processEvent(KahinaConsoleLineEvent e)