|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectstory.scheherazade.virgil.BrowsableSelector
public class BrowsableSelector
An SCHSelector for any element which can be chosen with the ElementBrowser.
Constructor Summary | |
---|---|
BrowsableSelector(Virgil virgil,
StoryInterpreter story,
Verbalizer verbalizer,
BrowsableSelectorParams params,
ElementBrowser browser,
PlannerRepository planners,
ElementBrowserMode mode,
SCHSelector parentSelector,
java.lang.String prompt,
TimelineID timeline,
boolean inherit,
boolean avoidGroups,
boolean showSearch)
|
Method Summary | |
---|---|
ElementBrowserParams |
getBrowserParams()
|
javax.swing.JComponent |
getPanel()
Get the JComponent of the GUI front-end of the selector. |
java.lang.Object |
getSelection()
Return the value of this selector. |
SCHVariableType |
getType()
|
void |
redoLayout()
Reconstruct the GUI for this selector. |
boolean |
selectionReady()
Returns whether a value has been properly set. |
void |
setBrowserParams(ElementBrowserParams params)
Manually specify ElementBrowserParams for the ElementBrowser invoked by this selector |
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)
Inform the Selector that a subordinate selector (such as a sub-selector of PredicateSelector has had a value set. |
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 BrowsableSelector(Virgil virgil, StoryInterpreter story, Verbalizer verbalizer, BrowsableSelectorParams params, ElementBrowser browser, PlannerRepository planners, ElementBrowserMode mode, SCHSelector parentSelector, java.lang.String prompt, TimelineID timeline, boolean inherit, boolean avoidGroups, boolean showSearch) throws Scheherexception
Scheherexception
Method Detail |
---|
public void setBrowserParams(ElementBrowserParams params) throws Scheherexception
Scheherexception
public ElementBrowserParams getBrowserParams() throws Scheherexception
Scheherexception
public javax.swing.JComponent getPanel()
SCHSelector
getPanel
in interface SCHSelector
public void subSelectorSet(SCHSelector subSelector)
SCHSelector
subSelectorSet
in interface SCHSelector
public void subSelectorSubmitting()
SCHSelector
subSelectorSubmitting
in interface SCHSelector
public void subSelectorCancelling()
SCHSelector
subSelectorCancelling
in interface SCHSelector
public void setSelection(java.lang.Object selection) throws Scheherexception
SCHSelector
setSelection
in interface SCHSelector
Scheherexception
public boolean selectionReady()
SCHSelector
selectionReady
in interface SCHSelector
public java.lang.Object getSelection() throws Scheherexception
SCHSelector
getSelection
in interface SCHSelector
Scheherexception
public void redoLayout()
SCHSelector
redoLayout
in interface SCHSelector
public void takeBrowser() throws Scheherexception
SCHSelectorWithBrowser
takeBrowser
in interface SCHSelectorWithBrowser
Scheherexception
public SCHVariableType getType() throws Scheherexception
getType
in interface SCHSelector
Scheherexception
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |