Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
web:likert [2018/04/14 16:09]
127.0.0.1 external edit
web:likert [2018/08/02 20:17] (current)
agcyphers
Line 1: Line 1:
 +==== See Also ====
 +[[web:​likertquestion|GraffitiWebLikertQuestion]]
 +
 ==== Enumerations ==== ==== Enumerations ====
 ^ Name      ^ Values ​      ^ ^ Name      ^ Values ​      ^
- This class exposes no enumerations. ​|+Alignments ​Left | 
 +| ::: | Center | 
 +| ::: | Right | 
 +| BGStyles | Light | 
 +| ::: | White | 
 +| ::: | Dark | 
 +| ::: | Primary | 
 +| ::: | Secondary | 
 +| ::: | Info | 
 +| ::: | Success | 
 +| ::: | Warning | 
 +| ::: | Danger | 
 +| BorderStyles | Dark | 
 +| ::: | Light | 
 +| ::: | White | 
 +| ::: | Primary | 
 +| ::: | Secondary | 
 +| ::: | Info | 
 +| ::: | Success | 
 +| ::: | Warning | 
 +| ::: | Danger | 
 +| BorderTypes | None | 
 +| ::: | All | 
 +| ::: | Top | 
 +| ::: | Right | 
 +| ::: | Bottom | 
 +| ::: | Left | 
 +| ::: | NoTop | 
 +| ::: | NoRight | 
 +| ::: | NoBottom | 
 +| ::: | NoLeft | 
 +| Corners | None | 
 +| ::: | Rounded | 
 +| ::: | Top | 
 +| ::: | Right | 
 +| ::: | Bottom | 
 +| ::: | Left | 
 +| ::: | Circle | 
 +| TextStyles | Dark | 
 +| ::: | Light | 
 +| ::: | White | 
 +| ::: | Primary | 
 +| ::: | Secondary | 
 +| ::: | Info | 
 +| ::: | Success | 
 +| ::: | Warning | 
 +| ::: | Danger | 
 ==== Constants ==== ==== Constants ====
 ^ Name      ^ Type     ^ Value       ^ ^ Name      ^ Type     ^ Value       ^
 |  |  | This class exposes no constants. | |  |  | This class exposes no constants. |
 +
 ==== Events ==== ==== Events ====
 ^ Definition ​     ^ Description ​      ^ ^ Definition ​     ^ Description ​      ^
-HeightChangenewHeight ​as [[http://​developer.xojo.com/​integer|Integer]] ​) | Fires when the height of the control changes due to content change or resize. | +MouseEnterQuestion ​as GraffitiWebLikertQuestion ​) | Raised ​when the user moves their mouse in to a question'​s display area. | 
-ValueChangeQuestionID ​as [[http://​developer.xojo.com/​string|String]], NewValue as [[http://​developer.xojo.com/integer|Integer]] ​) | Is fired when the user selects ​an answer. |+MouseExitQuestion ​as GraffitiWebLikertQuestion ) Raised when the user's mouse leaves the Question'​s display area. | 
 +| ValueChange( Question as GraffitiWebLikertQuestion ​) | Fired when the user selects ​a value in the specified question. |
  
 ==== Methods ==== ==== Methods ====
 ^ Definition ​     ^ Description ​      ^ ^ Definition ​     ^ Description ​      ^
-| Add( theQuestion ​as [[http://​developer.xojo.com/​string|String]], QuestionID as [[http://​developer.xojo.com/​string|String]]DefaultValue ​as [[http://​developer.xojo.com/integer|Integer]] = -1 ) | Adds a question ​to the likert table. | +| Add( Question ​as GraffitiWebLikertQuestion | Adds a question to the likert table. | 
-| Remove( ​QuestionID ​as [[http://​developer.xojo.com/​string|String]] ​) | Removes the specified question. |+| Count() | Returns the number of questions currently in the display. | 
 +| Insert( index as IntegerQuestion ​as GraffitiWebLikertQuestion ) | Inserts a question at the specified index. | 
 +| Question( index as Integer ) as GraffitiWebLikertQuestion ​Returns the question ​at the specified index. | 
 +| Remove( ​Question ​as GraffitiWebLikertQuestion ​) | Removes the specified question. |
 | RemoveAll() | Removes all questions from the likert table. | | RemoveAll() | Removes all questions from the likert table. |
-TableHeight() as [[http://​developer.xojo.com/​integer|Integer]] | Returns ​the current height of the likert ​table. | +ScrollToQuestion as GraffitiWebLikertQuestion ​) | Scrolls ​the table to the specified question. |
-| Value( QuestionID as [[http://​developer.xojo.com/​string|String]] ) as [[http://​developer.xojo.com/​integer|Integer]] | Returns the value of the specified question. | +
-| Value( QuestionID as [[http://​developer.xojo.com/​string|String]],​ NewValue as [[http://​developer.xojo.com/​integer|Integer]] ) | Sets the value of the specified question. |+
  
 ==== Properties ==== ==== Properties ====
 ^ Name      ^ Type       ^ Default Value       ^ Description ​      ^ ^ Name      ^ Type       ^ Default Value       ^ Description ​      ^
-Headers() ​[[http://​developer.xojo.com/​string|String]] ​Nil Headers ​of the table. | +Background ​BGStyles ​Light Background color of the Likert. | 
-HeaderStyle ​WebStyle ​Nil WebStyle applied to table header. | +BorderStyle ​BorderStyles ​Dark Border color of the Likert. | 
-QuestionHeaderText ​[[http://​developer.xojo.com/​string|String]] ​""​ | Text for the question header. | +BorderType ​BorderTypes ​None Border type of the Likert. | 
-QuestionStyle ​WebStyle ​Nil WebStyle applied to questions. | +TextStyle ​TextStyles ​Dark Text color. |
-| RowStyle | WebStyle | Nil | WebStyle applied to rows. |+
  
 ==== Examples ==== ==== Examples ====
 There are currently no examples for this class. There are currently no examples for this class.
  
  • Last modified: 11 months ago
  • by agcyphers