|
|||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface SwingCheckBoxMenuItem
SwingCheckBoxMenuItem is created to represent javax.swing.JCheckBoxMenuItem component
The following code fragment illustrates how to create an
SwingCheckBoxMenuItem
element.
var element = engine.createSwingCheckBoxMenuItem(1, 5);where engine is object of
IScriptEngine
Method Summary | |
---|---|
boolean |
check()
To set the selection state of the checkbox menu item |
boolean |
getState()
To get the current selection state of the checkbox menu item |
boolean |
select()
To select the checkbox menu item. |
boolean |
unCheck()
To unset the selection state of the checkbox menu item |
Methods inherited from interface com.appperfect.devcommon.script.javaelement.AwtContainer |
---|
getComponentCount |
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 |
---|
boolean check()
boolean getState()
boolean select()
boolean unCheck()
|
|||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |