Class JTextComponentOperator
java.lang.Object
org.netbeans.jemmy.operators.Operator
org.netbeans.jemmy.operators.ComponentOperator
org.netbeans.jemmy.operators.ContainerOperator
org.netbeans.jemmy.operators.JComponentOperator
org.netbeans.jemmy.operators.JTextComponentOperator
- All Implemented Interfaces:
Outputable, Timeoutable
- Direct Known Subclasses:
JEditorPaneOperator, JTextAreaOperator, JTextFieldOperator
Class provides basic functions to operate with JTextComponent
(selection, typing, deleting)
Timeouts used:
JTextComponentOperator.PushKeyTimeout - time between key pressing and releasing during text typing
JTextComponentOperator.BetweenKeysTimeout - time to sleep between two chars typing
JTextComponentOperator.ChangeCaretPositionTimeout - maximum time to chenge caret position
JTextComponentOperator.TypeTextTimeout - maximum time to type text
ComponentOperator.WaitComponentTimeout - time to wait component displayed
ComponentOperator.WaitFocusTimeout - time to wait component focus
ComponentOperator.WaitStateTimeout - time to wait for text
JScrollBarOperator.OneScrollClickTimeout - time for one scroll click
JScrollBarOperator.WholeScrollTimeout - time for the whole scrolling
.
Timeouts used:
JTextComponentOperator.PushKeyTimeout - time between key pressing and releasing during text typing
JTextComponentOperator.BetweenKeysTimeout - time to sleep between two chars typing
JTextComponentOperator.ChangeCaretPositionTimeout - maximum time to chenge caret position
JTextComponentOperator.TypeTextTimeout - maximum time to type text
ComponentOperator.WaitComponentTimeout - time to wait component displayed
ComponentOperator.WaitFocusTimeout - time to wait component focus
ComponentOperator.WaitStateTimeout - time to wait for text
JScrollBarOperator.OneScrollClickTimeout - time for one scroll click
JScrollBarOperator.WholeScrollTimeout - time for the whole scrolling
.
- Author:
- Alexandre Iline (alexandre.iline@sun.com)
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classAllows to find component by text.static classChecks component type.classCan be throught during a text operation if text has not been found in the component.static interfaceInterface defining additional text cearch criteria.Nested classes/interfaces inherited from class JComponentOperator
JComponentOperator.JComponentByTipFinder, JComponentOperator.JComponentFinderNested classes/interfaces inherited from class ContainerOperator
ContainerOperator.ContainerFinderNested classes/interfaces inherited from class Operator
Operator.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 -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringIdentifier for a "editable" property.protected intDeprecated.All text operations are performed by TextDriver regitered for this operator type.static final StringIdentifier for a "selected text" property.static final StringIdentifier for a "text" property.Fields inherited from class JComponentOperator
A11Y_DATA, A11Y_DESCRIPTION_DPROP, A11Y_NAME_DPROP, TOOLTIP_TEXT_DPROPFields inherited from class ComponentOperator
HEIGHT_DPROP, IS_SHOWING_DPROP, IS_VISIBLE_DPROP, NAME_DPROP, WIDTH_DPROP, X_DPROP, Y_DPROPFields inherited from class Operator
CLASS_DPROP, TO_STRING_DPROP -
Constructor Summary
ConstructorsConstructorDescriptionConstructor.Constructor.JTextComponentOperator(ContainerOperator cont, int index) Constructor.JTextComponentOperator(ContainerOperator cont, String text) Constructor.JTextComponentOperator(ContainerOperator cont, String text, int index) Constructor.JTextComponentOperator(ContainerOperator cont, ComponentChooser chooser) Constructs a JTextComponentOperator object.JTextComponentOperator(ContainerOperator cont, ComponentChooser chooser, int index) Constructs a JTextComponentOperator object. -
Method Summary
Modifier and TypeMethodDescriptionvoidaddCaretListener(CaretListener caretListener) MapsJTextComponent.addCaretListener(CaretListener)through queuevoidchangeCaretPosition(int position) Changes caret position.voidchangeCaretPosition(String text, boolean before) Puts caret before or after text.voidchangeCaretPosition(String text, int index, boolean before) Puts caret before or after text.voidClears text.voidcopy()MapsJTextComponent.copy()through queuevoidcopyEnvironment(Operator anotherOperator) Copies all environment (output, timeouts, visualizer) from another operator.voidcut()MapsJTextComponent.cut()through queuevoidRequests a focus, clears text, types new one and pushes Enter.static JTextComponentfindJTextComponent(Container cont, String text, boolean ce, boolean ccs) Searches JTextComponent by text.static JTextComponentfindJTextComponent(Container cont, String text, boolean ce, boolean ccs, int index) Searches JTextComponent by text.static JTextComponentfindJTextComponent(Container cont, ComponentChooser chooser) Searches JTextComponent in container.static JTextComponentfindJTextComponent(Container cont, ComponentChooser chooser, int index) Searches JTextComponent in container.Action[]MapsJTextComponent.getActions()through queuegetCaret()MapsJTextComponent.getCaret()through queueMapsJTextComponent.getCaretColor()through queueintMapsJTextComponent.getCaretPosition()through queueMapsJTextComponent.getDisabledTextColor()through queueReturns text which is really displayed.MapsJTextComponent.getDocument()through queuegetDump()Returns information about component.charMapsJTextComponent.getFocusAccelerator()through queueMapsJTextComponent.getHighlighter()through queueMapsJTextComponent.getKeymap()through queueMapsJTextComponent.getMargin()through queueReturns print output streams or writers.intgetPositionByText(String text) Finds start text position.intgetPositionByText(String text, int index) Finds start text position.intgetPositionByText(String text, JTextComponentOperator.TextChooser tChooser) Finds start text position.intgetPositionByText(String text, JTextComponentOperator.TextChooser tChooser, int index) Finds start text position.MapsJTextComponent.getPreferredScrollableViewportSize()through queueintgetScrollableBlockIncrement(Rectangle rectangle, int i, int i1) MapsJTextComponent.getScrollableBlockIncrement(Rectangle, int, int)through queuebooleanMapsJTextComponent.getScrollableTracksViewportHeight()through queuebooleanMapsJTextComponent.getScrollableTracksViewportWidth()through queueintgetScrollableUnitIncrement(Rectangle rectangle, int i, int i1) MapsJTextComponent.getScrollableUnitIncrement(Rectangle, int, int)through queueMapsJTextComponent.getSelectedText()through queueMapsJTextComponent.getSelectedTextColor()through queueMapsJTextComponent.getSelectionColor()through queueintMapsJTextComponent.getSelectionEnd()through queueintMapsJTextComponent.getSelectionStart()through queuegetText()MapsJTextComponent.getText()through queuegetText(int i, int i1) MapsJTextComponent.getText(int, int)through queueReturn current timeouts.getUI()MapsJTextComponent.getUI()through queuebooleanMapsJTextComponent.isEditable()through queuemodelToView(int i) MapsJTextComponent.modelToView(int)through queuevoidmoveCaretPosition(int i) MapsJTextComponent.moveCaretPosition(int)through queuevoidpaste()MapsJTextComponent.paste()through queuevoidMapsJTextComponent.read(Reader, Object)through queuevoidremoveCaretListener(CaretListener caretListener) MapsJTextComponent.removeCaretListener(CaretListener)through queuevoidreplaceSelection(String string) MapsJTextComponent.replaceSelection(String)through queuevoidscrollToPosition(int position) Scrolls to a text poistion.voidselect(int i, int i1) MapsJTextComponent.select(int, int)through queuevoidMapsJTextComponent.selectAll()through queuevoidselectText(int startPosition, int finalPosition) Selects a part of text.voidselectText(String text) Selects a part of text.voidselectText(String text, int index) Selects a part of text.voidMapsJTextComponent.setCaret(Caret)through queuevoidsetCaretColor(Color color) MapsJTextComponent.setCaretColor(Color)through queuevoidsetCaretPosition(int i) MapsJTextComponent.setCaretPosition(int)through queuevoidsetDisabledTextColor(Color color) MapsJTextComponent.setDisabledTextColor(Color)through queuevoidsetDocument(Document document) MapsJTextComponent.setDocument(Document)through queuevoidsetEditable(boolean b) MapsJTextComponent.setEditable(boolean)through queuevoidsetFocusAccelerator(char c) MapsJTextComponent.setFocusAccelerator(char)through queuevoidsetHighlighter(Highlighter highlighter) MapsJTextComponent.setHighlighter(Highlighter)through queuevoidMapsJTextComponent.setKeymap(Keymap)through queuevoidMapsJTextComponent.setMargin(Insets)through queuevoid/////////////////////////////////////////////////////voidsetSelectedTextColor(Color color) MapsJTextComponent.setSelectedTextColor(Color)through queuevoidsetSelectionColor(Color color) MapsJTextComponent.setSelectionColor(Color)through queuevoidsetSelectionEnd(int i) MapsJTextComponent.setSelectionEnd(int)through queuevoidsetSelectionStart(int i) MapsJTextComponent.setSelectionStart(int)through queuevoidMapsJTextComponent.setText(String)through queuevoidsetTimeouts(Timeouts times) Defines current timeouts.voidMapsJTextComponent.setUI(TextUI)through queuevoidTypes text starting from the current position.voidTypes text starting from known position.intviewToModel(Point point) MapsJTextComponent.viewToModel(Point)through queuevoidwaitCaretPosition(int position) Wait for caret to be moved to certain position.static JTextComponentwaitJTextComponent(Container cont, String text, boolean ce, boolean ccs) Waits JTextComponent by text.static JTextComponentwaitJTextComponent(Container cont, String text, boolean ce, boolean ccs, int index) Waits JTextComponent by text.static JTextComponentwaitJTextComponent(Container cont, ComponentChooser chooser) Waits JTextComponent in container.static JTextComponentwaitJTextComponent(Container cont, ComponentChooser chooser, int index) Waits JTextComponent in container.voidWaits for certain text.voidWait for text to be displayed starting from certain position.voidMapsJTextComponent.write(Writer)through queueMethods inherited from class JComponentOperator
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, waitToolTipMethods inherited from class ContainerOperator
add, 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, waitSubComponentMethods inherited from class ComponentOperator
activateWindow, 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, wtComponentEnabledMethods inherited from class Operator
addOperatorPackage, 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, waitState
-
Field Details
-
TEXT_DPROP
-
SELECTED_TEXT_DPROP
-
IS_EDITABLE_DPROP
-
modifiersPressed
protected int modifiersPressedDeprecated.All text operations are performed by TextDriver regitered for this operator type.Notifies what modifiers are pressed.
-
-
Constructor Details
-
JTextComponentOperator
Constructor.- Parameters:
b- Component to operate with.
-
JTextComponentOperator
Constructs a JTextComponentOperator object.- Parameters:
cont- a containerchooser- a component chooser specifying searching criteria.index- an index between appropriate ones.
-
JTextComponentOperator
Constructs a JTextComponentOperator object.- Parameters:
cont- a containerchooser- a component chooser specifying searching criteria.
-
JTextComponentOperator
Constructor. Waits component in container first. Uses cont's timeout and output for waiting and to init operator.- Parameters:
cont- a containertext- Button text.index- Ordinal component index.- Throws:
TimeoutExpiredException- See Also:
-
JTextComponentOperator
Constructor. Waits component in container first. Uses cont's timeout and output for waiting and to init operator.- Parameters:
cont- a containertext- Button text.- Throws:
TimeoutExpiredException- See Also:
-
JTextComponentOperator
Constructor. Waits component in container first. Uses cont's timeout and output for waiting and to init operator.- Parameters:
cont- a containerindex- Ordinal component index.- Throws:
TimeoutExpiredException
-
JTextComponentOperator
Constructor. Waits component in container first. Uses cont's timeout and output for waiting and to init operator.- Parameters:
cont- a container- Throws:
TimeoutExpiredException
-
-
Method Details
-
findJTextComponent
public static JTextComponent findJTextComponent(Container cont, ComponentChooser chooser, int index) Searches JTextComponent in container.- Parameters:
cont- Container to search component in.chooser- a component chooser specifying searching criteria.index- Ordinal component index.- Returns:
- JTextComponent instance or null if component was not found.
-
findJTextComponent
Searches JTextComponent in container.- Parameters:
cont- Container to search component in.chooser- a component chooser specifying searching criteria.- Returns:
- JTextComponent instance or null if component was not found.
-
findJTextComponent
public static JTextComponent findJTextComponent(Container cont, String text, boolean ce, boolean ccs, int index) Searches JTextComponent by text.- Parameters:
cont- Container to search component in.text- Component text.ce- Compare text exactly.ccs- Compare text case sensitively.index- Ordinal component index.- Returns:
- JTextComponent instance or null if component was not found.
- See Also:
-
findJTextComponent
public static JTextComponent findJTextComponent(Container cont, String text, boolean ce, boolean ccs) Searches JTextComponent by text.- Parameters:
cont- Container to search component in.text- Component text.ce- Compare text exactly.ccs- Compare text case sensitively.- Returns:
- JTextComponent instance or null if component was not found.
- See Also:
-
waitJTextComponent
public static JTextComponent waitJTextComponent(Container cont, ComponentChooser chooser, int index) Waits JTextComponent in container.- Parameters:
cont- Container to search component in.chooser- a component chooser specifying searching criteria.index- Ordinal component index.- Returns:
- JTextComponent instance.
- Throws:
TimeoutExpiredException
-
waitJTextComponent
Waits JTextComponent in container.- Parameters:
cont- Container to search component in.chooser- a component chooser specifying searching criteria.- Returns:
- JTextComponent instance.
- Throws:
TimeoutExpiredException
-
waitJTextComponent
public static JTextComponent waitJTextComponent(Container cont, String text, boolean ce, boolean ccs, int index) Waits JTextComponent by text.- Parameters:
cont- Container to search component in.text- Component text.ce- Compare text exactly.ccs- Compare text case sensitively.index- Ordinal component index.- Returns:
- JTextComponent instance.
- Throws:
TimeoutExpiredException- See Also:
-
waitJTextComponent
public static JTextComponent waitJTextComponent(Container cont, String text, boolean ce, boolean ccs) Waits JTextComponent by text.- Parameters:
cont- Container to search component in.text- Component text.ce- Compare text exactly.ccs- Compare text case sensitively.- Returns:
- JTextComponent instance.
- Throws:
TimeoutExpiredException- See Also:
-
setTimeouts
Description copied from interface:TimeoutableDefines current timeouts.- Specified by:
setTimeoutsin interfaceTimeoutable- Overrides:
setTimeoutsin classJComponentOperator- Parameters:
times- A collection of timeout assignments.- See Also:
-
getTimeouts
Description copied from interface:TimeoutableReturn current timeouts.- Specified by:
getTimeoutsin interfaceTimeoutable- Overrides:
getTimeoutsin classJComponentOperator- Returns:
- the collection of current timeout assignments.
- See Also:
-
setOutput
Description copied from class:ComponentOperator/////////////////////////////////////////////////////- Specified by:
setOutputin interfaceOutputable- Overrides:
setOutputin classJComponentOperator- Parameters:
out- Identify the streams or writers used for print output.- See Also:
-
getOutput
Description copied from interface:OutputableReturns print output streams or writers.- Specified by:
getOutputin interfaceOutputable- Overrides:
getOutputin classJComponentOperator- Returns:
- an object that contains references to objects for printing to output and err streams.
- See Also:
-
copyEnvironment
Description copied from class:OperatorCopies all environment (output, timeouts, visualizer) from another operator.- Overrides:
copyEnvironmentin classComponentOperator- Parameters:
anotherOperator- an operator to copy the environment to.
-
getPositionByText
Finds start text position.- Parameters:
text- Text to be searched.tChooser- Additional search criteria.index- Index of text instance (first instance has index 0)- Returns:
- Caret position correspondent to text start.
- See Also:
-
getPositionByText
Finds start text position.- Parameters:
text- Text to be searched.tChooser- Additional search criteria.- Returns:
- Caret position correspondent to text start.
-
getPositionByText
Finds start text position.- Parameters:
text- Text to be searched.index- Index of text instance (first instance has index 0)- Returns:
- Caret position correspondent to text start.
-
getPositionByText
Finds start text position.- Parameters:
text- Text to be searched.- Returns:
- Caret position correspondent to text start.
-
enterText
Requests a focus, clears text, types new one and pushes Enter.- Parameters:
text- New text value. Shouln't include final '\n'.- Throws:
TimeoutExpiredException
-
changeCaretPosition
public void changeCaretPosition(int position) Changes caret position.- Parameters:
position- Position to move caret to.- Throws:
TimeoutExpiredException- See Also:
-
changeCaretPosition
Puts caret before or after text.- Parameters:
text- Text to be searched.index- Index of text instance (first instance has index 0)before- If true put caret before text, otherwise after.- Throws:
TimeoutExpiredExceptionJTextComponentOperator.NoSuchTextException- See Also:
-
changeCaretPosition
Puts caret before or after text.- Parameters:
text- Text to be searched.before- If true put caret before text, otherwise after.- Throws:
TimeoutExpiredExceptionJTextComponentOperator.NoSuchTextException- See Also:
-
typeText
Types text starting from known position. If verification mode is on, checks that right text has been typed and caret has been moved to right position.- Parameters:
text- Text to be typed.caretPosition- Position to start type text- Throws:
TimeoutExpiredExceptionJTextComponentOperator.NoSuchTextException- See Also:
-
typeText
Types text starting from the current position.- Parameters:
text- Text to be typed.- Throws:
TimeoutExpiredException- See Also:
-
selectText
public void selectText(int startPosition, int finalPosition) Selects a part of text.- Parameters:
startPosition- Start caret positionfinalPosition- Final caret position- Throws:
TimeoutExpiredException- See Also:
-
selectText
Selects a part of text.- Parameters:
text- Text to be selectedindex- Index of text instance (first instance has index 0)- Throws:
TimeoutExpiredExceptionJTextComponentOperator.NoSuchTextException- See Also:
-
selectText
Selects a part of text.- Parameters:
text- Text to be selected- Throws:
TimeoutExpiredExceptionJTextComponentOperator.NoSuchTextException- See Also:
-
clearText
-
scrollToPosition
public void scrollToPosition(int position) Scrolls to a text poistion.- Parameters:
position- a position to scroll.- Throws:
TimeoutExpiredException
-
getDisplayedText
Returns text which is really displayed. Results returned bygetText()andgetDisplayedText()are different if text component is used to displayjavax.swing.text.StyledDocument- Returns:
- the text which is displayed.
-
waitText
Wait for text to be displayed starting from certain position.- Parameters:
text- text to wait.position- starting text position.
-
waitText
Waits for certain text.- Parameters:
text- Text to be compared by getComparator() comparator.
-
waitCaretPosition
public void waitCaretPosition(int position) Wait for caret to be moved to certain position.- Parameters:
position- a position which caret supposed to be moved to.
-
getDump
Description copied from class:ComponentOperatorReturns information about component.- Overrides:
getDumpin classJComponentOperator- Returns:
- a Hashtable containing name-value pairs.
-
addCaretListener
MapsJTextComponent.addCaretListener(CaretListener)through queue -
copy
public void copy()MapsJTextComponent.copy()through queue -
cut
public void cut()MapsJTextComponent.cut()through queue -
getActions
MapsJTextComponent.getActions()through queue -
getCaret
MapsJTextComponent.getCaret()through queue -
getCaretColor
MapsJTextComponent.getCaretColor()through queue -
getCaretPosition
public int getCaretPosition()MapsJTextComponent.getCaretPosition()through queue -
getDisabledTextColor
MapsJTextComponent.getDisabledTextColor()through queue -
getDocument
MapsJTextComponent.getDocument()through queue -
getFocusAccelerator
public char getFocusAccelerator()MapsJTextComponent.getFocusAccelerator()through queue -
getHighlighter
MapsJTextComponent.getHighlighter()through queue -
getKeymap
MapsJTextComponent.getKeymap()through queue -
getMargin
MapsJTextComponent.getMargin()through queue -
getPreferredScrollableViewportSize
MapsJTextComponent.getPreferredScrollableViewportSize()through queue -
getScrollableBlockIncrement
MapsJTextComponent.getScrollableBlockIncrement(Rectangle, int, int)through queue -
getScrollableTracksViewportHeight
public boolean getScrollableTracksViewportHeight()MapsJTextComponent.getScrollableTracksViewportHeight()through queue -
getScrollableTracksViewportWidth
public boolean getScrollableTracksViewportWidth()MapsJTextComponent.getScrollableTracksViewportWidth()through queue -
getScrollableUnitIncrement
MapsJTextComponent.getScrollableUnitIncrement(Rectangle, int, int)through queue -
getSelectedText
MapsJTextComponent.getSelectedText()through queue -
getSelectedTextColor
MapsJTextComponent.getSelectedTextColor()through queue -
getSelectionColor
MapsJTextComponent.getSelectionColor()through queue -
getSelectionEnd
public int getSelectionEnd()MapsJTextComponent.getSelectionEnd()through queue -
getSelectionStart
public int getSelectionStart()MapsJTextComponent.getSelectionStart()through queue -
getText
MapsJTextComponent.getText()through queue -
getText
MapsJTextComponent.getText(int, int)through queue -
getUI
MapsJTextComponent.getUI()through queue -
isEditable
public boolean isEditable()MapsJTextComponent.isEditable()through queue -
modelToView
MapsJTextComponent.modelToView(int)through queue -
moveCaretPosition
public void moveCaretPosition(int i) MapsJTextComponent.moveCaretPosition(int)through queue -
paste
public void paste()MapsJTextComponent.paste()through queue -
read
-
removeCaretListener
MapsJTextComponent.removeCaretListener(CaretListener)through queue -
replaceSelection
MapsJTextComponent.replaceSelection(String)through queue -
select
public void select(int i, int i1) MapsJTextComponent.select(int, int)through queue -
selectAll
public void selectAll()MapsJTextComponent.selectAll()through queue -
setCaret
MapsJTextComponent.setCaret(Caret)through queue -
setCaretColor
MapsJTextComponent.setCaretColor(Color)through queue -
setCaretPosition
public void setCaretPosition(int i) MapsJTextComponent.setCaretPosition(int)through queue -
setDisabledTextColor
MapsJTextComponent.setDisabledTextColor(Color)through queue -
setDocument
MapsJTextComponent.setDocument(Document)through queue -
setEditable
public void setEditable(boolean b) MapsJTextComponent.setEditable(boolean)through queue -
setFocusAccelerator
public void setFocusAccelerator(char c) MapsJTextComponent.setFocusAccelerator(char)through queue -
setHighlighter
MapsJTextComponent.setHighlighter(Highlighter)through queue -
setKeymap
MapsJTextComponent.setKeymap(Keymap)through queue -
setMargin
MapsJTextComponent.setMargin(Insets)through queue -
setSelectedTextColor
MapsJTextComponent.setSelectedTextColor(Color)through queue -
setSelectionColor
MapsJTextComponent.setSelectionColor(Color)through queue -
setSelectionEnd
public void setSelectionEnd(int i) MapsJTextComponent.setSelectionEnd(int)through queue -
setSelectionStart
public void setSelectionStart(int i) MapsJTextComponent.setSelectionStart(int)through queue -
setText
MapsJTextComponent.setText(String)through queue -
setUI
MapsJTextComponent.setUI(TextUI)through queue -
viewToModel
MapsJTextComponent.viewToModel(Point)through queue -
write
MapsJTextComponent.write(Writer)through queue
-