A panel for displaying controls for an array of
Parameter objects and returning
the parsed values. Also displays a title button intended to be used to calling the parent
function.
protected var _call:Button
callButton:Button [read-only]
The button in the panel which will call the function.
Implementation
public function get callButton():Button
protected var _entries:Array
protected var _grid:GridPanel
protected var _serverCall:Button
public function ParameterPanel(parameters:Array, title:String = null)
Creates a new parameter panel. The title will be used as the call button.
Parameters
| parameters:Array — array of Parameter objects to display controls for
|
| |
| title:String (default = null) — the title of the panel
|
public function getInputs():Array
Gets all the input values as text. Values from the first omitted optional parameter are not
included.
Returns
| Array — array of Strings, one per parameter that is enabled
|
protected function handleLabelClick(evt:ButtonEvent):voidParameters
protected function handleNullClick(evt:ButtonEvent):voidParameters
protected function setNull(entry:ParameterEntry, button:Button, isNull:Boolean):voidParameters
| entry:ParameterEntry |
| |
| button:Button |
| |
| isNull:Boolean |
public static const CELL_HEIGHT:int = 25 Fixed height of a parameter input line.