Commit Graph

39 Commits

Author SHA1 Message Date
Matt Bruce
3b75957ce1 accessable update
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-10-10 16:26:19 -05:00
Matt Bruce
fa3d139742 refactored hasError to showError
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-10-03 12:21:27 -05:00
Matt Bruce
9e2d5fff47 added Equality to Modelable
added AnyEquality to classes that have an a property with 'any'
added default implementation on shouldUpdateView() to check equality, this can be re-implemented in classes
removed all shouldUpdateView methods everywhere since above was done

Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-09-16 09:14:27 -05:00
Matt Bruce
a561ea30d8 added Identifiable to LabelAttributeModel
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-09-15 13:59:51 -05:00
Matt Bruce
e07f855eb6 added Identifiable
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-09-15 13:56:58 -05:00
Matt Bruce
78443263ba deleted Changeable - onChange: ActionBlock
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-09-14 12:43:41 -05:00
Matt Bruce
77a02a1e25 moved valueChanged to method
again this is due to the updating internal models via the control, therefore there will be a delay in the eventing from the publisher back up to the parent model

Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-09-14 11:59:01 -05:00
Matt Bruce
8f63017ce9 added selectedModelHandler/Handler
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-09-14 11:46:33 -05:00
Matt Bruce
421ea78991 refactored to use modelHandler instead direct model change
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-09-12 15:51:20 -05:00
Matt Bruce
8217e08182 refactored out radiobox default implementation
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-09-08 18:59:34 -05:00
Matt Bruce
dbfce2c999 refactored again, removed protocol and enforce base class of subject
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-09-08 17:39:24 -05:00
Matt Bruce
12771fa0f2 created protocols for control/view
refactored to use protocols

Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-09-08 17:18:43 -05:00
Matt Bruce
d00a219ebb updated protocol
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-09-08 17:06:07 -05:00
Matt Bruce
57853b6145 added typealias
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-09-08 16:45:14 -05:00
Matt Bruce
71b020cb3f refactored more of the groups to remove protocol
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-09-08 16:38:46 -05:00
Matt Bruce
dcd8d6ef94 refactored radioboxgroup
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-09-08 16:29:49 -05:00
Matt Bruce
56a72f62a2 removed comments
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-09-08 16:18:59 -05:00
Matt Bruce
ac2a77acf5 refactored radiobuttongroup
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-09-08 15:39:39 -05:00
Matt Bruce
7b6a62eae7 removed errorable from radiobox
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-09-08 15:30:35 -05:00
Matt Bruce
2e0d044c15 updated code
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-09-08 15:07:56 -05:00
Matt Bruce
f68a815680 baby steps in refactoring out methods
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-09-08 14:48:07 -05:00
Matt Bruce
61c5d5adf8 convert to kyle code for default handlers
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-08-31 16:12:08 -05:00
Matt Bruce
c975f2b06e added Gesture publisher / extension to UIView
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-08-31 13:29:44 -05:00
Matt Bruce
6c67544c71 moved tap back into each control since not all controls should need this
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-08-31 13:21:13 -05:00
Matt Bruce
1306c9e2a9 updated for not caching model, just the inputId
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-08-31 13:12:40 -05:00
Matt Bruce
0eb23d51fc moved touchup inside logic into control
isTappable bool
defaultAction() override
2022-08-31 10:38:21 -05:00
Matt Bruce
c6ae09f730 removed isUserInteractive to control
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-08-31 09:06:01 -05:00
Matt Bruce
572a7dd123 added valueChanged event
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-08-30 17:07:21 -05:00
Matt Bruce
574d6f84ac fixed stackviews
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-08-30 16:26:31 -05:00
Matt Bruce
6ce40e1a39 removed id
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-08-30 14:34:22 -05:00
Matt Bruce
e706045c79 removed id
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-08-30 14:32:06 -05:00
Matt Bruce
ee07116952 remvoed logic
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-08-30 09:18:28 -05:00
Matt Bruce
f71372939c refactored into extension
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-08-26 14:20:07 -05:00
Matt Bruce
8f319e3b11 refactored name
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-08-25 11:00:21 -05:00
Matt Bruce
e951326f7c updated for orientation
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-08-25 08:53:53 -05:00
Matt Bruce
06f25259f7 updated when strikethrough is drawn
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-08-24 11:15:24 -05:00
Matt Bruce
3eeb6f5dcb listening for rotation
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-08-24 11:15:11 -05:00
Matt Bruce
37372c5487 refactored to use Protocol extension methods
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-08-24 08:20:49 -05:00
Matt Bruce
d2258d2744 added radiobox model/group
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-08-23 16:54:59 -05:00