A CommandBox is a special-purpose composite component for command entry that provides a built-in command history mechanism. The CommandBox must be composed of a Text component with a command line prompt for command input, and a List component above the Text component for a command history area. The List must use either the single or browse selection model. When a List element is selected, its contents must be placed in the Text area. The default action of the CommandBox must be to pass the command in the Text area to the application for execution and to add the command to the end of the List. The List component can be scrollable.
The List navigation actions
,
,
,
and
must be available from the Text component for moving the cursored
element within the List and thus changing the contents of the Text.
The List navigation actions
and
should also be available from the Text component for moving the cursored
element within the List.
For more information, see the reference page for CommandDialog.