Package | Description |
---|---|
com.teamdev.jxbrowser.frame |
This package provides the classes that allow you to work with frames in browser.
|
Modifier and Type | Method and Description |
---|---|
static EditorCommand |
EditorCommand.backgroundColor(Color color)
Returns a command that allows setting the given background
color for the selected
text in a WYSIWYG editor. |
static EditorCommand |
EditorCommand.backgroundColor(java.lang.String colorName)
Returns a command that allows setting the given background
colorName for the selected
text in a WYSIWYG editor. |
static EditorCommand |
EditorCommand.bold()
Returns a command that allows making the selected text bold in a WYSIWYG editor.
|
static EditorCommand |
EditorCommand.copy()
Returns a command that allows copying the selected text in the frame.
|
static EditorCommand |
EditorCommand.createLink(java.lang.String url)
Returns a command that allows making the link to the specified
URL in a WYSIWYG
editor. |
static EditorCommand |
EditorCommand.cut()
Returns a command that allows cutting the selected text in a text field, text area or WYSIWYG
editor.
|
static EditorCommand |
EditorCommand.delete()
Returns a command that allows deleting the selected text in a text field, text area or
WYSIWYG editor.
|
static EditorCommand |
EditorCommand.deleteBackward()
Returns a command that allows deleting character before the caret position in a text field,
text area or WYSIWYG editor.
|
static EditorCommand |
EditorCommand.deleteForward()
Returns a command that allows deleting character after the caret position in a text field,
text area or WYSIWYG editor.
|
static EditorCommand |
EditorCommand.deleteToBeginningOfLine()
Returns a command that allows deleting character from the caret position to the beginning of
line in a text field, text area or WYSIWYG editor.
|
static EditorCommand |
EditorCommand.deleteWordBackward()
Returns a command that allows deleting a word before the caret position in a text field, text
area or WYSIWYG editor.
|
static EditorCommand |
EditorCommand.deleteWordForward()
Returns a command that allows deleting a word after the caret position in a text field, text
area or WYSIWYG editor.
|
static EditorCommand |
EditorCommand.findText(java.lang.String text)
Returns a command that allows searching for the given
text occurrence from the
current caret position in the frame. |
static EditorCommand |
EditorCommand.fontName(FontName fontName)
Returns a command that allows setting the given
fontName for the selected text in a
WYSIWYG editor. |
static EditorCommand |
EditorCommand.fontSize(AbsoluteFontSize fontSize)
Returns a command that allows setting the given
fontSize for the selected text in a
WYSIWYG editor. |
static EditorCommand |
EditorCommand.foregroundColor(Color color)
Returns a command that allows setting the given foreground
color for the selected
text in a WYSIWYG editor. |
static EditorCommand |
EditorCommand.foregroundColor(java.lang.String colorName)
Returns a command that allows setting the given foreground
colorName for the selected
text in a WYSIWYG editor. |
static EditorCommand |
EditorCommand.ignoreSpelling()
Returns a command that allows disabling the spelling mistakes highlighting in a text area or
a WYSIWYG editor.
|
static EditorCommand |
EditorCommand.indent()
Returns a command that allows making indent of the selected text in a WYSIWYG editor.
|
static EditorCommand |
EditorCommand.insertHtml(java.lang.String html)
Returns a command that allows inserting the given
html content in a WYSIWYG editor. |
static EditorCommand |
EditorCommand.insertImage(java.lang.String imageSrc)
Returns a command that allows inserting an image with the given
imageSrc in a WYSIWYG
editor. |
static EditorCommand |
EditorCommand.insertNewLine()
Returns a command that allows inserting a new line in a WYSIWYG editor.
|
static EditorCommand |
EditorCommand.insertOrderedList()
Returns a command that allows inserting an ordered list in a WYSIWYG editor.
|
static EditorCommand |
EditorCommand.insertParagraph()
Returns a command that allows inserting a paragraph in a WYSIWYG editor.
|
static EditorCommand |
EditorCommand.insertTab()
Returns a command that allows inserting a tab character in a WYSIWYG editor.
|
static EditorCommand |
EditorCommand.insertText(java.lang.String text)
Returns a command that allows inserting the given
text content in a WYSIWYG editor or
a text field. |
static EditorCommand |
EditorCommand.insertUnorderedList()
Returns a command that allows inserting an unordered list in a WYSIWYG editor.
|
static EditorCommand |
EditorCommand.italic()
Returns a command that allows making the selected text italic in a WYSIWYG editor.
|
static EditorCommand |
EditorCommand.justifyCenter()
Returns a command that allows center justification the selected text in a WYSIWYG editor.
|
static EditorCommand |
EditorCommand.justifyFull()
Returns a command that allows full justification the selected text in a WYSIWYG editor.
|
static EditorCommand |
EditorCommand.justifyLeft()
Returns a command that allows left justification the selected text in a WYSIWYG editor.
|
static EditorCommand |
EditorCommand.justifyRight()
Returns a command that allows right justification the selected text in a WYSIWYG editor.
|
static EditorCommand |
EditorCommand.movePageDown()
Returns a command that allows moving the caret position at one page down in a text area or a
WYSIWYG editor.
|
static EditorCommand |
EditorCommand.movePageUp()
Returns a command that allows moving the caret position at one page up in a text area or a
WYSIWYG editor.
|
static EditorCommand |
EditorCommand.moveToBeginningOfLine()
Returns a command that allows moving a word to the beginning of line in a text area or a
WYSIWYG editor.
|
static EditorCommand |
EditorCommand.moveToBeginningOfLineAndModifySelection()
Returns a command that allows moving a word to the beginning of line and modifying selection
in a text area or a WYSIWYG editor.
|
static EditorCommand |
EditorCommand.moveToEndOfLine()
Returns a command that allows moving a word to the end of line in a text area or a WYSIWYG
editor.
|
static EditorCommand |
EditorCommand.moveToEndOfLineAndModifySelection()
Returns a command that allows moving a word to the end of line and modifying selection in a
text area or a WYSIWYG editor.
|
static EditorCommand |
EditorCommand.moveWordLeft()
Returns a command that allows moving a word left in a text area or a WYSIWYG editor.
|
static EditorCommand |
EditorCommand.moveWordLeftAndModifySelection()
Returns a command that allows moving a word left and modifying selection in a text area or a
WYSIWYG editor.
|
static EditorCommand |
EditorCommand.moveWordRight()
Returns a command that allows moving a word right in a text area or a WYSIWYG editor.
|
static EditorCommand |
EditorCommand.moveWordRightAndModifySelection()
Returns a command that allows moving a word right and modifying selection in a text area or a
WYSIWYG editor.
|
static EditorCommand |
EditorCommand.outdent()
Returns a command that allows making outdent of the selected text in a WYSIWYG editor.
|
static EditorCommand |
EditorCommand.paste()
Returns a command that allows pasting content of the clipboard in a text field, text area or
a WYSIWYG editor.
|
static EditorCommand |
EditorCommand.redo()
Returns a command that allows reversing the last
undo() action. |
static EditorCommand |
EditorCommand.removeFormat()
Returns a command that allows removing all styles of the selected text (bold, italic, etc.)
in a WYSIWYG editor.
|
static EditorCommand |
EditorCommand.scrollLineDown()
Returns a command that allows scrolling one line down.
|
static EditorCommand |
EditorCommand.scrollLineUp()
Returns a command that allows scrolling one line up.
|
static EditorCommand |
EditorCommand.scrollPageBackward()
Returns a command that allows scrolling a page backward.
|
static EditorCommand |
EditorCommand.scrollPageForward()
Returns a command that allows scrolling a page forward.
|
static EditorCommand |
EditorCommand.scrollToBeginningOfDocument()
Returns a command that allows scrolling content to the beginning of the document in the
frame.
|
static EditorCommand |
EditorCommand.scrollToEndOfDocument()
Returns a command that allows scrolling content to the end of the document in the frame.
|
static EditorCommand |
EditorCommand.selectAll()
Returns a command that allows selecting all text in the frame or the currently focused text
field, text area or a WYSIWYG editor.
|
static EditorCommand |
EditorCommand.selectLine()
Returns a command that allows selecting a line at the caret position in a text area or a
WYSIWYG editor.
|
static EditorCommand |
EditorCommand.selectParagraph()
Returns a command that allows selecting the whole paragraph at the caret position in a text
area or a WYSIWYG editor.
|
static EditorCommand |
EditorCommand.selectSentence()
Returns a command that allows selecting the whole sentence at the caret position in a text
area or a WYSIWYG editor.
|
static EditorCommand |
EditorCommand.selectWord()
Returns a command that allows selecting the word at the caret position in a text field, text
area or a WYSIWYG editor.
|
static EditorCommand |
EditorCommand.strikethrough()
Returns a command that allows making the selected text strikethrough in a WYSIWYG editor.
|
static EditorCommand |
EditorCommand.subscript()
Returns a command that allows making the selected text subscript in a WYSIWYG editor.
|
static EditorCommand |
EditorCommand.superscript()
Returns a command that allows making the selected text superscript in a WYSIWYG editor.
|
static EditorCommand |
EditorCommand.toggleBold()
Returns a command that allows toggling bold style for the selected text in a WYSIWYG editor.
|
static EditorCommand |
EditorCommand.toggleItalic()
Returns a command that allows toggling italic style for the selected text in a WYSIWYG
editor.
|
static EditorCommand |
EditorCommand.toggleUnderline()
Returns a command that allows toggling underline style for the selected text in a WYSIWYG
editor.
|
static EditorCommand |
EditorCommand.underline()
Returns a command that allows underlying the selected text in a WYSIWYG editor.
|
static EditorCommand |
EditorCommand.undo()
Returns a command that allows reversing the last action.
|
static EditorCommand |
EditorCommand.unlink()
Returns a command that allows removing the link from the text in a WYSIWYG editor.
|
static EditorCommand |
EditorCommand.unselect()
Returns a command that allows clearing the current selection in a frame.
|
Modifier and Type | Method and Description |
---|---|
boolean |
Frame.execute(EditorCommand command)
Executes the given
command in the frame. |