|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Allows to manage the desktop items and wallpaper on a local computer.
Field Summary | |
static java.lang.String |
INTERFACE_IDENTIFIER
|
Method Summary | |
void |
addDesktopItem(ActiveDesktopItem value)
Adds a desktop item. |
void |
addDesktopItemWithUI(Wnd wnd,
ActiveDesktopItem value)
Adds a desktop item to the Active Desktop after displaying user interfaces that confirm the addition of the desktop item, verify security zone permissions, and ask if the user wants to create a subscription. |
void |
addUrl(Wnd wnd,
java.net.URL source,
ActiveDesktopItem item)
Adds the desktop item associated with the specified URL. |
void |
applyChanges(ApplyChangesOptions value)
Applies changes to the Active Desktop and saves them in the registry. |
void |
generateDesktopItemHtml(java.io.File file,
ActiveDesktopItem item)
Generates a generic HTML page containing the given desktop item. |
ActiveDesktopItem |
getDesktopItem(int index)
Returns the specified desktop item. |
ActiveDesktopItem |
getDesktopItemByID(int id)
Returns the desktop item that matches the given identification. |
ActiveDesktopItem |
getDesktopItemBySource(java.net.URL source)
Retrieves a desktop item using its source URL. |
int |
getDesktopItemCount()
Returns a count of the desktop items. |
DesktopItemOptions |
getDesktopItemOptions()
Returns the desktop item's options. |
java.lang.String |
getPattern()
Returns the pattern currently being used. |
java.io.File |
getWallpaper()
Returns the file of the wallpaper currently being used. |
WallpaperOptions |
getWallpaperOptions()
Returns the wallpaper options. |
void |
modifyDesktopItem(ActiveDesktopItem value,
ModifyDesktopItemOptions options)
Modifies the desktop item. |
void |
removeDesktopItem(ActiveDesktopItem value)
Removes the specified desktop item from the desktop. |
void |
setDesktopItemOptions(DesktopItemOptions value)
Sets the item's options. |
void |
setPattern(java.lang.String value)
Sets the Active Desktop pattern. |
void |
setWallpaper(java.io.File value)
Sets the file of the wallpaper to be set. |
void |
setWallpaperOptions(WallpaperOptions value)
Sets the wallpaper options. |
Field Detail |
public static final java.lang.String INTERFACE_IDENTIFIER
Method Detail |
public void applyChanges(ApplyChangesOptions value) throws com.jniwrapper.win32.com.ComException
value
- value that contains the changes to be applied. Can be one of the values from the ApplyChangesOptions
class
com.jniwrapper.win32.com.ComException
public java.io.File getWallpaper() throws com.jniwrapper.win32.com.ComException
com.jniwrapper.win32.com.ComException
public void setWallpaper(java.io.File value) throws com.jniwrapper.win32.com.ComException
value
- the file of the wallpaper to be set
com.jniwrapper.win32.com.ComException
public WallpaperOptions getWallpaperOptions() throws com.jniwrapper.win32.com.ComException
com.jniwrapper.win32.com.ComException
public void setWallpaperOptions(WallpaperOptions value) throws com.jniwrapper.win32.com.ComException
value
- the options to be set
com.jniwrapper.win32.com.ComException
public java.lang.String getPattern() throws com.jniwrapper.win32.com.ComException
com.jniwrapper.win32.com.ComException
public void setPattern(java.lang.String value) throws com.jniwrapper.win32.com.ComException
value
- string value that contains a string of decimals whose bit pattern represents a picture. Each decimal represents the on/off state of the 8 pixels in that row
com.jniwrapper.win32.com.ComException
public DesktopItemOptions getDesktopItemOptions() throws com.jniwrapper.win32.com.ComException
com.jniwrapper.win32.com.ComException
public void setDesktopItemOptions(DesktopItemOptions value) throws com.jniwrapper.win32.com.ComException
value
- the options to set
com.jniwrapper.win32.com.ComException
public void addDesktopItem(ActiveDesktopItem value) throws com.jniwrapper.win32.com.ComException
com.jniwrapper.win32.com.ComException
public void addDesktopItemWithUI(Wnd wnd, ActiveDesktopItem value) throws com.jniwrapper.win32.com.ComException
wnd
- Handle of the parent window. If NULL, the desktop item is added without displaying any user interface, in accordance with the corresponding security zone permissionsvalue
- details of the desktop item to be added
com.jniwrapper.win32.com.ComException
public void modifyDesktopItem(ActiveDesktopItem value, ModifyDesktopItemOptions options) throws com.jniwrapper.win32.com.ComException
value
- structure containing the modificationsoptions
- the flags used for the modification
com.jniwrapper.win32.com.ComException
public void removeDesktopItem(ActiveDesktopItem value) throws com.jniwrapper.win32.com.ComException
value
- specifies the item to be removed
com.jniwrapper.win32.com.ComException
public int getDesktopItemCount() throws com.jniwrapper.win32.com.ComException
com.jniwrapper.win32.com.ComException
public ActiveDesktopItem getDesktopItem(int index) throws com.jniwrapper.win32.com.ComException
index
- integer value that contains the desktop item's index. The index values start at zero
com.jniwrapper.win32.com.ComException
public ActiveDesktopItem getDesktopItemByID(int id) throws com.jniwrapper.win32.com.ComException
id
- integer value that contains the desktop item's identification
com.jniwrapper.win32.com.ComException
public void generateDesktopItemHtml(java.io.File file, ActiveDesktopItem item) throws com.jniwrapper.win32.com.ComException
file
- the file to store the HTML file initem
- the desktop item to insert in the HTML page
com.jniwrapper.win32.com.ComException
public void addUrl(Wnd wnd, java.net.URL source, ActiveDesktopItem item) throws com.jniwrapper.win32.com.ComException
wnd
- Handle to the parent window for the user interfacesource
- the URL of the desktop itemitem
- the details of the desktop item to be added
com.jniwrapper.win32.com.ComException
public ActiveDesktopItem getDesktopItemBySource(java.net.URL source) throws com.jniwrapper.win32.com.ComException
source
- the source URL of the desktop item
com.jniwrapper.win32.com.ComException
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |