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 String |
HORIZONTAL_ORIENTATION_DPROP_VALUE
Identifier for a "HORIZONTAL" value of "orientation" property.
|
static String |
IS_ONE_TOUCH_EXPANDABLE_DPROP
Identifier for a "one touch expendable" property.
|
static String |
MAXIMUM_DPROP
Identifier for a "maximum" property.
|
static String |
MINIMUM_DPROP
Identifier for a "minimum" property.
|
static String |
ORIENTATION_DPROP
Identifier for a "orientation" property.
|
static String |
VALUE_DPROP
Identifier for a "value" property.
|
static 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(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.
|
BasicSplitPaneDivider |
findDivider()
Searches divider inside split pane.
|
static JSplitPane |
findJSplitPane(Container cont)
Searches 0'th JSplitPane in container.
|
static JSplitPane |
findJSplitPane(Container cont,
ComponentChooser chooser)
Searches 0'th JSplitPane in container.
|
static JSplitPane |
findJSplitPane(Container cont,
ComponentChooser chooser,
int index)
Searches JSplitPane in container.
|
static JSplitPane |
findJSplitPane(Container cont,
int index)
Searches JSplitPane in container.
|
static JSplitPane |
findJSplitPaneUnder(Component comp)
Searches JSplitPane object which component lies on.
|
static JSplitPane |
findJSplitPaneUnder(Component comp,
ComponentChooser chooser)
Searches JSplitPane object which component lies on.
|
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 |
Hashtable |
getDump()
Returns information about component.
|
int |
getLastDividerLocation()
Maps
JSplitPane.getLastDividerLocation() through queue |
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.
|
Component |
getRightComponent()
Maps
JSplitPane.getRightComponent() through queue |
Timeouts |
getTimeouts()
Return current timeouts.
|
Component |
getTopComponent()
Maps
JSplitPane.getTopComponent() through queue |
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(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(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(Component component)
Maps
JSplitPane.setRightComponent(Component) through queue |
void |
setTimeouts(Timeouts timeouts)
Defines current timeouts.
|
void |
setTopComponent(Component component)
Maps
JSplitPane.setTopComponent(Component) through queue |
void |
setUI(SplitPaneUI splitPaneUI)
Maps
JSplitPane.setUI(SplitPaneUI) through queue |
static JSplitPane |
waitJSplitPane(Container cont)
Waits 0'th JSplitPane in container.
|
static JSplitPane |
waitJSplitPane(Container cont,
ComponentChooser chooser)
Waits 0'th JSplitPane in container.
|
static JSplitPane |
waitJSplitPane(Container cont,
ComponentChooser chooser,
int index)
Waits JSplitPane in container.
|
static JSplitPane |
waitJSplitPane(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, 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, 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 String MINIMUM_DPROP
getDump(),
Constant Field Valuespublic static final String MAXIMUM_DPROP
getDump(),
Constant Field Valuespublic static final String VALUE_DPROP
getDump(),
Constant Field Valuespublic static final String ORIENTATION_DPROP
getDump(),
Constant Field Valuespublic static final String HORIZONTAL_ORIENTATION_DPROP_VALUE
getDump(),
Constant Field Valuespublic static final String VERTICAL_ORIENTATION_DPROP_VALUE
getDump(),
Constant Field Valuespublic static final String IS_ONE_TOUCH_EXPANDABLE_DPROP
getDump(),
Constant Field Valuespublic JSplitPaneOperator(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 JSplitPane findJSplitPane(Container cont, ComponentChooser chooser, int index)
cont - Container to search component in.chooser - org.netbeans.jemmy.ComponentChooser implementation.index - Ordinal component index.public static JSplitPane findJSplitPane(Container cont, ComponentChooser chooser)
cont - Container to search component in.chooser - org.netbeans.jemmy.ComponentChooser implementation.public static JSplitPane findJSplitPane(Container cont, int index)
cont - Container to search component in.index - Ordinal component index.public static JSplitPane findJSplitPane(Container cont)
cont - Container to search component in.public static JSplitPane findJSplitPaneUnder(Component comp, ComponentChooser chooser)
comp - Component to find JSplitPane under.chooser - org.netbeans.jemmy.ComponentChooser implementation.public static JSplitPane findJSplitPaneUnder(Component comp)
comp - Component to find JSplitPane under.public static JSplitPane waitJSplitPane(Container cont, ComponentChooser chooser, int index)
cont - Container to search component in.chooser - org.netbeans.jemmy.ComponentChooser implementation.index - Ordinal component index.TimeoutExpiredExceptionpublic static JSplitPane waitJSplitPane(Container cont, ComponentChooser chooser)
cont - Container to search component in.chooser - org.netbeans.jemmy.ComponentChooser implementation.TimeoutExpiredExceptionpublic static JSplitPane waitJSplitPane(Container cont, int index)
cont - Container to search component in.index - Ordinal component index.TimeoutExpiredExceptionpublic static JSplitPane waitJSplitPane(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 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 Hashtable getDump()
ComponentOperatorgetDump in class JComponentOperatorpublic Component getBottomComponent()
JSplitPane.getBottomComponent() through queuepublic int getDividerLocation()
JSplitPane.getDividerLocation() through queuepublic int getDividerSize()
JSplitPane.getDividerSize() through queuepublic int getLastDividerLocation()
JSplitPane.getLastDividerLocation() through queuepublic Component getLeftComponent()
JSplitPane.getLeftComponent() through queuepublic int getMaximumDividerLocation()
JSplitPane.getMaximumDividerLocation() through queuepublic int getMinimumDividerLocation()
JSplitPane.getMinimumDividerLocation() through queuepublic int getOrientation()
JSplitPane.getOrientation() through queuepublic Component getRightComponent()
JSplitPane.getRightComponent() through queuepublic Component getTopComponent()
JSplitPane.getTopComponent() through queuepublic 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(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(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(Component component)
JSplitPane.setRightComponent(Component) through queuepublic void setTopComponent(Component component)
JSplitPane.setTopComponent(Component) through queuepublic void setUI(SplitPaneUI splitPaneUI)
JSplitPane.setUI(SplitPaneUI) through queue