Rev | Line | |
---|
[1227] | 1 | /* ChangeFontSizeCommand.as */
|
---|
| 2 |
|
---|
| 3 | package gov.va.med.edp.command
|
---|
| 4 | {
|
---|
| 5 | import com.adobe.cairngorm.commands.ICommand;
|
---|
| 6 | import com.adobe.cairngorm.control.CairngormEvent;
|
---|
| 7 |
|
---|
| 8 | import gov.va.med.edp.control.NumberEvent;
|
---|
| 9 | import gov.va.med.edp.model.TrackingModelLocator;
|
---|
| 10 |
|
---|
| 11 | public class ChangeFontSizeCommand implements ICommand
|
---|
| 12 | {
|
---|
| 13 | private var model:TrackingModelLocator = TrackingModelLocator.getInstance();
|
---|
| 14 |
|
---|
| 15 | public function execute(event:CairngormEvent):void
|
---|
| 16 | {
|
---|
| 17 | var e: NumberEvent = NumberEvent(event);
|
---|
| 18 | model.boardSpec.displayBoardProperties.squishFontSize = e.value;
|
---|
| 19 | } // execute
|
---|
| 20 | } // class
|
---|
| 21 | } // package
|
---|
Note:
See
TracBrowser
for help on using the repository browser.