| blib/lib/FBP/ComboBox.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| statement | 6 | 6 | 100.0 |
| branch | n/a | ||
| condition | n/a | ||
| subroutine | 2 | 2 | 100.0 |
| pod | n/a | ||
| total | 8 | 8 | 100.0 |
| line | stmt | bran | cond | sub | pod | time | code |
|---|---|---|---|---|---|---|---|
| 1 | package FBP::ComboBox; | ||||||
| 2 | |||||||
| 3 | 4 | 4 | 21 | use Mouse; | |||
| 4 | 7 | ||||||
| 4 | 26 | ||||||
| 4 | |||||||
| 5 | our $VERSION = '0.41'; | ||||||
| 6 | |||||||
| 7 | extends 'FBP::ControlWithItems'; | ||||||
| 8 | |||||||
| 9 | has value => ( | ||||||
| 10 | is => 'ro', | ||||||
| 11 | isa => 'Str', | ||||||
| 12 | required => 1, | ||||||
| 13 | default => '', | ||||||
| 14 | ); | ||||||
| 15 | |||||||
| 16 | has style => ( | ||||||
| 17 | is => 'ro', | ||||||
| 18 | isa => 'Str', | ||||||
| 19 | ); | ||||||
| 20 | |||||||
| 21 | has OnCombobox => ( | ||||||
| 22 | is => 'ro', | ||||||
| 23 | isa => 'Str', | ||||||
| 24 | ); | ||||||
| 25 | |||||||
| 26 | has OnText => ( | ||||||
| 27 | is => 'ro', | ||||||
| 28 | isa => 'Str', | ||||||
| 29 | ); | ||||||
| 30 | |||||||
| 31 | has OnTextEnter => ( | ||||||
| 32 | is => 'ro', | ||||||
| 33 | isa => 'Str', | ||||||
| 34 | ); | ||||||
| 35 | |||||||
| 36 | 4 | 4 | 1404 | no Mouse; | |||
| 4 | 8 | ||||||
| 4 | 18 | ||||||
| 37 | __PACKAGE__->meta->make_immutable; | ||||||
| 38 | |||||||
| 39 | 1; |