org.safs.jvmagent.agents
Class JFrameAgent

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.WindowAgent
                  extended by org.safs.jvmagent.agents.FrameAgent
                      extended by org.safs.jvmagent.agents.JFrameAgent
All Implemented Interfaces:
AlternateAncestorUser, LocalAgent, LocalAgentFactoryUser, LocalSubItemsAgent
Direct Known Subclasses:
JFrameAgent

public class JFrameAgent
extends FrameAgent


Field Summary
static java.lang.String objectType
          "JFrame" (Subclasses will override) The generic object type supported by this Agent helper class.
 
Fields inherited from class org.safs.jvmagent.agents.ObjectAgent
alternateAncestor, alternateAncestorClassname, factory
 
Constructor Summary
JFrameAgent()
          Constructor for JFrameAgent.
 
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)
          Some returned children might be null.
 
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
 

Field Detail

objectType

public static final java.lang.String objectType
"JFrame" (Subclasses will override) The generic object type supported by this Agent helper class. The generic object type is that returned by GuiClassData.getGenericObjectType. Example: Component Button Table etc..

See Also:
GuiClassData.getGenericObjectType(String), Constant Field Values
Constructor Detail

JFrameAgent

public JFrameAgent()
Constructor for JFrameAgent.

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 WindowAgent
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)
Some returned children might be null.

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