transport_data.cli.interactive.DSDAddMeasure¶
- class transport_data.cli.interactive.DSDAddMeasure(app)[source]¶
Bases:
ComponentListEdit- __init__(app)¶
Create and display the view.
Subclasses may override this method, but must call
super().__init__(app).
Methods
Attributes
Default input.
Reference to the Editor.
Reference to the EditorState.
Prompt text to be displayed in the input text area.
- accept(text)¶
Handle user input.
Subclasses must implement this method. An implementation may return a
Viewsubclass (not instance) to indicate the next View to be displayed; if it returnsNone, thenNEXT_VIEWis used to identify the next View.
- current: EditorState¶
Reference to the EditorState.
- property text¶