com.adventnet.beans.chassis
Class ChassisHelper
java.lang.Object
|
+--com.adventnet.beans.chassis.BaseHelper
|
+--com.adventnet.beans.chassis.ChassisHelper
- Direct Known Subclasses:
- ChassisPoller
- public class ChassisHelper
- extends BaseHelper
An extended version of com.adventnet.beans.chassis.BaseHelper that adds
support for placing the shelves in their respective parent panels during the runtime.
This Class takes care of passing the ManagedObject name to the Shelf Objects.
- See Also:
BaseHelper
|
Constructor Summary |
ChassisHelper()
Default Constructor to create ChassisHelper object. |
ChassisHelper(java.applet.Applet appletArg)
Applet Constructor to instantiate the ChassisHelper Object |
ChassisHelper(java.applet.Applet appletArg,
java.lang.String instanceNameArg)
Constructor for passing the applet as well as the instanceName, to create the ChassisHelper object |
ChassisHelper(java.lang.String instanceNameArg)
Constructor for creating an instance of ChassisHelper object with the instance name as argument. |
|
Method Summary |
void |
setAvailableShelfs(java.lang.String[] shelfClassNamesArg)
Required to pass an array of available shelf names, to create an instance of the Shelf Objects,
for each value in the array. |
| Methods inherited from class com.adventnet.beans.chassis.BaseHelper |
debug, getChassisComponent, getInstance, getPlaceHolders, reinitialize, setApplet, setChassisComponent, setDebug, setInstanceName, setPlaceHolders, start, stop |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ChassisHelper
public ChassisHelper()
- Default Constructor to create ChassisHelper object.
ChassisHelper
public ChassisHelper(java.lang.String instanceNameArg)
- Constructor for creating an instance of ChassisHelper object with the instance name as argument.
- Parameters:
instanceNameArg - Used as an identifier while debug messages are printed out to the console
ChassisHelper
public ChassisHelper(java.applet.Applet appletArg)
- Applet Constructor to instantiate the ChassisHelper Object
ChassisHelper
public ChassisHelper(java.applet.Applet appletArg,
java.lang.String instanceNameArg)
- Constructor for passing the applet as well as the instanceName, to create the ChassisHelper object
- Parameters:
appletArg - Applet to be passed to the ChassisHelper objectinstanceNameArg - Used as an identifier while debug messages are printed out to the console
setAvailableShelfs
public void setAvailableShelfs(java.lang.String[] shelfClassNamesArg)
throws java.lang.Exception
- Required to pass an array of available shelf names, to create an instance of the Shelf Objects,
for each value in the array.
The passed array length should match with the holders array, set on this Object using
setPlaceHolders. The class names are instantiated and placed on the corresponding holder panels.
- Parameters:
shelfClassNamesArg - - Throws:
java.lang.Exception - If the ShelfClass Names passed as arguments mismatches with the Holders Array
or if the Holders array is null, an IllegalArgument Exception is thrown.