|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectstory.scheherazade.virgil.TypeSelector
public class TypeSelector
Versatile SCHSelector that will present a list of all the members of an SCH Type from which the user can choose.
| Constructor Summary | |
|---|---|
TypeSelector(SCHSelector parentSelector,
GenericType type,
java.lang.String prompt,
SCHVariableType variableType)
|
|
| Method Summary | |
|---|---|
void |
actionPerformed(java.awt.event.ActionEvent e)
|
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 |
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. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public TypeSelector(SCHSelector parentSelector,
GenericType type,
java.lang.String prompt,
SCHVariableType variableType)
| Method Detail |
|---|
public javax.swing.JComponent getPanel()
SCHSelector
getPanel in interface SCHSelectorpublic void actionPerformed(java.awt.event.ActionEvent e)
actionPerformed in interface java.awt.event.ActionListenerpublic void subSelectorSet(SCHSelector subSelector)
SCHSelector
subSelectorSet in interface SCHSelectorpublic void subSelectorSubmitting()
SCHSelector
subSelectorSubmitting in interface SCHSelectorpublic void subSelectorCancelling()
SCHSelector
subSelectorCancelling in interface SCHSelectorpublic boolean selectionReady()
SCHSelector
selectionReady in interface SCHSelector
public void setSelection(java.lang.Object selection)
throws Scheherexception
SCHSelector
setSelection in interface SCHSelectorScheherexception
public java.lang.Object getSelection()
throws Scheherexception
SCHSelector
getSelection in interface SCHSelectorScheherexceptionpublic void redoLayout()
SCHSelector
redoLayout in interface SCHSelector
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 | |||||||||