com.jniwrapper.win32.shell
Class ActiveDesktopItem

java.lang.Object
  extended by com.jniwrapper.Parameter
      extended by com.jniwrapper.Structure
          extended by com.jniwrapper.win32.shell.ActiveDesktopItem
All Implemented Interfaces:
com.jniwrapper.AlignmentAwareParameter, com.jniwrapper.CompositeParameter

public class ActiveDesktopItem
extends com.jniwrapper.Structure

Represents COMPONENT native structure. MSDN Documentation


Nested Class Summary
static class ActiveDesktopItem.ComponentType
          The class, which represents the type of the component
 
Field Summary
 
Fields inherited from class com.jniwrapper.Structure
i
 
Fields inherited from class com.jniwrapper.Parameter
LICENSE_TYPE, V
 
Constructor Summary
ActiveDesktopItem()
          Creates an instance of ActiveDesktopItem class
ActiveDesktopItem(ActiveDesktopItem that)
          Creates an instance of ActiveDesktopItem with a specified item.
 
Method Summary
 java.lang.Object clone()
          Creates copy of this instance
 boolean getChecked()
          Returns the value that indicates whether the component is enabled or not
 ActiveDesktopItem.ComponentType getComponentType()
          Returns the component type
 boolean getDirty()
          Returns value that is set to TRUE if the component has been modified and not yet saved to disk.
 java.lang.String getFriendlyName()
          Returns the friendly name of the component
 ComponentLocation getLocation()
          Returns a ComponentLocation structure that contains the position and size information.
 boolean getScroll()
          Returns value that is set to TRUE if the component is scrollable, or FALSE if not
 java.net.URL getSource()
          Returns component's URL
 java.net.URL getSubscribedURL()
          Returns subscribed component's URL
 void setChecked(boolean checked)
          Switches component to enable or disable state
 void setComponentType(ActiveDesktopItem.ComponentType value)
          Specifies the component type
 void setDirty(boolean dirty)
          Sets the value of the property dirty
 void setFriendlyName(java.lang.String friendlyName)
          Sets friendly name of the component
 void setLocation(ComponentLocation location)
          Sets the value of the property that contains the position and size information.
 void setScroll(boolean scroll)
          Sets the value of the property, which indicates whether the component is scrollable or not
 void setSource(java.net.URL source)
          Sets the URL of the component
 void setSubscribedURL(java.net.URL subscribedURL)
          Sets subscribed URL of the component
 
Methods inherited from class com.jniwrapper.Structure
a, a, acceptIOPerformer, addMembers, computeLength, equals, getAlignmentRequirement, getDebugInfo, getFirstMemberSize, getLength, getMember, getMembers, getOffsets, init, init, initFrom, pop, push, read, setDataBuffer, write
 
Methods inherited from class com.jniwrapper.Parameter
, a, asReturnValue, b, dataBufferAssigned, getAlignedLength, getDataBuffer, getDataBufferOffset, hashCode, indent, read, read, toByteArray, write
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ActiveDesktopItem

public ActiveDesktopItem()
Creates an instance of ActiveDesktopItem class


ActiveDesktopItem

public ActiveDesktopItem(ActiveDesktopItem that)
Creates an instance of ActiveDesktopItem with a specified item.

Parameters:
that - Instance of the ActiveDesktopItem class
Method Detail

getComponentType

public ActiveDesktopItem.ComponentType getComponentType()
Returns the component type

Returns:
The component type

setComponentType

public void setComponentType(ActiveDesktopItem.ComponentType value)
Specifies the component type

Parameters:
value - the component type

getChecked

public boolean getChecked()
Returns the value that indicates whether the component is enabled or not

Returns:
Value that is set to TRUE if the component is enabled, or FALSE if it's not

setChecked

public void setChecked(boolean checked)
Switches component to enable or disable state

Parameters:
checked - Value that is set to TRUE if the component is enabled, or FALSE if it's not

getDirty

public boolean getDirty()
Returns value that is set to TRUE if the component has been modified and not yet saved to disk. It will be set to FALSE if the component has not been modified, or if it has been modified and saved to disk.

Returns:
Value that is set to TRUE if the component has been modified and not yet saved to disk. It will be set to FALSE if the component has not been modified, or if it has been modified and saved to disk

setDirty

public void setDirty(boolean dirty)
Sets the value of the property dirty

Parameters:
dirty - Value that is set to TRUE if the component has been modified and not yet saved to disk. It will be set to FALSE if the component has not been modified, or if it has been modified and saved to disk

getScroll

public boolean getScroll()
Returns value that is set to TRUE if the component is scrollable, or FALSE if not

Returns:
Value that is set to TRUE if the component is scrollable, or FALSE if not

setScroll

public void setScroll(boolean scroll)
Sets the value of the property, which indicates whether the component is scrollable or not

Parameters:
scroll - Value that is set to TRUE if the component is scrollable, or FALSE if not

getLocation

public ComponentLocation getLocation()
Returns a ComponentLocation structure that contains the position and size information.

Returns:
ComponentLocation structure that contains the position and size information.

setLocation

public void setLocation(ComponentLocation location)
Sets the value of the property that contains the position and size information.

Parameters:
location - ComponentLocation structure that contains the position and size information.

getFriendlyName

public java.lang.String getFriendlyName()
Returns the friendly name of the component

Returns:
Friendly name of the component

setFriendlyName

public void setFriendlyName(java.lang.String friendlyName)
Sets friendly name of the component

Parameters:
friendlyName - Friendly name of the component

getSource

public java.net.URL getSource()
                       throws java.net.MalformedURLException
Returns component's URL

Returns:
component's URL
Throws:
java.net.MalformedURLException

setSource

public void setSource(java.net.URL source)
Sets the URL of the component

Parameters:
source - Component's URL

getSubscribedURL

public java.net.URL getSubscribedURL()
                              throws java.net.MalformedURLException
Returns subscribed component's URL

Returns:
subscribed component's URL
Throws:
java.net.MalformedURLException

setSubscribedURL

public void setSubscribedURL(java.net.URL subscribedURL)
Sets subscribed URL of the component

Parameters:
subscribedURL - Subscribed component's URL

clone

public java.lang.Object clone()
Creates copy of this instance

Overrides:
clone in class com.jniwrapper.Structure
Returns:
Copy of this instance