org.safs.jvmagent.agents
Class JChildlessAgent

java.lang.Object
  extended by org.safs.jvmagent.agents.ObjectAgent
      extended by org.safs.jvmagent.agents.ComponentAgent
          extended by org.safs.jvmagent.agents.ContainerAgent
              extended by org.safs.jvmagent.agents.JComponentAgent
                  extended by org.safs.jvmagent.agents.JChildlessAgent
All Implemented Interfaces:
AlternateAncestorUser, LocalAgent, LocalAgentFactoryUser, LocalSubItemsAgent
Direct Known Subclasses:
JCheckBoxAgent, JComboBoxAgent, JLabelAgent, JListAgent, JScrollBarAgent, JTableAgent, JTableHeaderAgent, JTextAreaAgent, JTextFieldAgent, JTreeAgent

public class JChildlessAgent
extends JComponentAgent


Field Summary
 
Fields inherited from class org.safs.jvmagent.agents.JComponentAgent
objectType
 
Fields inherited from class org.safs.jvmagent.agents.ObjectAgent
alternateAncestor, alternateAncestorClassname, factory
 
Constructor Summary
JChildlessAgent()
          Constructor for JChildlessAgent.
 
Method Summary
 int getChildCount(java.lang.Object object)
          Return the number of children available in the provided parent.
 java.lang.Object[] getChildren(java.lang.Object object)
          Return an array representing the children of the provided parent object.
 
Methods inherited from class org.safs.jvmagent.agents.ComponentAgent
convertCoords, validateActionCommand, validateComponent
 
Methods inherited from class org.safs.jvmagent.agents.ObjectAgent
getAlternateAncestor, getAlternateAncestorClassname, getAncestorAgent, getCaption, getClassName, getID, getLevel, getLocalAgentFactory, getMatchingPathObject, getName, getProperty, getPropertyNames, getStringData, getSubItemAtIndex, getSuperClassNames, getText, isMatchingPath, isShowing, isValid, process, processAncestor, setAlternateAncestor, setAlternateAncestorClassname, setLocalAgentFactory
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JChildlessAgent

public JChildlessAgent()
Constructor for JChildlessAgent.

Method Detail

getChildCount

public int getChildCount(java.lang.Object object)
Description copied from interface: LocalAgent
Return the number of children available in the provided parent.

Specified by:
getChildCount in interface LocalAgent
Overrides:
getChildCount in class ContainerAgent
Parameters:
object - -- the actual object or component to be checked -- not a pseudo reference.
Returns:
0
See Also:
LocalAgent.getChildCount(Object)

getChildren

public java.lang.Object[] getChildren(java.lang.Object object)
Description copied from interface: LocalAgent
Return an array representing the children of the provided parent object.

Specified by:
getChildren in interface LocalAgent
Overrides:
getChildren in class ContainerAgent
Parameters:
object - -- the actual object or component to be checked -- not a pseudo reference.
Returns:
new String[0]
See Also:
LocalAgent.getChildren(Object)