|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectstory.scheherazade.virgil.PredicateSelector
public class PredicateSelector
| Constructor Summary | |
|---|---|
PredicateSelector(Virgil virgil,
PlannerRepository planners,
ElementBrowser browser,
Verbalizer verbalizer,
SCHSelector parentSelector,
int recursionDepth,
java.lang.String prompt)
Set up a selector. |
|
| Method Summary | |
|---|---|
void |
buildForm(GenericScheherID selectedFrame)
Prepare the data structures for the argument selector form. |
javax.swing.JComponent |
getPanel()
Get the JComponent of the GUI front-end of the selector. |
java.lang.Object |
getSelection()
Get the selected predicate. |
SCHVariableType |
getType()
|
void |
initialize(StoryInterpreter story,
TimelineID timeline,
PredicateSelectorMode mode,
boolean inheritSupertimelines,
PredicateSelectorParams config)
Clear the selector and reboot it with a "choose a condition/action type" combo box. |
void |
redoLayout()
Lay out everything again. |
boolean |
selectionReady()
Returns whether the predicate has been successfully entered by the user yet. |
void |
setSelection(java.lang.Object selection)
Set the selection. |
void |
subSelectorCancelling()
Indicates to the selector that a subordinate selector (such as the parameters within a ConditionSelector) has been told by the user to cancel the selection process. |
void |
subSelectorSet(SCHSelector subSelector)
One of the sub-selectors in the form is telling us that a new value has been entered. |
void |
subSelectorSubmitting()
Indicates to the selector that a subordinate selector (such as the parameters within a ConditionSelector) has been told by the user that their value is final. |
void |
takeBrowser()
Take control of the ElementBrowser. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public PredicateSelector(Virgil virgil,
PlannerRepository planners,
ElementBrowser browser,
Verbalizer verbalizer,
SCHSelector parentSelector,
int recursionDepth,
java.lang.String prompt)
throws Scheherexception
Scheherexception| Method Detail |
|---|
public void initialize(StoryInterpreter story,
TimelineID timeline,
PredicateSelectorMode mode,
boolean inheritSupertimelines,
PredicateSelectorParams config)
throws Scheherexception
Scheherexception
public void takeBrowser()
throws Scheherexception
SCHSelectorWithBrowser
takeBrowser in interface SCHSelectorWithBrowserScheherexceptionpublic void redoLayout()
redoLayout in interface SCHSelector
public void buildForm(GenericScheherID selectedFrame)
throws Scheherexception
Scheherexceptionpublic javax.swing.JComponent getPanel()
SCHSelector
getPanel in interface SCHSelectorpublic void subSelectorSubmitting()
SCHSelector
subSelectorSubmitting in interface SCHSelectorpublic void subSelectorCancelling()
SCHSelector
subSelectorCancelling in interface SCHSelector
public void setSelection(java.lang.Object selection)
throws Scheherexception
SCHSelector
setSelection in interface SCHSelectorScheherexceptionpublic void subSelectorSet(SCHSelector subSelector)
subSelectorSet in interface SCHSelectorpublic boolean selectionReady()
selectionReady in interface SCHSelector
public java.lang.Object getSelection()
throws Scheherexception
getSelection in interface SCHSelectorScheherexception
public SCHVariableType getType()
throws Scheherexception
getType in interface SCHSelectorScheherexception
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||