|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectstory.scheherazade.virgil.StateViewer
public class StateViewer
A GUI component that gives details about a single state or a transition between two states.
Field Summary | |
---|---|
static java.awt.Color |
actionBoxColor
|
static java.awt.Color |
backgroundColor
|
static java.awt.Color |
conditionBoxColor
|
Constructor Summary | |
---|---|
StateViewer(Virgil virgil,
VirgilConfiguration config,
Verbalizer verbalizer)
|
Method Summary | |
---|---|
boolean |
canHighlightAction(AssignedAction action)
|
void |
forceRefresh()
|
javax.swing.JComponent |
getPanel()
|
TimelineTime |
getSelectedTime()
|
TimelineID |
getSelectedTimeline()
|
void |
highlightAction(AssignedAction action)
Highlight a particular AssignedAction. |
void |
highlightCondition(AssignedCondition condition)
Highlight a particular AssignedCondition. |
java.lang.String |
makeTransitionName(TransitionTime transition)
Describe a transition in NL. |
void |
removeAllHighlights()
Clear all highlights. |
void |
setStory(StoryInterpreter story)
|
void |
setToState(TimelineID timelineID,
StateTime state)
|
void |
setToTime(TimelineID timelineID,
TimelineTime time)
Switchboard for calling either setToState or setToTransition. |
void |
setToTransition(TimelineID timelineID,
TransitionTime transition)
|
void |
showError(Scheherexception s)
|
void |
showError(java.lang.String s)
|
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final java.awt.Color backgroundColor
public static final java.awt.Color conditionBoxColor
public static final java.awt.Color actionBoxColor
Constructor Detail |
---|
public StateViewer(Virgil virgil, VirgilConfiguration config, Verbalizer verbalizer) throws Scheherexception
Scheherexception
Method Detail |
---|
public void setStory(StoryInterpreter story) throws Scheherexception
Scheherexception
public void setToTime(TimelineID timelineID, TimelineTime time) throws Scheherexception
Scheherexception
public void setToState(TimelineID timelineID, StateTime state) throws Scheherexception
Scheherexception
public TimelineID getSelectedTimeline() throws Scheherexception
Scheherexception
public TimelineTime getSelectedTime() throws Scheherexception
Scheherexception
public void forceRefresh() throws Scheherexception
Scheherexception
public void setToTransition(TimelineID timelineID, TransitionTime transition) throws Scheherexception
Scheherexception
public java.lang.String makeTransitionName(TransitionTime transition) throws Scheherexception
Scheherexception
public boolean canHighlightAction(AssignedAction action) throws Scheherexception
Scheherexception
public void highlightAction(AssignedAction action) throws Scheherexception
Scheherexception
public void highlightCondition(AssignedCondition condition) throws Scheherexception
Scheherexception
public void removeAllHighlights()
public javax.swing.JComponent getPanel()
public void showError(Scheherexception s)
public void showError(java.lang.String s)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |