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.
-
InstallLeaf()
- Create a new InstallLeaf with no parent and children (not recommended!)
-
InstallLeaf(Hashtable)
- Create a new InstallLeaf with the desired destinationTable.
-
addRuntimeResources(Vector)
- Add the runtime resources required by this class.
-
countInstallable()
- Counts the number of installables in this Component.
-
countUninstallable()
- Counts the number of uninstallables in this Component.
InstallLeaf
public InstallLeaf()
- Create a new InstallLeaf with no parent and children (not recommended!)
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
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
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
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