au.com.swz.jatlom
Class TypeLibAttributes

java.lang.Object
  extended by au.com.swz.jatlom.TypeLibAttributes

public class TypeLibAttributes
extends java.lang.Object

Contains information about a type library. Information from this class is used to identify the type library and to provide national language support for member names.

Author:
Mark Richter

Constructor Summary
TypeLibAttributes()
           
 
Method Summary
 java.lang.String getDescription()
          Returns the description of this type library or null if there is no description available for this type library.
 java.lang.String getGUID()
          Returns the GUID of this type library.
 int getMajorVersion()
          Return the type library major version number.
 int getMinorVersion()
          Return the type library minor version number.
 java.lang.String getName()
          Returns the name of this type library.
 java.lang.String getTypeLibraryFilePath()
          Returns the full path to the type libary for which these attributes apply.
 boolean isControl()
          Determines if the type library describes controls, and should not be displayed in type browsers intended for nonvisual objects.
 boolean isHidden()
          Determines if the type library should not be displayed to users, although its use is not restricted.
 boolean isRestricted()
          Determines if the type library is restricted, and should not be displayed to users.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TypeLibAttributes

public TypeLibAttributes()
Method Detail

getName

public java.lang.String getName()
Returns the name of this type library.

Returns:
returns the name of this type library.

getDescription

public java.lang.String getDescription()
Returns the description of this type library or null if there is no description available for this type library.

Returns:
returns the description of this type library.

getGUID

public java.lang.String getGUID()
Returns the GUID of this type library.

Returns:
the GUID of this type library.

getTypeLibraryFilePath

public java.lang.String getTypeLibraryFilePath()
Returns the full path to the type libary for which these attributes apply.

Returns:
the full path to the type libary for which these attributes apply.

isControl

public boolean isControl()
Determines if the type library describes controls, and should not be displayed in type browsers intended for nonvisual objects.

Returns:
true if the type library describes controls.

isHidden

public boolean isHidden()
Determines if the type library should not be displayed to users, although its use is not restricted. Should be used by controls. Hosts should create a new type library that wraps the control with extended properties.

Returns:
true if the type library should not be displayed to users.

isRestricted

public boolean isRestricted()
Determines if the type library is restricted, and should not be displayed to users.

Returns:
true if the type library is restricted.

getMajorVersion

public int getMajorVersion()
Return the type library major version number.

Returns:
the type library major version number.

getMinorVersion

public int getMinorVersion()
Return the type library minor version number.

Returns:
the type library minor version number.