story.scheherazade.virgil
Class KnowledgeEditor
java.lang.Object
story.scheherazade.virgil.KnowledgeEditor
- All Implemented Interfaces:
- java.util.EventListener, javax.swing.event.ChangeListener
public class KnowledgeEditor
- extends java.lang.Object
- implements javax.swing.event.ChangeListener
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
EDITOR_COLOR
public static final java.awt.Color EDITOR_COLOR
KnowledgeEditor
public KnowledgeEditor(Virgil virgil,
StoryInterpreter story,
Verbalizer verbalizer,
PlannerRepository planners,
TimelineViewer timelineViewer,
TimelineID timeline,
boolean inherit)
throws Scheherexception
- Throws:
Scheherexception
getPanel
public javax.swing.JComponent getPanel()
refresh
public void refresh()
throws Scheherexception
- Throws:
Scheherexception
setBackground
public void setBackground(java.awt.Color bgColor)
stateChanged
public void stateChanged(javax.swing.event.ChangeEvent e)
- User selected a new tab. Refresh the editor card in case
changes were made since the last time it was up.
- Specified by:
stateChanged
in interface javax.swing.event.ChangeListener
Copyright © 2011 David K. Elson. All Rights Reserved.