doc
 All Classes Functions Variables Properties
/Users/rburkes/Projects/mobile/branches/release-1-2/devices/iphone/core/src/EMLib/EMDefaultStyleSheet.h
00001 /*
00002 Copyright 2001, 2012, Oracle and/or its affiliates. All rights reserved.
00003 Oracle and Java are registered trademarks of Oracle and/or its 
00004 affiliates. Other names may be trademarks of their respective owners.
00005 UNIX is a registered trademark of The Open Group.
00006 
00007 This software and related documentation are provided under a license 
00008 agreement containing restrictions on use and disclosure and are 
00009 protected by intellectual property laws. Except as expressly permitted 
00010 in your license agreement or allowed by law, you may not use, copy, 
00011 reproduce, translate, broadcast, modify, license, transmit, distribute, 
00012 exhibit, perform, publish, or display any part, in any form, or by any 
00013 means. Reverse engineering, disassembly, or decompilation of this 
00014 software, unless required by law for interoperability, is prohibited.
00015 The information contained herein is subject to change without notice 
00016 and is not warranted to be error-free. If you find any errors, please 
00017 report them to us in writing.
00018 U.S. GOVERNMENT END USERS: Oracle programs, including any operating 
00019 system, integrated software, any programs installed on the hardware, 
00020 and/or documentation, delivered to U.S. Government end users are 
00021 "commercial computer software" pursuant to the applicable Federal 
00022 Acquisition Regulation and agency-specific supplemental regulations. 
00023 As such, use, duplication, disclosure, modification, and adaptation 
00024 of the programs, including any operating system, integrated software, 
00025 any programs installed on the hardware, and/or documentation, shall be 
00026 subject to license terms and license restrictions applicable to the 
00027 programs. No other rights are granted to the U.S. Government.
00028 This software or hardware is developed for general use in a variety 
00029 of information management applications. It is not developed or 
00030 intended for use in any inherently dangerous applications, including 
00031 applications that may create a risk of personal injury. If you use 
00032 this software or hardware in dangerous applications, then you shall 
00033 be responsible to take all appropriate fail-safe, backup, redundancy, 
00034 and other measures to ensure its safe use. Oracle Corporation and its 
00035 affiliates disclaim any liability for any damages caused by use of this 
00036 software or hardware in dangerous applications.
00037 This software or hardware and documentation may provide access to or 
00038 information on content, products, and services from third parties. 
00039 Oracle Corporation and its affiliates are not responsible for and 
00040 expressly disclaim all warranties of any kind with respect to 
00041 third-party content, products, and services. Oracle Corporation and 
00042 its affiliates will not be responsible for any loss, costs, or damages 
00043 incurred due to your access to or use of third-party content, products, 
00044 or services.
00045 */
00046 
00047 
00048 #import <Foundation/Foundation.h>
00049 #import <Three20/Three20.h>
00050 #import <Three20/Three20+Additions.h>
00051 
00058 @interface EMDefaultStyleSheet : TTDefaultStyleSheet {
00059         
00060 }
00061 
00065 - (TTStyle*)tableViewButton:(UIControlState)state;
00066 
00067 - (UIImage *)radioButtonUnselected;
00068 - (UIImage *)radioButtonSelected;
00069 
00073 - (UIColor *)formTextColor;
00074 - (UIColor*) featuredLabelColor;
00075 - (UIColor*)labelColor;
00076 
00077 - (UIColor*)salePriceLabelColor;
00078 - (UIColor*)priceLabelColor;
00079 
00080 /*
00081  * This sets the color that appears behind the oddRowColor and evenRowColor styles
00082  */
00083 - (UIColor*)tableBackgroundColor;
00084 
00085 /*
00086  * This is used with the oddRowColor, evenRowColor and tableSeparatorColor styles, 
00087  * and sets the color of the highlight line at the top of the cell
00088  */
00089 - (UIColor*)tableCellHighlightColor;
00090 
00091 /*
00092  * This is used with the oddRowColor, evenRowColor and tableCellHighlightColor styles,
00093  * and sets the color of the shadow line at the bottom of the cell
00094  */
00095 - (UIColor*)tableSeparatorColor;
00096 
00097 
00101 - (UIColor*)tableLabelColor;
00102 - (UIColor*)tableLabelShadowColor;
00103 - (CGSize)tableLabelShadowOffset;
00104 - (UIActivityIndicatorViewStyle)tableActivityIndicatorViewStyle;
00105 
00109 - (UIColor*)oddRowColor;
00110 
00114 - (UIColor*)evenRowColor;
00115 
00116 - (UIColor*)sortBarTintColor;
00117 
00118 - (UIColor*)linkTextColorDisabled;
00119 
00120 - (UIColor*)baseColor;
00121 - (UIColor*)lighterBaseColor;
00122 - (UIColor *)darkerBaseColor;
00123 
00124 - (TTView *)selectedBackgroundViewPlain;
00125 - (TTView *)selectedBackgroundViewGrouped;
00126 - (TTView *)selectedBackgroundViewGroupedTop;
00127 - (TTView *)selectedBackgroundViewGroupedBottom;
00128 - (TTView *)selectedBackgroundViewGroupedTopBottom;
00129 
00133 - (NSString*)facetValueSeparator;
00134 - (UIColor *)facetControllerBackgroundColor;
00135 - (TTActivityLabelStyle)facetControllerLoadingStyle;
00136 - (UIColor *)facetValueColor;
00137 - (UIColor *)facetValueCountColor;
00138 - (UIImage *)multiOrFacetValueUnchecked;
00139 - (UIImage *)multiOrFacetValueChecked;
00140 // For the Collapsed Style
00141 - (UIColor *)facetHeaderTextColor;
00142 - (UIColor *)facetHeaderHighlightedTextColor;
00143 - (UIImage *)facetResultExanded;
00144 - (UIImage *)facetResultCollapsed;
00145 - (TTStyle *)styleForFacetHeaderBackgroundView;
00146 - (TTStyle *)styleForFacetHeaderSelectedBackgroundView;
00147 - (TTStyle *)styleForFacetHeaderBackgroundViewPlain;
00148 - (TTStyle *)styleForFacetHeaderSelectedBackgroundViewPlain;
00149 - (TTStyle*)clearFacetsButton:(UIControlState)state;
00150 - (TTStyle*)clearFacetsButtonPlain:(UIControlState)state;
00151 
00152 - (BOOL) displayBreadcrumbsInListView;
00153 
00154 - (UIImageView*) breadcrumbCellAccessoryView;
00155 
00159 - (UIColor *)mainSearchBarTintColor;
00160 - (UIColor *)mainSearchBarHighlightColor;
00161 - (TTStyle*)mainSearchBar;
00162 
00163 - (UIColor *)navSearchBarTintColor;
00164 - (UIColor *)navSearchBarHighlightColor;
00165 - (TTStyle*)navSearchBar;
00166 - (TTStyle*)navSearchTextField;
00167 
00171 - (TTStyle *)starFillStyle;
00172 - (CGSize)starSize;
00173 - (UIImage *)fullStarImage;
00174 - (UIImage *)halfStarImage; 
00175 - (UIImage *)emptyStarImage; 
00176 - (TTStyle *)fullStarStyle; 
00177 - (TTStyle *)halfStarStyle; 
00178 - (TTStyle *)emptyStarStyle;
00179 
00184 - (UIColor *) productListBrandColor;
00185 - (UIColor *) productListTitleColor;
00186 - (UIColor *) productListPriceColor;
00187 
00191 - (UIColor*) productDetailFourLineTitleColor;
00192 - (UIColor*) productDetailFourLineDescriptionColor;
00193 - (UIColor*) productDetailSingleLineColor;
00194 - (UIColor*) productDetailSingleLineValue2Color;
00195 
00199 - (UIImage *)pinImage;
00200 - (UIImage *)selectedPinImage;
00201 
00202 - (CGPoint) pinCenterOffset;
00203 - (CGPoint) pinCalloutOffset;
00204 - (UIColor *)pinTextColor;
00205 - (UIColor *)selectedPinTextColor;
00206 - (UIImage *) storeLocatorLogoImage;
00207 
00208 
00209 @end
00210 
00211 
00212 
00213 /*
00214  * Default style sheet for iPad. 
00215  */
00216 @interface EMDefaultStyleSheetIPad : EMDefaultStyleSheet {
00217 }
00218 
00219 - (TTStyle *)selectedGridCellStyle;
00220 - (TTStyle *)unselectedGridCellStyle;
00221 
00222 - (NSString *) titleForTab1;
00223 - (NSString *) titleForTab2;
00224 - (NSString *) titleForTab3;
00225 - (NSString *) titleForTab4;
00226 
00227 
00228 @end
00229