source: EDIS/trunk/java/tracking-ui-core/src/main/flex/gov/va/med/edp/command/ChangeFontSizeCommand.as@ 1227

Last change on this file since 1227 was 1227, checked in by George Lilly, 13 years ago

initial load of EDIS 1.0

File size: 635 bytes
Line 
1/* ChangeFontSizeCommand.as */
2
3package 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.