public class JSplitPaneOperator extends JComponentOperator implements Timeoutable, Outputable
Timeouts| Modifier and Type | Class and Description |
|---|---|
static class |
JSplitPaneOperator.JSplitPaneFinder
Checks component type.
|
JComponentOperator.JComponentByTipFinder, JComponentOperator.JComponentFinderContainerOperator.ContainerFinderOperator.ComponentVisualizer, Operator.DefaultPathParser, Operator.DefaultStringComparator, Operator.Finder, Operator.MapAction, Operator.MapBooleanAction, Operator.MapByteAction, Operator.MapCharacterAction, Operator.MapDoubleAction, Operator.MapFloatAction, Operator.MapIntegerAction, Operator.MapLongAction, Operator.MapVoidAction, Operator.NoBlockingAction, Operator.PathParser, Operator.StringComparator| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
HORIZONTAL_ORIENTATION_DPROP_VALUE
Identifier for a "HORIZONTAL" value of "orientation" property.
|
static java.lang.String |
IS_ONE_TOUCH_EXPANDABLE_DPROP
Identifier for a "one touch expendable" property.
|
static java.lang.String |
MAXIMUM_DPROP
Identifier for a "maximum" property.
|
static java.lang.String |
MINIMUM_DPROP
Identifier for a "minimum" property.
|
static java.lang.String |
ORIENTATION_DPROP
Identifier for a "orientation" property.
|
static java.lang.String |
VALUE_DPROP
Identifier for a "value" property.
|
static java.lang.String |
VERTICAL_ORIENTATION_DPROP_VALUE
Identifier for a "VERTICAL" value of "orientation" property.
|
A11Y_DATA, A11Y_DESCRIPTION_DPROP, A11Y_NAME_DPROP, TOOLTIP_TEXT_DPROPHEIGHT_DPROP, IS_SHOWING_DPROP, IS_VISIBLE_DPROP, NAME_DPROP, WIDTH_DPROP, X_DPROP, Y_DPROPCLASS_DPROP, TO_STRING_DPROP| Constructor and Description |
|---|
JSplitPaneOperator(ContainerOperator cont)
Constructor.
|
JSplitPaneOperator(ContainerOperator cont,
ComponentChooser chooser)
Constructs a JSplitPaneOperator object.
|
JSplitPaneOperator(ContainerOperator cont,
ComponentChooser chooser,
int index)
Constructs a JSplitPaneOperator object.
|
JSplitPaneOperator(ContainerOperator cont,
int index)
Constructor.
|
JSplitPaneOperator(javax.swing.JSplitPane b)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
copyEnvironment(Operator anotherOperator)
Copies all environment (output, timeouts,
visualizer) from another operator.
|
void |
expandLeft()
Pushes one time left(top) expand button.
|
void |
expandRight()
Pushes one time right(bottom) expand button.
|
javax.swing.plaf.basic.BasicSplitPaneDivider |
findDivider()
Searches divider inside split pane.
|
static javax.swing.JSplitPane |
findJSplitPane(java.awt.Container cont)
Searches 0'th JSplitPane in container.
|
static javax.swing.JSplitPane |
findJSplitPane(java.awt.Container cont,
ComponentChooser chooser)
Searches 0'th JSplitPane in container.
|
static javax.swing.JSplitPane |
findJSplitPane(java.awt.Container cont,
ComponentChooser chooser,
int index)
Searches JSplitPane in container.
|
static javax.swing.JSplitPane |
findJSplitPane(java.awt.Container cont,
int index)
Searches JSplitPane in container.
|
static javax.swing.JSplitPane |
findJSplitPaneUnder(java.awt.Component comp)
Searches JSplitPane object which component lies on.
|
static javax.swing.JSplitPane |
findJSplitPaneUnder(java.awt.Component comp,
ComponentChooser chooser)
Searches JSplitPane object which component lies on.
|
java.awt.Component |
getBottomComponent()
Maps
JSplitPane.getBottomComponent() through queue |
ContainerOperator |
getDivider()
Searches divider inside split pane.
|
int |
getDividerLocation()
Maps
JSplitPane.getDividerLocation() through queue |
int |
getDividerSize()
Maps
JSplitPane.getDividerSize() through queue |
java.util.Hashtable |
getDump()
Returns information about component.
|
int |
getLastDividerLocation()
Maps
JSplitPane.getLastDividerLocation() through queue |
java.awt.Component |
getLeftComponent()
Maps
JSplitPane.getLeftComponent() through queue |
int |
getMaximumDividerLocation()
Maps
JSplitPane.getMaximumDividerLocation() through queue |
int |
getMinimumDividerLocation()
Maps
JSplitPane.getMinimumDividerLocation() through queue |
int |
getOrientation()
Maps
JSplitPane.getOrientation() through queue |
TestOut |
getOutput()
Returns print output streams or writers.
|
java.awt.Component |
getRightComponent()
Maps
JSplitPane.getRightComponent() through queue |
Timeouts |
getTimeouts()
Return current timeouts.
|
java.awt.Component |
getTopComponent()
Maps
JSplitPane.getTopComponent() through queue |
javax.swing.plaf.SplitPaneUI |
getUI()
Maps
JSplitPane.getUI() through queue |
boolean |
isContinuousLayout()
Maps
JSplitPane.isContinuousLayout() through queue |
boolean |
isOneTouchExpandable()
Maps
JSplitPane.isOneTouchExpandable() through queue |
void |
moveDivider(double proportionalLocation)
Changes divider location.
|
void |
moveDivider(int dividerLocation)
Changes divider location.
|
void |
moveToMaximum()
Moves the divider all the way to the right/bottom.
|
void |
moveToMinimum()
Moves the divider all the way to the left/top.
|
void |
resetToPreferredSizes()
Maps
JSplitPane.resetToPreferredSizes() through queue |
void |
scrollTo(ScrollAdjuster adj)
Scrolls to the position defined by a ScrollAdjuster implementation.
|
void |
setBottomComponent(java.awt.Component component)
Maps
JSplitPane.setBottomComponent(Component) through queue |
void |
setContinuousLayout(boolean b)
Maps
JSplitPane.setContinuousLayout(boolean) through queue |
void |
setDividerLocation(double d)
Maps
JSplitPane.setDividerLocation(double) through queue |
void |
setDividerLocation(int i)
Maps
JSplitPane.setDividerLocation(int) through queue |
void |
setDividerSize(int i)
Maps
JSplitPane.setDividerSize(int) through queue |
void |
setLastDividerLocation(int i)
Maps
JSplitPane.setLastDividerLocation(int) through queue |
void |
setLeftComponent(java.awt.Component component)
Maps
JSplitPane.setLeftComponent(Component) through queue |
void |
setOneTouchExpandable(boolean b)
Maps
JSplitPane.setOneTouchExpandable(boolean) through queue |
void |
setOrientation(int i)
Maps
JSplitPane.setOrientation(int) through queue |
void |
setOutput(TestOut out)
Defines print output streams or writers.
|
void |
setRightComponent(java.awt.Component component)
Maps
JSplitPane.setRightComponent(Component) through queue |
void |
setTimeouts(Timeouts timeouts)
Defines current timeouts.
|
void |
setTopComponent(java.awt.Component component)
Maps
JSplitPane.setTopComponent(Component) through queue |
void |
setUI(javax.swing.plaf.SplitPaneUI splitPaneUI)
Maps
JSplitPane.setUI(SplitPaneUI) through queue |
static javax.swing.JSplitPane |
waitJSplitPane(java.awt.Container cont)
Waits 0'th JSplitPane in container.
|
static javax.swing.JSplitPane |
waitJSplitPane(java.awt.Container cont,
ComponentChooser chooser)
Waits 0'th JSplitPane in container.
|
static javax.swing.JSplitPane |
waitJSplitPane(java.awt.Container cont,
ComponentChooser chooser,
int index)
Waits JSplitPane in container.
|
static javax.swing.JSplitPane |
waitJSplitPane(java.awt.Container cont,
int index)
Waits JSplitPane in container.
|
addAncestorListener, addVetoableChangeListener, computeVisibleRect, createToolTip, findJComponent, findJComponent, findJComponent, findJComponent, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, getAccessibleContext, getActionForKeyStroke, getAutoscrolls, getBorder, getCenterXForClick, getCenterYForClick, getClientProperty, getConditionForKeyStroke, getDebugGraphicsOptions, getInsets, getNextFocusableComponent, getRegisteredKeyStrokes, getRootPane, getToolTipLocation, getToolTipText, getToolTipText, getTopLevelAncestor, getUIClassID, getVisibleRect, getWindowContainerOperator, grabFocus, isFocusCycleRoot, isManagingFocus, isOptimizedDrawingEnabled, isPaintingTile, isRequestFocusEnabled, isValidateRoot, paintImmediately, paintImmediately, putClientProperty, registerKeyboardAction, registerKeyboardAction, removeAncestorListener, removeVetoableChangeListener, repaint, requestDefaultFocus, resetKeyboardActions, revalidate, scrollRectToVisible, setAlignmentX, setAlignmentY, setAutoscrolls, setBorder, setDebugGraphicsOptions, setDoubleBuffered, setMaximumSize, setMinimumSize, setNextFocusableComponent, setOpaque, setPreferredSize, setRequestFocusEnabled, setToolTipText, showToolTip, unregisterKeyboardAction, updateUI, waitJComponent, waitJComponent, waitJComponent, waitJComponent, waitToolTipadd, add, add, add, add, addContainerListener, createSubOperator, createSubOperator, findComponentAt, findComponentAt, findContainer, findContainer, findContainer, findContainer, findContainerUnder, findContainerUnder, findSubComponent, findSubComponent, getComponent, getComponentCount, getComponents, getInsets, getLayout, isAncestorOf, paintComponents, printComponents, remove, remove, removeAll, removeContainerListener, setLayout, waitContainer, waitContainer, waitContainer, waitContainer, waitSubComponent, waitSubComponentactivateWindow, add, addComponentListener, addFocusListener, addInputMethodListener, addKeyListener, addMouseListener, addMouseMotionListener, addNotify, addPropertyChangeListener, addPropertyChangeListener, checkImage, checkImage, clickForPopup, clickForPopup, clickForPopup, clickForPopup, clickMouse, clickMouse, clickMouse, clickMouse, clickMouse, clickMouse, clickMouse, contains, contains, createImage, createImage, dispatchEvent, doLayout, dragMouse, dragMouse, dragMouse, dragNDrop, dragNDrop, dragNDrop, enableInputMethods, enterMouse, exitMouse, findComponent, findComponent, findComponents, getAlignmentX, getAlignmentY, getBackground, getBounds, getBounds, getCenterX, getCenterY, getColorModel, getComponentAt, getComponentAt, getComponentOrientation, getContainer, getContainers, getCursor, getDropTarget, getEventDispatcher, getFocus, getFont, getFontMetrics, getForeground, getGraphics, getHeight, getInputContext, getInputMethodRequests, getLocale, getLocation, getLocation, getLocationOnScreen, getMaximumSize, getMinimumSize, getName, getParent, getPreferredSize, getSize, getSize, getSource, getToolkit, getTreeLock, getWidth, getWindow, getX, getY, hasFocus, imageUpdate, invalidate, isDisplayable, isDoubleBuffered, isEnabled, isFocusTraversable, isLightweight, isOpaque, isShowing, isValid, isVisible, list, list, list, list, list, makeComponentVisible, moveMouse, paint, paintAll, prepareImage, prepareImage, pressKey, pressKey, pressMouse, pressMouse, print, printAll, pushKey, pushKey, releaseKey, releaseKey, releaseMouse, releaseMouse, remove, removeComponentListener, removeFocusListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removeNotify, removePropertyChangeListener, removePropertyChangeListener, repaint, repaint, repaint, repaint, requestFocus, setBackground, setBounds, setBounds, setComponentOrientation, setCursor, setDropTarget, setEnabled, setFont, setForeground, setLocale, setLocation, setLocation, setName, setSize, setSize, setVisible, transferFocus, typedKey, typeKey, typeKey, typeKey, update, validate, waitComponent, waitComponent, waitComponent, waitComponent, waitComponentEnabled, waitComponentShowing, waitComponentVisible, waitHasFocus, wtComponentEnabledaddOperatorPackage, addToDump, addToDump, createOperator, getCharBindingMap, getCharKey, getCharModifiers, getCharsKeys, getCharsKeys, getCharsModifiers, getCharsModifiers, getComparator, getDefaultComponentVisualizer, getDefaultMouseButton, getDefaultPathParser, getDefaultStringComparator, getDefaultVerification, getEnvironmentOperator, getParentPath, getParentPath, getPathParser, getPopupMouseButton, getProperties, getQueueTool, getVerification, getVisualizer, isCaptionEqual, isCaptionEqual, isCaptionEqual, lockQueue, parseString, parseString, printDump, produceNoBlocking, produceNoBlocking, produceTimeRestricted, produceTimeRestricted, runMapping, runMapping, runMapping, runMapping, runMapping, runMapping, runMapping, runMapping, runMapping, setCharBindingMap, setComparator, setDefaultComponentVisualizer, setDefaultPathParser, setDefaultStringComparator, setDefaultVerification, setPathParser, setProperties, setVerification, setVisualizer, toStringSource, unlockAndThrow, unlockQueue, waitStatepublic static final java.lang.String MINIMUM_DPROP
getDump(),
Constant Field Valuespublic static final java.lang.String MAXIMUM_DPROP
getDump(),
Constant Field Valuespublic static final java.lang.String VALUE_DPROP
getDump(),
Constant Field Valuespublic static final java.lang.String ORIENTATION_DPROP
getDump(),
Constant Field Valuespublic static final java.lang.String HORIZONTAL_ORIENTATION_DPROP_VALUE
getDump(),
Constant Field Valuespublic static final java.lang.String VERTICAL_ORIENTATION_DPROP_VALUE
getDump(),
Constant Field Valuespublic static final java.lang.String IS_ONE_TOUCH_EXPANDABLE_DPROP
getDump(),
Constant Field Valuespublic JSplitPaneOperator(javax.swing.JSplitPane b)
b - JSplitPane component.public JSplitPaneOperator(ContainerOperator cont, ComponentChooser chooser, int index)
cont - a containerchooser - a component chooser specifying searching criteria.index - an index between appropriate ones.public JSplitPaneOperator(ContainerOperator cont, ComponentChooser chooser)
cont - a containerchooser - a component chooser specifying searching criteria.public JSplitPaneOperator(ContainerOperator cont, int index)
cont - Operator pointing a container to search component in.index - Ordinal component index.TimeoutExpiredExceptionpublic JSplitPaneOperator(ContainerOperator cont)
cont - Operator pointing a container to search component in.TimeoutExpiredExceptionpublic static javax.swing.JSplitPane findJSplitPane(java.awt.Container cont,
ComponentChooser chooser,
int index)
cont - Container to search component in.chooser - org.netbeans.jemmy.ComponentChooser implementation.index - Ordinal component index.public static javax.swing.JSplitPane findJSplitPane(java.awt.Container cont,
ComponentChooser chooser)
cont - Container to search component in.chooser - org.netbeans.jemmy.ComponentChooser implementation.public static javax.swing.JSplitPane findJSplitPane(java.awt.Container cont,
int index)
cont - Container to search component in.index - Ordinal component index.public static javax.swing.JSplitPane findJSplitPane(java.awt.Container cont)
cont - Container to search component in.public static javax.swing.JSplitPane findJSplitPaneUnder(java.awt.Component comp,
ComponentChooser chooser)
comp - Component to find JSplitPane under.chooser - org.netbeans.jemmy.ComponentChooser implementation.public static javax.swing.JSplitPane findJSplitPaneUnder(java.awt.Component comp)
comp - Component to find JSplitPane under.public static javax.swing.JSplitPane waitJSplitPane(java.awt.Container cont,
ComponentChooser chooser,
int index)
cont - Container to search component in.chooser - org.netbeans.jemmy.ComponentChooser implementation.index - Ordinal component index.TimeoutExpiredExceptionpublic static javax.swing.JSplitPane waitJSplitPane(java.awt.Container cont,
ComponentChooser chooser)
cont - Container to search component in.chooser - org.netbeans.jemmy.ComponentChooser implementation.TimeoutExpiredExceptionpublic static javax.swing.JSplitPane waitJSplitPane(java.awt.Container cont,
int index)
cont - Container to search component in.index - Ordinal component index.TimeoutExpiredExceptionpublic static javax.swing.JSplitPane waitJSplitPane(java.awt.Container cont)
cont - Container to search component in.TimeoutExpiredExceptionpublic void setTimeouts(Timeouts timeouts)
TimeoutablesetTimeouts in interface TimeoutablesetTimeouts in class JComponentOperatortimeouts - A collection of timeout assignments.Timeoutable.getTimeouts()public Timeouts getTimeouts()
TimeoutablegetTimeouts in interface TimeoutablegetTimeouts in class JComponentOperatorTimeoutable.setTimeouts(org.netbeans.jemmy.Timeouts)public void setOutput(TestOut out)
OutputablesetOutput in interface OutputablesetOutput in class JComponentOperatorout - Identify the streams or writers used for print output.Outputable.getOutput()public TestOut getOutput()
OutputablegetOutput in interface OutputablegetOutput in class JComponentOperatorOutputable.setOutput(org.netbeans.jemmy.TestOut)public void copyEnvironment(Operator anotherOperator)
OperatorcopyEnvironment in class ComponentOperatoranotherOperator - an operator to copy the environment to.public javax.swing.plaf.basic.BasicSplitPaneDivider findDivider()
public ContainerOperator getDivider()
public void scrollTo(ScrollAdjuster adj)
adj - defines scrolling direction, and so on.TimeoutExpiredExceptionpublic void moveDivider(int dividerLocation)
dividerLocation - location to move divider to.public void moveDivider(double proportionalLocation)
proportionalLocation - Proportional location.
Should be great then 0 and less then 1.public void moveToMinimum()
public void moveToMaximum()
public void expandRight()
TimeoutExpiredExceptionpublic void expandLeft()
TimeoutExpiredExceptionpublic java.util.Hashtable getDump()
ComponentOperatorgetDump in class JComponentOperatorpublic java.awt.Component getBottomComponent()
JSplitPane.getBottomComponent() through queuepublic int getDividerLocation()
JSplitPane.getDividerLocation() through queuepublic int getDividerSize()
JSplitPane.getDividerSize() through queuepublic int getLastDividerLocation()
JSplitPane.getLastDividerLocation() through queuepublic java.awt.Component getLeftComponent()
JSplitPane.getLeftComponent() through queuepublic int getMaximumDividerLocation()
JSplitPane.getMaximumDividerLocation() through queuepublic int getMinimumDividerLocation()
JSplitPane.getMinimumDividerLocation() through queuepublic int getOrientation()
JSplitPane.getOrientation() through queuepublic java.awt.Component getRightComponent()
JSplitPane.getRightComponent() through queuepublic java.awt.Component getTopComponent()
JSplitPane.getTopComponent() through queuepublic javax.swing.plaf.SplitPaneUI getUI()
JSplitPane.getUI() through queuepublic boolean isContinuousLayout()
JSplitPane.isContinuousLayout() through queuepublic boolean isOneTouchExpandable()
JSplitPane.isOneTouchExpandable() through queuepublic void resetToPreferredSizes()
JSplitPane.resetToPreferredSizes() through queuepublic void setBottomComponent(java.awt.Component component)
JSplitPane.setBottomComponent(Component) through queuepublic void setContinuousLayout(boolean b)
JSplitPane.setContinuousLayout(boolean) through queuepublic void setDividerLocation(double d)
JSplitPane.setDividerLocation(double) through queuepublic void setDividerLocation(int i)
JSplitPane.setDividerLocation(int) through queuepublic void setDividerSize(int i)
JSplitPane.setDividerSize(int) through queuepublic void setLastDividerLocation(int i)
JSplitPane.setLastDividerLocation(int) through queuepublic void setLeftComponent(java.awt.Component component)
JSplitPane.setLeftComponent(Component) through queuepublic void setOneTouchExpandable(boolean b)
JSplitPane.setOneTouchExpandable(boolean) through queuepublic void setOrientation(int i)
JSplitPane.setOrientation(int) through queuepublic void setRightComponent(java.awt.Component component)
JSplitPane.setRightComponent(Component) through queuepublic void setTopComponent(java.awt.Component component)
JSplitPane.setTopComponent(Component) through queuepublic void setUI(javax.swing.plaf.SplitPaneUI splitPaneUI)
JSplitPane.setUI(SplitPaneUI) through queue