Class Resources


  • public class Resources
    extends java.lang.Object
    This 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 Detail

      • button

        public static Image button
      • edit

        public static Image edit
      • combobox

        public static Image combobox
      • 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
      • 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
    • Constructor Detail

      • Resources

        public Resources()
    • Method Detail

      • uiStyleChanged

        public static void uiStyleChanged()
      • flush

        public static void flush()
        Flush all resources held in the hashtables of the classes used by the Android user interface style. Does nothing when the style is another one.