com.jniwrapper.win32.shell.impl
Class IActiveDesktopImpl

java.lang.Object
  extended bycom.jniwrapper.Parameter
      extended bycom.jniwrapper.win32.com.impl.IUnknownImpl
          extended bycom.jniwrapper.win32.shell.impl.IActiveDesktopImpl
All Implemented Interfaces:
com.jniwrapper.AutoDeleteParameter, IActiveDesktop, com.jniwrapper.win32.com.IUnknown, com.jniwrapper.PointerParameter

public class IActiveDesktopImpl
extends com.jniwrapper.win32.com.impl.IUnknownImpl
implements IActiveDesktop

Implementation of IActiveDesktop interface.


Nested Class Summary
 
Nested classes inherited from class com.jniwrapper.win32.com.impl.IUnknownImpl
com.jniwrapper.win32.com.impl.IUnknownImpl.MemoryBufferImpl
 
Field Summary
static com.jniwrapper.win32.com.types.CLSID CLSID_IActiveDesktop
           
static java.lang.String INTERFACE_IDENTIFIER
           
 
Fields inherited from class com.jniwrapper.win32.com.impl.IUnknownImpl
d, DebugComfyJ, LICENSE_TYPE, PTR_NULL
 
Fields inherited from class com.jniwrapper.Parameter
V
 
Constructor Summary
IActiveDesktopImpl()
           
IActiveDesktopImpl(com.jniwrapper.win32.com.types.ClsCtx dwClsContext)
           
IActiveDesktopImpl(com.jniwrapper.win32.com.types.CLSID clsid, com.jniwrapper.win32.com.types.ClsCtx dwClsContext)
           
IActiveDesktopImpl(com.jniwrapper.win32.com.types.CLSID clsid, com.jniwrapper.win32.com.impl.IUnknownImpl pUnkOuter, com.jniwrapper.win32.com.types.ClsCtx dwClsContext)
           
IActiveDesktopImpl(com.jniwrapper.win32.com.impl.IUnknownImpl that)
           
 
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.
 java.lang.Object clone()
           
 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.
 com.jniwrapper.win32.com.types.IID getIID()
           
 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.
 
Methods inherited from class com.jniwrapper.win32.com.impl.IUnknownImpl
, a, acceptIOPerformer, addRef, asVoidPointer, b, d, dumpVTBL, equals, fromVoidPointer, getDebugInfo, getInterfaceIdentifier, getLength, hashCode, invokeStandardVirtualMethod, invokeStandardVirtualMethod, invokeStandardVirtualMethod, invokeStandardVirtualMethod, invokeStandardVirtualMethod, invokeStandardVirtualMethod, invokeStandardVirtualMethod, invokeVirtualMethod, invokeVirtualMethod, invokeVirtualMethod, invokeVirtualMethod, invokeVirtualMethod, invokeVirtualMethod, isAutoDelete, isNull, isSameObject, queryInterface, queryInterface, read, release, setAutoDelete, setNull, setValue, write
 
Methods inherited from class com.jniwrapper.Parameter
a, a, asReturnValue, b, dataBufferAssigned, getAlignedLength, getAlignmentRequirement, getDataBuffer, getDataBufferOffset, indent, pop, push, read, read, setDataBuffer, toByteArray, write
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

INTERFACE_IDENTIFIER

public static final java.lang.String INTERFACE_IDENTIFIER
See Also:
Constant Field Values

CLSID_IActiveDesktop

public static final com.jniwrapper.win32.com.types.CLSID CLSID_IActiveDesktop
Constructor Detail

IActiveDesktopImpl

public IActiveDesktopImpl()

IActiveDesktopImpl

public IActiveDesktopImpl(com.jniwrapper.win32.com.impl.IUnknownImpl that)
                   throws com.jniwrapper.win32.com.ComException

IActiveDesktopImpl

public IActiveDesktopImpl(com.jniwrapper.win32.com.types.CLSID clsid,
                          com.jniwrapper.win32.com.types.ClsCtx dwClsContext)
                   throws com.jniwrapper.win32.com.ComException

IActiveDesktopImpl

