FileDocCategorySizeDatePackage
UserFolderInfo.javaAPI DocAndroid 1.5 API1558Wed May 06 22:42:46 BST 2009com.android.launcher

UserFolderInfo

public class UserFolderInfo extends FolderInfo
Represents a folder containing shortcuts or apps.

Fields Summary
ArrayList
contents
The apps and shortcuts
Constructors Summary
UserFolderInfo()

    
     
        itemType = LauncherSettings.Favorites.ITEM_TYPE_USER_FOLDER;
    
Methods Summary
public voidadd(ApplicationInfo item)
Add an app or shortcut

param
item

        contents.add(item);
    
voidonAddToDatabase(android.content.ContentValues values)

 
        super.onAddToDatabase(values);
        values.put(LauncherSettings.Favorites.TITLE, title.toString());
    
public voidremove(ApplicationInfo item)
Remove an app or shortcut

param
item

        contents.remove(item);