lucee.Component
commandbox.system.util.MultiSelect
Copyright Since 2014 CommandBox by Ortus Solutions, Corp www.coldbox.org | www.ortussolutions.com Sweet ASCII input control
| Property Summary | ||||
|---|---|---|---|---|
| type | property | default | serializable | required |
any
|
ConsolePainter
|
true
|
false
|
|
boolean
|
active
|
true
|
false
|
|
boolean
|
isMultiple
|
true
|
false
|
|
boolean
|
isRequired
|
true
|
false
|
|
any
|
job
|
true
|
false
|
|
any
|
print
|
true
|
false
|
|
any
|
printBuffer
|
true
|
false
|
|
any
|
shell
|
true
|
false
|
|
array
|
theOptions
|
true
|
false
|
|
string
|
thisQuestion
|
true
|
false
|
|
| Constructor Summary | |
|---|---|
|
init([string question=''])
|
|
| Method Summary | |
|---|---|
any
|
ask()
Call this method after all options and settings have been placed. |
any
|
checkRequired()
|
any
|
doSelect([any optionNum])
|
private any
|
draw()
|
string
|
getActive()
|
string
|
getConsolePainter()
|
any
|
getCursorPosition()
|
string
|
getIsMultiple()
|
string
|
getIsRequired()
|
string
|
getJob()
|
any
|
getLines()
|
any
|
getMultiple()
|
any
|
getOptions()
|
string
|
getPrint()
|
string
|
getPrintBuffer()
|
any
|
getQuestion()
|
any
|
getRequired()
|
string
|
getShell()
|
string
|
getTheOptions()
|
string
|
getThisQuestion()
|
private any
|
isDown([any key])
|
any
|
isOversize()
|
private any
|
isPageDown([any key])
|
private any
|
isPageUp([any key])
|
private any
|
isSelect([any key])
|
private any
|
isUp([any key])
|
any
|
multiple([boolean multiple='true'])
|
any
|
onDIComplete()
|
any
|
options(any options)
|
any
|
question(string question)
|
any
|
required([boolean required='true'])
|
any
|
setActive(boolean active)
|
any
|
setConsolePainter(any ConsolePainter)
|
any
|
setIsMultiple(boolean isMultiple)
|
any
|
setIsRequired(boolean isRequired)
|
any
|
setJob(any job)
|
any
|
setMultiple([boolean multiple='true'])
|
any
|
setOptions([any options])
|
any
|
setPrint(any print)
|
any
|
setPrintBuffer(any printBuffer)
|
any
|
setQuestion(string question)
|
any
|
setRequired([boolean required='true'])
|
any
|
setShell(any shell)
|
any
|
setTheOptions(array theOptions)
|
any
|
setThisQuestion(string thisQuestion)
|
| Methods inherited from class lucee.Component |
|---|
| None |
| Constructor Detail |
|---|
question| Property Detail |
|---|
access - publicrequired - falsereturntype - anyinject - provider:ConsolePainterserializable - trueaccess - publicrequired - falsereturntype - anyserializable - trueaccess - publicrequired - falsereturntype - anyserializable - trueaccess - publicrequired - falsereturntype - anyserializable - trueaccess - publicrequired - falsereturntype - anyinject - provider:InteractiveJobserializable - trueaccess - publicrequired - falsereturntype - anyinject - printserializable - trueaccess - publicrequired - falsereturntype - anyinject - printBufferserializable - trueaccess - publicrequired - falsereturntype - anyinject - shellserializable - trueaccess - publicrequired - falsereturntype - anyserializable - trueaccess - publicrequired - falsereturntype - anyserializable - true| Method Detail |
|---|
Call this method after all options and settings have been placed. This method will block while the user interacts with the input control and will return a string containing the value of the selected option. If "multiple" is enabled, this method will return an array of selected values.
optionNumkeykeykeykeykeymultipleoptionsquestionrequiredactiveConsolePainterisMultipleisRequiredjobmultipleoptionsprintprintBufferquestionrequiredshelltheOptionsthisQuestion