public IActiveDesktopImpl(com.jniwrapper.win32.com.types.CLSID clsid,
                          com.jniwrapper.win32.com.impl.IUnknownImpl pUnkOuter,
                          com.jniwrapper.win32.com.types.ClsCtx dwClsContext)
                   throws com.jniwrapper.win32.com.ComException

IActiveDesktopImpl

public IActiveDesktopImpl(com.jniwrapper.win32.com.types.ClsCtx dwClsContext)
                   throws com.jniwrapper.win32.com.ComException
Method Detail

applyChanges

public void applyChanges(ApplyChangesOptions value)
                  throws com.jniwrapper.win32.com.ComException
Description copied from interface: IActiveDesktop
Applies changes to the Active Desktop and saves them in the registry.

Specified by:
applyChanges in interface IActiveDesktop
Parameters:
value - value that contains the changes to be applied. Can be one of the values from the ApplyChangesOptions class
Throws:
com.jniwrapper.win32.com.ComException

getWallpaper

public java.io.File getWallpaper()
                          throws com.jniwrapper.win32.com.ComException
Description copied from interface: IActiveDesktop
Returns the file of the wallpaper currently being used.

Specified by:
getWallpaper in interface IActiveDesktop
Returns:
the file of the wallpaper currently being used
Throws:
com.jniwrapper.win32.com.ComException

setWallpaper

public void setWallpaper(java.io.File value)
                  throws com.jniwrapper.win32.com.ComException
Description copied from interface: IActiveDesktop
Sets the file of the wallpaper to be set.

Specified by:
setWallpaper in interface IActiveDesktop
Parameters:
value - the file of the wallpaper to be set
Throws:
com.jniwrapper.win32.com.ComException

getWallpaperOptions

public WallpaperOptions getWallpaperOptions()
                                     throws com.jniwrapper.win32.com.ComException
Description copied from interface: IActiveDesktop
Returns the wallpaper options.

Specified by:
getWallpaperOptions in interface IActiveDesktop
Returns:
the wallpaper options
Throws:
com.jniwrapper.win32.com.ComException

setWallpaperOptions

public void setWallpaperOptions(WallpaperOptions value)
                         throws com.jniwrapper.win32.com.ComException
Description copied from interface: IActiveDesktop
Sets the wallpaper options.

Specified by:
setWallpaperOptions in interface IActiveDesktop
Parameters:
value - the options to be set
Throws:
com.jniwrapper.win32.com.ComException

getPattern

public java.lang.String getPattern()
                            throws com.jniwrapper.win32.com.ComException
Description copied from interface: IActiveDesktop
Returns the pattern currently being used.

Specified by:
getPattern in interface IActiveDesktop
Returns:
string of decimals whose bit pattern represents a picture. Each decimal represents the on/off state of the 8 pixels in that row
Throws:
com.jniwrapper.win32.com.ComException

setPattern

public void setPattern(java.lang.String value)
                throws com.jniwrapper.win32.com.ComException
Description copied from interface: IActiveDesktop
Sets the Active Desktop pattern.

Specified by:
setPattern in interface IActiveDesktop
Parameters:
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
Throws:
com.jniwrapper.win32.com.ComException

getDesktopItemOptions

public DesktopItemOptions getDesktopItemOptions()
                                         throws com.jniwrapper.win32.com.ComException
Description copied from interface: IActiveDesktop
Returns the desktop item's options.

Specified by:
getDesktopItemOptions in interface IActiveDesktop
Returns:
the desktop item's options
Throws:
com.jniwrapper.win32.com.ComException

setDesktopItemOptions

public void setDesktopItemOptions(DesktopItemOptions value)
                           throws com.jniwrapper.win32.com.ComException
Description copied from interface: IActiveDesktop
Sets the item's options.

Specified by:
setDesktopItemOptions in interface IActiveDesktop
Parameters:
value - the options to set
Throws:
com.jniwrapper.win32.com.ComException

addDesktopItem

public void addDesktopItem(ActiveDesktopItem value)
                    throws com.jniwrapper.win32.com.ComException
Description copied from interface: IActiveDesktop
Adds a desktop item.

Specified by:
addDesktopItem in interface IActiveDesktop
Throws:
com.jniwrapper.win32.com.ComException

