WISA.wisa3D.shell
Class ClassCmdInfo

java.lang.Object
  |
  +--WISA.wisa3D.shell.CmdInfo
        |
        +--WISA.wisa3D.shell.ClassCmdInfo

public class ClassCmdInfo
extends CmdInfo


Constructor Summary
ClassCmdInfo()
           
 
Method Summary
 boolean accept(java.lang.Object o)
          Returns true if this CmdInfo supports Objects of the class of the given Object.
 java.lang.reflect.Method[] getMethods(java.lang.Object o)
          Returns all methods available for the given Object or null if this Object is not accepted by this CmdInfo.
 java.lang.String[] getVars(java.lang.Object o)
          Returns all variables available for the given Object or null if this Object is not accepted by this CmdInfo.
 
Methods inherited from class WISA.wisa3D.shell.CmdInfo
getMethodNames, invoke, invoke
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ClassCmdInfo

public ClassCmdInfo()
Method Detail

getVars

public java.lang.String[] getVars(java.lang.Object o)
Description copied from class: CmdInfo
Returns all variables available for the given Object or null if this Object is not accepted by this CmdInfo.

Specified by:
getVars in class CmdInfo
Parameters:
o - The Object whose variables should be returned.
Returns:
The names of the variables contained in this Object.

getMethods

public java.lang.reflect.Method[] getMethods(java.lang.Object o)
Description copied from class: CmdInfo
Returns all methods available for the given Object or null if this Object is not accepted by this CmdInfo.

Specified by:
getMethods in class CmdInfo
Parameters:
o - The Object whose methods should be returned.
Returns:
The methods for this Object.

accept

public boolean accept(java.lang.Object o)
Description copied from class: CmdInfo
Returns true if this CmdInfo supports Objects of the class of the given Object.

Specified by:
accept in class CmdInfo
Parameters:
o - The Object to be determined if it is supported by this CmdInfo.
Returns:
True if the Class of the Object is supported by this CmdInfo.