|
|||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface SwingSplitPane
SwingSplitPane is created to represent javax.swing.JSplitPane component
The following code fragment illustrates how to create an
SwingSplitPane
element.
var element = engine.createSwingSplitPane(1, 5);where engine is object of
IScriptEngine
Method Summary | |
---|---|
int |
getDividerLocation()
Returns the last value passed to setDividerLocation . |
int |
getDividerSize()
Returns the divider size. |
int |
getOrientation()
Returns the orientation. |
boolean |
setDividerLocation(int location)
Sets the location of the divider. |
boolean |
setDividerSize(int size)
Set the divider size. |
boolean |
setOrientation(int orientation)
Set the orientation. |
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 |
---|
int getDividerLocation()
setDividerLocation
. The
value returned from this method may differ from the actual divider
location (if setDividerLocation
was passed a value bigger
than the curent size).
int getDividerSize()
int getOrientation()
boolean setDividerLocation(int location)
location
- an int specifying a UI-specific value (typically a pixel
count)boolean setDividerSize(int size)
size
- an integer giving the size in pixel
boolean setOrientation(int orientation)
orientation
- an integer giving the orientation
|
|||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |