diff options
Diffstat (limited to 'SmartDeviceLink-iOS/SmartDeviceLink/SDLTextAlignment.h')
-rw-r--r-- | SmartDeviceLink-iOS/SmartDeviceLink/SDLTextAlignment.h | 29 |
1 files changed, 28 insertions, 1 deletions
diff --git a/SmartDeviceLink-iOS/SmartDeviceLink/SDLTextAlignment.h b/SmartDeviceLink-iOS/SmartDeviceLink/SDLTextAlignment.h index 8a0d44a5b..669692eff 100644 --- a/SmartDeviceLink-iOS/SmartDeviceLink/SDLTextAlignment.h +++ b/SmartDeviceLink-iOS/SmartDeviceLink/SDLTextAlignment.h @@ -1,17 +1,44 @@ // SDLTextAlignment.h // -// Copyright (c) 2014 Ford Motor Company. All rights reserved. + #import "SDLEnum.h" +/** + * The list of possible alignments of text in a field. May only work on some display types. + * + * Avaliable since <font color=red><b> SmartDeviceLink 1.0 </b></font> + */ @interface SDLTextAlignment : SDLEnum {} +/** + * Convert String to SDLTextAlignment + * @param value String + * @return SDLTextAlignment + */ +(SDLTextAlignment*) valueOf:(NSString*) value; +/*! + @abstract Store the enumeration of all possible SDLTextAlignment + @result return an array that store all possible SDLTextAlignment + */ +(NSMutableArray*) values; +/** + * @abstract Text aligned left. + * @result return a SDLTextAlignment object with value of <font color=gray><i> LEFT_ALIGNED </i></font> + */ +(SDLTextAlignment*) LEFT_ALIGNED; +/** + * @abstract Text aligned right. + * @result return a SDLTextAlignment object with value of <font color=gray><i> RIGHT_ALIGNED </i></font> + */ +(SDLTextAlignment*) RIGHT_ALIGNED; +/** + * @abstract Text aligned centered. + * @result return a SDLTextAlignment object with value of <font color=gray><i> CENTERED </i></font> + */ +(SDLTextAlignment*) CENTERED; @end + |