All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class com.sun.install.products.InstallLeaf

java.lang.Object
   |
   +----com.sun.install.products.InstallComponent
           |
           +----com.sun.install.products.InstallLeaf

public class InstallLeaf
extends InstallComponent
InstallLeaf is the superclass of all leaves of the product tree. It extends InstallLeaf, but implements behavior specific to leaves such as not recursing down below itself (it cannot have any children). Many methods in this class are final, since there is specific behavior for Leaves that should not be overridden. If you override methods in a subclass, be sure to call their superclass's methods somewhere in your method.


Constructor Index

 o InstallLeaf()
Create a new InstallLeaf with no parent and children (not recommended!)
 o InstallLeaf(Hashtable)
Create a new InstallLeaf with the desired destinationTable.

Method Index

 o addRuntimeResources(Vector)
Add the runtime resources required by this class.
 o countInstallable()
Counts the number of installables in this Component.
 o countUninstallable()
Counts the number of uninstallables in this Component.

Constructors

 o InstallLeaf
 public InstallLeaf()
Create a new InstallLeaf with no parent and children (not recommended!)

 o InstallLeaf
 public InstallLeaf(Hashtable destinationTable)
Create a new InstallLeaf with the desired destinationTable.

Parameters:
destinationTable - The final destination of this InstallLeaf and its children
name - The name of this install Leaf

Methods

 o countInstallable
 public int countInstallable()
Counts the number of installables in this Component. Used to determine how many divisions of the progress bar there is

Returns:
The number of installables of this Leaf. Default is 1.
Overrides:
countInstallable in class InstallComponent
 o countUninstallable
 public int countUninstallable()
Counts the number of uninstallables in this Component. Used to determine how many divisions of the progress bar there is

Returns:
The number of uninstallables of this Leaf. Default is 1.
Overrides:
countUninstallable in class InstallComponent
 o addRuntimeResources
 public void addRuntimeResources(Vector resourceVector)
Add the runtime resources required by this class.

Parameters:
resourceVector - The vector containing all of the required resources for this class
Overrides:
addRuntimeResources in class InstallComponent

All Packages  Class Hierarchy  This Package  Previous  Next  Index