WebNMS 5 API Specification

com.adventnet.beans.chassis
Interface ChassisPlaceHolder

All Known Implementing Classes:
MainComponent, PlaceHolderPanel

public interface ChassisPlaceHolder

The class, that is interested in registering itself or to be identified as one of the holder panels in the Chassis, has to implement this interface.


Method Summary
 java.lang.Object getCurrentType()
          Returns the current type.
 java.lang.String getDefaultType()
          Returns the current default object placed on the implementing class.
 java.lang.String getDisplayName()
          Gets the current displayName, set on the implementing class.
 java.lang.String getIdentificationName()
          Gets the current IdentificationName, set on the implementing class.
 java.lang.String getIndex()
          Gets the index of the implementing class.
 boolean isStatic()
          Returns the boolean, specifying whether the object, that is to be placed on the implementing class, will be changed dynamically or not.
 void setCurrentType(java.lang.Object curTypeArg)
          Invoked when a component has to be placed on this implementing class.
 void setDefaultType(java.lang.String typeArg)
          Sets the default Object on that is to be placed the implementing class, until it is replaced by an object passed to it by the setCurrentType method.
 void setDisplayName(java.lang.String nameArg)
          Sets the DisplayName for the implementing class.
 void setIdentificationName(java.lang.String nameArg)
          For setting the IdentificationName for the implementing class
 void setIndex(java.lang.String indexArg)
          To set the index on the implementing class.
 void setPadding(java.awt.Insets inset)
          Sets the padding around the Object, that is to be placed on the implementing class.
 void setStatic(boolean isStaticArg)
          Sets the boolean, specifying whether the implementing class is going to be static or not.
 

Method Detail

setCurrentType

public void setCurrentType(java.lang.Object curTypeArg)
Invoked when a component has to be placed on this implementing class.
Parameters:
curTypeArg - Can be any Object. It is left to the user implementation to filter out, whether it is a component or simply an Object.

getCurrentType

public java.lang.Object getCurrentType()
Returns the current type.
Returns:
'Object'

setPadding

public void setPadding(java.awt.Insets inset)
Sets the padding around the Object, that is to be placed on the implementing class.
Parameters:
inset -  

setIdentificationName

public void setIdentificationName(java.lang.String nameArg)
For setting the IdentificationName for the implementing class
Parameters:
nameArg -  

getIdentificationName

public java.lang.String getIdentificationName()
Gets the current IdentificationName, set on the implementing class.
Returns:
'String'

setDisplayName

public void setDisplayName(java.lang.String nameArg)
Sets the DisplayName for the implementing class.
Parameters:
nameArg -  

getDisplayName

public java.lang.String getDisplayName()
Gets the current displayName, set on the implementing class.
Returns:
'String'

setDefaultType

public void setDefaultType(java.lang.String typeArg)
Sets the default Object on that is to be placed the implementing class, until it is replaced by an object passed to it by the setCurrentType method.
Parameters:
typeArg -  

getDefaultType

public java.lang.String getDefaultType()
Returns the current default object placed on the implementing class.
Returns:
'String'

isStatic

public boolean isStatic()
Returns the boolean, specifying whether the object, that is to be placed on the implementing class, will be changed dynamically or not.
Returns:
'boolean'

setStatic

public void setStatic(boolean isStaticArg)
Sets the boolean, specifying whether the implementing class is going to be static or not.
Parameters:
isStaticArg -  

setIndex

public void setIndex(java.lang.String indexArg)
To set the index on the implementing class.
Parameters:
indexArg -  

getIndex

public java.lang.String getIndex()
Gets the index of the implementing class.
Returns:
'String'

WebNMS 5 API Specification