addDesktopItemWithUI

public void addDesktopItemWithUI(Wnd wnd,
                                 ActiveDesktopItem value)
                          throws com.jniwrapper.win32.com.ComException
Description copied from interface: IActiveDesktop
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.

Specified by:
addDesktopItemWithUI in interface IActiveDesktop
Parameters:
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 permissions
value - details of the desktop item to be added
Throws:
com.jniwrapper.win32.com.ComException

modifyDesktopItem

public void modifyDesktopItem(ActiveDesktopItem value,
                              ModifyDesktopItemOptions options)
                       throws com.jniwrapper.win32.com.ComException
Description copied from interface: IActiveDesktop
Modifies the desktop item.

Specified by:
modifyDesktopItem in interface IActiveDesktop
Parameters:
value - structure containing the modifications
options - the flags used for the modification
Throws:
com.jniwrapper.win32.com.ComException

removeDesktopItem

public void removeDesktopItem(ActiveDesktopItem value)
                       throws com.jniwrapper.win32.com.ComException
Description copied from interface: IActiveDesktop
Removes the specified desktop item from the desktop.

Specified by:
removeDesktopItem in interface IActiveDesktop
Parameters:
value - specifies the item to be removed
Throws:
com.jniwrapper.win32.com.ComException

getDesktopItemCount

public int getDesktopItemCount()
                        throws com.jniwrapper.win32.com.ComException
Description copied from interface: IActiveDesktop
Returns a count of the desktop items.

Specified by:
getDesktopItemCount in interface IActiveDesktop
Returns:
a count of the desktop items
Throws:
com.jniwrapper.win32.com.ComException

getDesktopItem

public ActiveDesktopItem getDesktopItem(int index)
                                 throws com.jniwrapper.win32.com.ComException
Description copied from interface: IActiveDesktop
Returns the specified desktop item.

Specified by:
getDesktopItem in interface IActiveDesktop
Parameters:
index - integer value that contains the desktop item's index. The index values start at zero
Returns:
the retrieved desktop item
Throws:
com.jniwrapper.win32.com.ComException

getDesktopItemByID

public ActiveDesktopItem getDesktopItemByID(int id)
                                     throws com.jniwrapper.win32.com.ComException
Description copied from interface: IActiveDesktop
Returns the desktop item that matches the given identification.

Specified by:
getDesktopItemByID in interface IActiveDesktop
Parameters:
id - integer value that contains the desktop item's identification
Returns:
the retrieved desktop item
Throws:
com.jniwrapper.win32.com.ComException

generateDesktopItemHtml

public void generateDesktopItemHtml(java.io.File file,
                                    ActiveDesktopItem item)
                             throws com.jniwrapper.win32.com.ComException
Description copied from interface: IActiveDesktop
Generates a generic HTML page containing the given desktop item.

Specified by:
generateDesktopItemHtml in interface IActiveDesktop
Parameters:
file - the file to store the HTML file in
item - the desktop item to insert in the HTML page
Throws:
com.jniwrapper.win32.com.ComException

addUrl

public void addUrl(Wnd wnd,
                   java.net.URL source,
                   ActiveDesktopItem item)
            throws com.jniwrapper.win32.com.ComException
Description copied from interface: IActiveDesktop
Adds the desktop item associated with the specified URL.

Specified by:
addUrl in interface IActiveDesktop
Parameters:
wnd - Handle to the parent window for the user interface
source - the URL of the desktop item
item - the details of the desktop item to be added
Throws:
com.jniwrapper.win32.com.ComException

getDesktopItemBySource

public ActiveDesktopItem getDesktopItemBySource(java.net.URL source)
                                         throws com.jniwrapper.win32.com.ComException
Description copied from interface: IActiveDesktop
Retrieves a desktop item using its source URL.

Specified by:
getDesktopItemBySource in interface IActiveDesktop
Parameters:
source - the source URL of the desktop item
Returns:
the details about the desktop item
Throws:
com.jniwrapper.win32.com.ComException

getIID

public com.jniwrapper.win32.com.types.IID getIID()

clone

public java.lang.Object clone()