com.appperfect.devcommon.script.javaelement
Interface AwtContainer

All Superinterfaces:
AwtComponent, IScript, JavaComponent
All Known Subinterfaces:
AwtDialog, AwtFileDialog, AwtFrame, AwtPanel, AwtScrollPane, AwtWindow, SwingButton, SwingCheckbox, SwingCheckBoxMenuItem, SwingComboBox, SwingComponent, SwingDialog, SwingFileChooser, SwingFrame, SwingLabel, SwingList, SwingMenu, SwingMenuItem, SwingPanel, SwingPasswordField, SwingProgressBar, SwingRadioButtonMenuItem, SwingScrollBar, SwingSlider, SwingSpinner, SwingSplitPane, SwingTabbedPane, SwingTable, SwingTextArea, SwingTextComponent, SwingTextField, SwingToggleButton, SwingTree, SwingWindow

public interface AwtContainer
extends AwtComponent

AwtContainer is created to represent java.awt.Container component

The following code fragment illustrates how to create an AwtContainer element.

 var element = engine.createAwtContainer(1, 5);
 
where engine is object of IScriptEngine


Method Summary
 int getComponentCount()
 To get the number of child components in this container
 
Methods inherited from interface com.appperfect.devcommon.script.javaelement.JavaComponent
activate, addAttribute, captureImage, click, close, dblClick, drag, drop, getName, getText, getToolTipText, maximize, minimize, mouseMove, restore, rightClick, set, setBreakPoint, setIgnored, setImagePath, setName, setThinkTime, setTitle, type
 
Methods inherited from interface com.appperfect.devcommon.script.IScript
getReasonForFailure, isIgnored, isTaskSuccessful, isTaskTimedOut, setReasonForFailure, setTaskSuccessful, setTaskTimedout, setTimeout
 

Method Detail

getComponentCount

int getComponentCount()
To get the number of child components in this container

Returns:
the number of child components in this container


Copyright © 2003-2011 AppPerfect Corporation. All Rights Reserved.