Package totalcross.res
Class Resources
- java.lang.Object
-
- totalcross.res.Resources
-
public class Resources extends java.lang.ObjectThis class loads images depending on the user interface selected. Currently there's only Android images. Android uses lots of images to render the user interface. If you get an OutOfMemoryError, try calling the flush method. Note that doing this often may slowdown the whole program.- Since:
- TotalCross 1.3
-
-
Field Summary
Fields Modifier and Type Field Description static Imagebackstatic Imagebuttonstatic TristateImagecheckBkgstatic TristateImagecheckSelstatic java.lang.StringchimeMP3static ImagecomboArrowstatic ImagecomboArrow2static Imagecomboboxstatic Imageeditstatic Imageexitstatic TristateImagefloatingBkgstatic ImagefloatingFrgstatic Imagegridstatic Imagelistboxstatic Imagemenustatic Imagemultibuttonstatic Imagemultieditstatic Imageoutlinededitstatic Imageprogressbarvstatic ImageprogressHandlestatic TristateImageradioBkgstatic TristateImageradioSelstatic Imagescrollposhstatic Imagescrollposvstatic ImageswitchBackstatic ImageswitchBrdstatic ImageswitchBrdAndstatic ImageswitchBrdIosstatic ImageswitchBtnstatic ImageswitchBtnAndstatic ImageswitchBtnIosstatic Imagetabstatic Imagetab2static Imagewarning
-
Constructor Summary
Constructors Constructor Description Resources()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static voidflush()Flush all resources held in the hashtables of the classes used by the Android user interface style.static voiduiStyleChanged()
-
-
-
Field Detail
-
button
public static Image button
-
edit
public static Image edit
-
outlinededit
public static Image outlinededit
-
combobox
public static Image combobox
-
floatingFrg
public static Image floatingFrg
-
multibutton
public static Image multibutton
-
listbox
public static Image listbox
-
multiedit
public static Image multiedit
-
progressbarv
public static Image progressbarv
-
scrollposh
public static Image scrollposh
-
scrollposv
public static Image scrollposv
-
tab
public static Image tab
-
tab2
public static Image tab2
-
grid
public static Image grid
-
checkSel
public static TristateImage checkSel
-
checkBkg
public static TristateImage checkBkg
-
floatingBkg
public static TristateImage floatingBkg
-
radioSel
public static TristateImage radioSel
-
radioBkg
public static TristateImage radioBkg
-
warning
public static Image warning
-
progressHandle
public static Image progressHandle
-
exit
public static Image exit
-
back
public static Image back
-
menu
public static Image menu
-
comboArrow
public static Image comboArrow
-
comboArrow2
public static Image comboArrow2
-
switchBrdAnd
public static Image switchBrdAnd
-
switchBack
public static Image switchBack
-
switchBtnAnd
public static Image switchBtnAnd
-
switchBtnIos
public static Image switchBtnIos
-
switchBrdIos
public static Image switchBrdIos
-
switchBtn
public static Image switchBtn
-
switchBrd
public static Image switchBrd
-
chimeMP3
public static java.lang.String chimeMP3
-
-