javax.swing.text
115 classes of the module java.desktop.
Load them with:
using {
"javax.swing.text"
}
AbstractDocument#
abstract · extends Object · javax.swing.text.AbstractDocument
Implements: TextDocument, Serializable
Fields
| Name | Type | Access | In Ring |
|---|---|---|---|
ParagraphElementName | String | constant · static | o.ParagraphElementName |
ContentElementName | String | constant · static | o.ContentElementName |
SectionElementName | String | constant · static | o.SectionElementName |
BidiElementName | String | constant · static | o.BidiElementName |
ElementNameAttribute | String | constant · static | o.ElementNameAttribute |
StreamDescriptionProperty | String | constant · static | o.StreamDescriptionProperty |
TitleProperty | String | constant · static | o.TitleProperty |
Methods
| Method | Ring call | Java overloads |
|---|---|---|
addDocumentListener | addDocumentListener(listener) | void addDocumentListener(DocumentListener listener) |
addUndoableEditListener | addUndoableEditListener(listener) | void addUndoableEditListener(UndoableEditListener listener) |
createPosition | createPosition(offs) | Position createPosition(int offs) |
dump | dump(out) | void dump(PrintStream out) |
getAsynchronousLoadPriority | getAsynchronousLoadPriority() | int getAsynchronousLoadPriority() |
getBidiRootElement | getBidiRootElement() | Element getBidiRootElement() |
getDefaultRootElement | getDefaultRootElement() | Element getDefaultRootElement() |
getDocumentFilter | getDocumentFilter() | DocumentFilter getDocumentFilter() |
getDocumentListeners | getDocumentListeners() | DocumentListener[] getDocumentListeners() |
getDocumentProperties | getDocumentProperties() | Dictionary getDocumentProperties() |
getEndPosition | getEndPosition() | Position getEndPosition() |
getLength | getLength() | int getLength() |
getListeners | getListeners(listenerType) | EventListener[] getListeners(Class listenerType) |
getParagraphElement | getParagraphElement(pos) | Element getParagraphElement(int pos) |
getProperty | getProperty(key) | Object getProperty(Object key) |
getRootElements | getRootElements() | Element[] getRootElements() |
getStartPosition | getStartPosition() | Position getStartPosition() |
getText | getText([offset,length])getText([ :offset = v, :length = v ])getText([offset,length,txt])getText([ :offset = v, :length = v, :txt = v ]) | String getText(int offset, int length)void getText(int offset, int length, Segment txt) |
getUndoableEditListeners | getUndoableEditListeners() | UndoableEditListener[] getUndoableEditListeners() |
insertString | insertString(offs,str,a) | void insertString(int offs, String str, AttributeSet a) |
putProperty | putProperty(key,value) | void putProperty(Object key, Object value) |
readLock | readLock() | void readLock() |
readUnlock | readUnlock() | void readUnlock() |
remove | remove(offs,len) | void remove(int offs, int len) |
removeDocumentListener | removeDocumentListener(listener) | void removeDocumentListener(DocumentListener listener) |
removeUndoableEditListener | removeUndoableEditListener(listener) | void removeUndoableEditListener(UndoableEditListener listener) |
render | render(r) | void render(Runnable r) |
replace | replace(offset,length,text,attrs) | void replace(int offset, int length, String text, AttributeSet attrs) |
setAsynchronousLoadPriority | setAsynchronousLoadPriority(p) | void setAsynchronousLoadPriority(int p) |
setDocumentFilter | setDocumentFilter(filter) | void setDocumentFilter(DocumentFilter filter) |
setDocumentProperties | setDocumentProperties(x) | void setDocumentProperties(Dictionary x) |
The methods and fields of Object are inherited.
AbstractDocumentAbstractElement#
abstract · extends Object · javax.swing.text.AbstractDocument$AbstractElement
Implements: TextElement, MutableAttributeSet, Serializable, TreeNode
Fields
| Name | Type | Access | In Ring |
|---|---|---|---|
NameAttribute | Object | constant · static | o.NameAttribute |
ResolveAttribute | Object | constant · static | o.ResolveAttribute |
Methods
| Method | Ring call | Java overloads |
|---|---|---|
addAttribute | addAttribute(name,value) | void addAttribute(Object name, Object value) |
addAttributes | addAttributes(attr) | void addAttributes(AttributeSet attr) |
children | children() | Enumeration children() |
containsAttribute | containsAttribute(name,value) | boolean containsAttribute(Object name, Object value) |
containsAttributes | containsAttributes(attrs) | boolean containsAttributes(AttributeSet attrs) |
copyAttributes | copyAttributes() | AttributeSet copyAttributes() |
dump | dump(psOut,indentAmount) | void dump(PrintStream psOut, int indentAmount) |
getAllowsChildren | getAllowsChildren() | boolean getAllowsChildren() |
getAttribute | getAttribute(attrName) | Object getAttribute(Object attrName) |
getAttributeCount | getAttributeCount() | int getAttributeCount() |
getAttributeNames | getAttributeNames() | Enumeration getAttributeNames() |
getAttributes | getAttributes() | AttributeSet getAttributes() |
getChildAt | getChildAt(childIndex) | TreeNode getChildAt(int childIndex) |
getChildCount | getChildCount() | int getChildCount() |
getDocument | getDocument() | Document getDocument() |
getElement | getElement(index) | Element getElement(int index) |
getElementCount | getElementCount() | int getElementCount() |
getElementIndex | getElementIndex(offset) | int getElementIndex(int offset) |
getEndOffset | getEndOffset() | int getEndOffset() |
getIndex | getIndex(node) | int getIndex(TreeNode node) |
getName | getName() | String getName() |
getParent | getParent() | TreeNode getParent() |
getParentElement | getParentElement() | Element getParentElement() |
getResolveParent | getResolveParent() | AttributeSet getResolveParent() |
getStartOffset | getStartOffset() | int getStartOffset() |
isDefined | isDefined(attrName) | boolean isDefined(Object attrName) |
isEqual | isEqual(attr) | boolean isEqual(AttributeSet attr) |
isLeaf | isLeaf() | boolean isLeaf() |
removeAttribute | removeAttribute(name) | void removeAttribute(Object name) |
removeAttributes | removeAttributes(attrs) | void removeAttributes(AttributeSet attrs)void removeAttributes(Enumeration names) |
setResolveParent | setResolveParent(parent) | void setResolveParent(AttributeSet parent) |
The methods and fields of Object are inherited.
AbstractDocumentAttributeContext#
interface · javax.swing.text.AbstractDocument$AttributeContext
Methods
| Method | Ring call | Java overloads |
|---|---|---|
addAttribute | addAttribute(old,name,value) | AttributeSet addAttribute(AttributeSet old, Object name, Object value) |
addAttributes | addAttributes(old,attr) | AttributeSet addAttributes(AttributeSet old, AttributeSet attr) |
getEmptySet | getEmptySet() | AttributeSet getEmptySet() |
reclaim | reclaim(a) | void reclaim(AttributeSet a) |
removeAttribute | removeAttribute(old,name) | AttributeSet removeAttribute(AttributeSet old, Object name) |
removeAttributes | removeAttributes(old,attrs) | AttributeSet removeAttributes(AttributeSet old, AttributeSet attrs)AttributeSet removeAttributes(AttributeSet old, Enumeration names) |
AbstractDocumentBranchElement#
class · extends AbstractDocumentAbstractElement · javax.swing.text.AbstractDocument$BranchElement
Constructors
new AbstractDocumentBranchElement(AbstractDocument p1, Element p2, AttributeSet p3) |
Ring: new AbstractDocumentBranchElement(args) uses the constructor with the fewest parameters (at least one); new AbstractDocumentBranchElement makes the object with the constructor without parameters; the others: (new AbstractDocumentBranchElement).@New([ :param = value ]) or .@New([v1,v2]).
Methods
| Method | Ring call | Java overloads |
|---|---|---|
positionToElement | positionToElement(pos) | Element positionToElement(int pos) |
replace | replace(offset,length,elems) | void replace(int offset, int length, Element[] elems) |
The methods and fields of AbstractDocumentAbstractElement are inherited.
AbstractDocumentContent#
interface · javax.swing.text.AbstractDocument$Content
Methods
| Method | Ring call | Java overloads |
|---|---|---|
createPosition | createPosition(offset) | Position createPosition(int offset) |
getChars | getChars(where,len,txt) | void getChars(int where, int len, Segment txt) |
getString | getString(where,len) | String getString(int where, int len) |
insertString | insertString(where,str) | UndoableEdit insertString(int where, String str) |
length | length() | int length() |
remove | remove(where,nitems) | UndoableEdit remove(int where, int nitems) |
AbstractDocumentDefaultDocumentEvent#
class · extends CompoundEdit · javax.swing.text.AbstractDocument$DefaultDocumentEvent
Implements: EventDocumentEvent
Constructors
new AbstractDocumentDefaultDocumentEvent(AbstractDocument p1, int p2, int p3, EventType p4) |
Ring: new AbstractDocumentDefaultDocumentEvent(args) uses the constructor with the fewest parameters (at least one); new AbstractDocumentDefaultDocumentEvent makes the object with the constructor without parameters; the others: (new AbstractDocumentDefaultDocumentEvent).@New([ :param = value ]) or .@New([v1,v2]).
Methods
| Method | Ring call | Java overloads |
|---|---|---|
getChange | getChange(elem) | ElementChange getChange(Element elem) |
getDocument | getDocument() | Document getDocument() |
getLength | getLength() | int getLength() |
getOffset | getOffset() | int getOffset() |
getType | getType() | EventType getType() |
The methods and fields of CompoundEdit are inherited.
AbstractDocumentElementEdit#
class · extends AbstractUndoableEdit · javax.swing.text.AbstractDocument$ElementEdit
Implements: DocumentEventElementChange
Constructors
new AbstractDocumentElementEdit(Element e, int index, Element[] removed, Element[] added) |
Ring: new AbstractDocumentElementEdit(args) uses the constructor with the fewest parameters (at least one); new AbstractDocumentElementEdit makes the object with the constructor without parameters; the others: (new AbstractDocumentElementEdit).@New([ :param = value ]) or .@New([v1,v2]).
Methods
| Method | Ring call | Java overloads |
|---|---|---|
getChildrenAdded | getChildrenAdded() | Element[] getChildrenAdded() |
getChildrenRemoved | getChildrenRemoved() | Element[] getChildrenRemoved() |
getElement | getElement() | Element getElement() |
getIndex | getIndex() | int getIndex() |
The methods and fields of AbstractUndoableEdit are inherited.
AbstractDocumentLeafElement#
class · extends AbstractDocumentAbstractElement · javax.swing.text.AbstractDocument$LeafElement
Constructors
new AbstractDocumentLeafElement(AbstractDocument p1, Element p2, AttributeSet p3, int p4, int p5) |
Ring: new AbstractDocumentLeafElement(args) uses the constructor with the fewest parameters (at least one); new AbstractDocumentLeafElement makes the object with the constructor without parameters; the others: (new AbstractDocumentLeafElement).@New([ :param = value ]) or .@New([v1,v2]).
The methods and fields of AbstractDocumentAbstractElement are inherited.
AbstractWriter#
abstract · extends Object · javax.swing.text.AbstractWriter
Methods
| Method | Ring call | Java overloads |
|---|---|---|
getEndOffset | getEndOffset() | int getEndOffset() |
getLineSeparator | getLineSeparator() | String getLineSeparator() |
getStartOffset | getStartOffset() | int getStartOffset() |
setLineSeparator | setLineSeparator(value) | void setLineSeparator(String value) |
The methods and fields of Object are inherited.
AsyncBoxView#
class · extends View · javax.swing.text.AsyncBoxView
Constructors
new AsyncBoxView(Element elem, int axis) |
Ring: new AsyncBoxView(args) uses the constructor with the fewest parameters (at least one); new AsyncBoxView makes the object with the constructor without parameters; the others: (new AsyncBoxView).@New([ :param = value ]) or .@New([v1,v2]).
Methods
| Method | Ring call | Java overloads |
|---|---|---|
getBottomInset | getBottomInset() | float getBottomInset() |
getLeftInset | getLeftInset() | float getLeftInset() |
getMajorAxis | getMajorAxis() | int getMajorAxis() |
getMinorAxis | getMinorAxis() | int getMinorAxis() |
getRightInset | getRightInset() | float getRightInset() |
getTopInset | getTopInset() | float getTopInset() |
setBottomInset | setBottomInset(i) | void setBottomInset(float i) |
setLeftInset | setLeftInset(i) | void setLeftInset(float i) |
setRightInset | setRightInset(i) | void setRightInset(float i) |
setTopInset | setTopInset(i) | void setTopInset(float i) |
The methods and fields of View are inherited.
AsyncBoxViewChildLocator#
class · extends Object · javax.swing.text.AsyncBoxView$ChildLocator
Constructors
new AsyncBoxViewChildLocator(AsyncBoxView p1) |
Ring: new AsyncBoxViewChildLocator(args) uses the constructor with the fewest parameters (at least one); new AsyncBoxViewChildLocator makes the object with the constructor without parameters; the others: (new AsyncBoxViewChildLocator).@New([ :param = value ]) or .@New([v1,v2]).
Methods
| Method | Ring call | Java overloads |
|---|---|---|
childChanged | childChanged(cs) | void childChanged(ChildState cs) |
getChildAllocation | getChildAllocation(index,a) | Shape getChildAllocation(int index, Shape a) |
getViewIndexAtPoint | getViewIndexAtPoint(x,y,a) | int getViewIndexAtPoint(float x, float y, Shape a) |
paintChildren | paintChildren(g) | void paintChildren(Graphics g) |
The methods and fields of Object are inherited.
AsyncBoxViewChildState#
class · extends Object · javax.swing.text.AsyncBoxView$ChildState
Implements: Runnable
Constructors
new AsyncBoxViewChildState(AsyncBoxView p1, View p2) |
Ring: new AsyncBoxViewChildState(args) uses the constructor with the fewest parameters (at least one); new AsyncBoxViewChildState makes the object with the constructor without parameters; the others: (new AsyncBoxViewChildState).@New([ :param = value ]) or .@New([v1,v2]).
Methods
| Method | Ring call | Java overloads |
|---|---|---|
getChildView | getChildView() | View getChildView() |
getMajorOffset | getMajorOffset() | float getMajorOffset() |
getMajorSpan | getMajorSpan() | float getMajorSpan() |
getMinorOffset | getMinorOffset() | float getMinorOffset() |
getMinorSpan | getMinorSpan() | float getMinorSpan() |
isLayoutValid | isLayoutValid() | boolean isLayoutValid() |
preferenceChanged | preferenceChanged(width,height) | void preferenceChanged(boolean width, boolean height) |
run | run() | void run() |
setMajorOffset | setMajorOffset(offs) | void setMajorOffset(float offs) |
The methods and fields of Object are inherited.
AttributeSetCharacterAttribute#
interface · javax.swing.text.AttributeSet$CharacterAttribute
AttributeSetColorAttribute#
interface · javax.swing.text.AttributeSet$ColorAttribute
AttributeSetFontAttribute#
interface · javax.swing.text.AttributeSet$FontAttribute
AttributeSetParagraphAttribute#
interface · javax.swing.text.AttributeSet$ParagraphAttribute
BadLocationException#
class · extends Exception · javax.swing.text.BadLocationException
Constructors
new BadLocationException(String s, int offs) |
Ring: new BadLocationException(args) uses the constructor with the fewest parameters (at least one); new BadLocationException makes the object with the constructor without parameters; the others: (new BadLocationException).@New([ :param = value ]) or .@New([v1,v2]).
Methods
| Method | Ring call | Java overloads |
|---|---|---|
offsetRequested | offsetRequested() | int offsetRequested() |
The methods and fields of Exception are inherited.
BoxView#
class · extends CompositeView · javax.swing.text.BoxView
Constructors
new BoxView(Element elem, int axis) |
Ring: new BoxView(args) uses the constructor with the fewest parameters (at least one); new BoxView makes the object with the constructor without parameters; the others: (new BoxView).@New([ :param = value ]) or .@New([v1,v2]).
Methods
| Method | Ring call | Java overloads |
|---|---|---|
getAxis | getAxis() | int getAxis() |
getHeight | getHeight() | int getHeight() |
getWidth | getWidth() | int getWidth() |
layoutChanged | layoutChanged(axis) | void layoutChanged(int axis) |
setAxis | setAxis(axis) | void setAxis(int axis) |
The methods and fields of CompositeView are inherited.
Caret#
interface · javax.swing.text.Caret
Methods
| Method | Ring call | Java overloads |
|---|---|---|
addChangeListener | addChangeListener(l) | void addChangeListener(ChangeListener l) |
deinstall | deinstall(c) | void deinstall(JTextComponent c) |
getBlinkRate | getBlinkRate() | int getBlinkRate() |
getDot | getDot() | int getDot() |
getMagicCaretPosition | getMagicCaretPosition() | Point getMagicCaretPosition() |
getMark | getMark() | int getMark() |
install | install(c) | void install(JTextComponent c) |
isSelectionVisible | isSelectionVisible() | boolean isSelectionVisible() |
isVisible | isVisible() | boolean isVisible() |
moveDot | moveDot(dot) | void moveDot(int dot) |
paint | paint(g) | void paint(Graphics g) |
removeChangeListener | removeChangeListener(l) | void removeChangeListener(ChangeListener l) |
setBlinkRate | setBlinkRate(rate) | void setBlinkRate(int rate) |
setDot | setDot(dot) | void setDot(int dot) |
setMagicCaretPosition | setMagicCaretPosition(p) | void setMagicCaretPosition(Point p) |
setSelectionVisible | setSelectionVisible(v) | void setSelectionVisible(boolean v) |
setVisible | setVisible(v) | void setVisible(boolean v) |
ChangedCharSetException#
class · extends IOException · javax.swing.text.ChangedCharSetException
Constructors
new ChangedCharSetException(String charSetSpec, boolean charSetKey) |
Ring: new ChangedCharSetException(args) uses the constructor with the fewest parameters (at least one); new ChangedCharSetException makes the object with the constructor without parameters; the others: (new ChangedCharSetException).@New([ :param = value ]) or .@New([v1,v2]).
Methods
| Method | Ring call | Java overloads |
|---|---|---|
getCharSetSpec | getCharSetSpec() | String getCharSetSpec() |
keyEqualsCharSet | keyEqualsCharSet() | boolean keyEqualsCharSet() |
The methods and fields of IOException are inherited.
ComponentView#
class · extends View · javax.swing.text.ComponentView
Constructors
new ComponentView(Element elem) |
Ring: new ComponentView(args) uses the constructor with the fewest parameters (at least one); new ComponentView makes the object with the constructor without parameters; the others: (new ComponentView).@New([ :param = value ]) or .@New([v1,v2]).
Methods
| Method | Ring call | Java overloads |
|---|---|---|
getComponent | getComponent() | Component getComponent() |
The methods and fields of View are inherited.
CompositeView#
abstract · extends View · javax.swing.text.CompositeView
The methods and fields of View are inherited.
DateFormatter#
class · extends InternationalFormatter · javax.swing.text.DateFormatter
Constructors
new DateFormatter() |
new DateFormatter(DateFormat format) |
Ring: new DateFormatter(args) uses the constructor with the fewest parameters (at least one); new DateFormatter makes the object with the constructor without parameters; the others: (new DateFormatter).@New([ :param = value ]) or .@New([v1,v2]).
The methods and fields of InternationalFormatter are inherited.
DefaultCaret#
class · extends Rectangle · javax.swing.text.DefaultCaret
Implements: Caret, FocusListener, MouseListener, MouseMotionListener
Constructors
new DefaultCaret() |
Ring: new DefaultCaret(args) uses the constructor with the fewest parameters (at least one); new DefaultCaret makes the object with the constructor without parameters; the others: (new DefaultCaret).@New([ :param = value ]) or .@New([v1,v2]).
Fields
| Name | Type | Access | In Ring |
|---|---|---|---|
UPDATE_WHEN_ON_EDT | int | constant · static | o.UPDATE_WHEN_ON_EDT |
NEVER_UPDATE | int | constant · static | o.NEVER_UPDATE |
ALWAYS_UPDATE | int | constant · static | o.ALWAYS_UPDATE |
Methods
| Method | Ring call | Java overloads |
|---|---|---|
addChangeListener | addChangeListener(l) | void addChangeListener(ChangeListener l) |
deinstall | deinstall(c) | void deinstall(JTextComponent c) |
focusGained | focusGained(e) | void focusGained(FocusEvent e) |
focusLost | focusLost(e) | void focusLost(FocusEvent e) |
getBlinkRate | getBlinkRate() | int getBlinkRate() |
getChangeListeners | getChangeListeners() | ChangeListener[] getChangeListeners() |
getDot | getDot() | int getDot() |
getDotBias | getDotBias() | Bias getDotBias() |
getListeners | getListeners(listenerType) | EventListener[] getListeners(Class listenerType) |
getMagicCaretPosition | getMagicCaretPosition() | Point getMagicCaretPosition() |
getMark | getMark() | int getMark() |
getMarkBias | getMarkBias() | Bias getMarkBias() |
getUpdatePolicy | getUpdatePolicy() | int getUpdatePolicy() |
install | install(c) | void install(JTextComponent c) |
isActive | isActive() | boolean isActive() |
isSelectionVisible | isSelectionVisible() | boolean isSelectionVisible() |
isVisible | isVisible() | boolean isVisible() |
mouseClicked | mouseClicked(e) | void mouseClicked(MouseEvent e) |
mouseDragged | mouseDragged(e) | void mouseDragged(MouseEvent e) |
mouseEntered | mouseEntered(e) | void mouseEntered(MouseEvent e) |
mouseExited | mouseExited(e) | void mouseExited(MouseEvent e) |
mouseMoved | mouseMoved(e) | void mouseMoved(MouseEvent e) |
mousePressed | mousePressed(e) | void mousePressed(MouseEvent e) |
mouseReleased | mouseReleased(e) | void mouseReleased(MouseEvent e) |
moveDot | moveDot(dot)moveDot([dot,dotBias])moveDot([ :dot = v, :dotBias = v ]) | void moveDot(int dot)void moveDot(int dot, Bias dotBias) |
paint | paint(g) | void paint(Graphics g) |
removeChangeListener | removeChangeListener(l) | void removeChangeListener(ChangeListener l) |
setBlinkRate | setBlinkRate(rate) | void setBlinkRate(int rate) |
setDot | setDot(dot)setDot([dot,dotBias])setDot([ :dot = v, :dotBias = v ]) | void setDot(int dot)void setDot(int dot, Bias dotBias) |
setMagicCaretPosition | setMagicCaretPosition(p) | void setMagicCaretPosition(Point p) |
setSelectionVisible | setSelectionVisible(vis) | void setSelectionVisible(boolean vis) |
setUpdatePolicy | setUpdatePolicy(policy) | void setUpdatePolicy(int policy) |
setVisible | setVisible(e) | void setVisible(boolean e) |
The methods and fields of Rectangle are inherited.
DefaultEditorKit#
class · extends EditorKit · javax.swing.text.DefaultEditorKit
Constructors
new DefaultEditorKit() |
Ring: new DefaultEditorKit(args) uses the constructor with the fewest parameters (at least one); new DefaultEditorKit makes the object with the constructor without parameters; the others: (new DefaultEditorKit).@New([ :param = value ]) or .@New([v1,v2]).
Fields
| Name | Type | Access | In Ring |
|---|---|---|---|
EndOfLineStringProperty | String | constant · static | o.EndOfLineStringProperty |
insertContentAction | String | constant · static | o.insertContentAction |
insertBreakAction | String | constant · static | o.insertBreakAction |
insertTabAction | String | constant · static | o.insertTabAction |
deletePrevCharAction | String | constant · static | o.deletePrevCharAction |
deleteNextCharAction | String | constant · static | o.deleteNextCharAction |
deleteNextWordAction | String | constant · static | o.deleteNextWordAction |
deletePrevWordAction | String | constant · static | o.deletePrevWordAction |
readOnlyAction | String | constant · static | o.readOnlyAction |
writableAction | String | constant · static | o.writableAction |
cutAction | String | constant · static | o.cutAction |
copyAction | String | constant · static | o.copyAction |
pasteAction | String | constant · static | o.pasteAction |
beepAction | String | constant · static | o.beepAction |
pageUpAction | String | constant · static | o.pageUpAction |
pageDownAction | String | constant · static | o.pageDownAction |
forwardAction | String | constant · static | o.forwardAction |
backwardAction | String | constant · static | o.backwardAction |
selectionForwardAction | String | constant · static | o.selectionForwardAction |
selectionBackwardAction | String | constant · static | o.selectionBackwardAction |
upAction | String | constant · static | o.upAction |
downAction | String | constant · static | o.downAction |
selectionUpAction | String | constant · static | o.selectionUpAction |
selectionDownAction | String | constant · static | o.selectionDownAction |
beginWordAction | String | constant · static | o.beginWordAction |
endWordAction | String | constant · static | o.endWordAction |
selectionBeginWordAction | String | constant · static | o.selectionBeginWordAction |
selectionEndWordAction | String | constant · static | o.selectionEndWordAction |
previousWordAction | String | constant · static | o.previousWordAction |
nextWordAction | String | constant · static | o.nextWordAction |
selectionPreviousWordAction | String | constant · static | o.selectionPreviousWordAction |
selectionNextWordAction | String | constant · static | o.selectionNextWordAction |
beginLineAction | String | constant · static | o.beginLineAction |
endLineAction | String | constant · static | o.endLineAction |
beginLineUpAction | String | constant · static | o.beginLineUpAction |
endLineDownAction | String | constant · static | o.endLineDownAction |
selectionBeginLineAction | String | constant · static | o.selectionBeginLineAction |
selectionEndLineAction | String | constant · static | o.selectionEndLineAction |
beginParagraphAction | String | constant · static | o.beginParagraphAction |
endParagraphAction | String | constant · static | o.endParagraphAction |
selectionBeginParagraphAction | String | constant · static | o.selectionBeginParagraphAction |
selectionEndParagraphAction | String | constant · static | o.selectionEndParagraphAction |
beginAction | String | constant · static | o.beginAction |
endAction | String | constant · static | o.endAction |
selectionBeginAction | String | constant · static | o.selectionBeginAction |
selectionEndAction | String | constant · static | o.selectionEndAction |
selectWordAction | String | constant · static | o.selectWordAction |
selectLineAction | String | constant · static | o.selectLineAction |
selectParagraphAction | String | constant · static | o.selectParagraphAction |
selectAllAction | String | constant · static | o.selectAllAction |
defaultKeyTypedAction | String | constant · static | o.defaultKeyTypedAction |
The methods and fields of EditorKit are inherited.
DefaultEditorKitBeepAction#
class · extends TextAction · javax.swing.text.DefaultEditorKit$BeepAction
Constructors
new DefaultEditorKitBeepAction() |
Ring: new DefaultEditorKitBeepAction(args) uses the constructor with the fewest parameters (at least one); new DefaultEditorKitBeepAction makes the object with the constructor without parameters; the others: (new DefaultEditorKitBeepAction).@New([ :param = value ]) or .@New([v1,v2]).
The methods and fields of TextAction are inherited.
DefaultEditorKitCopyAction#
class · extends TextAction · javax.swing.text.DefaultEditorKit$CopyAction
Constructors
new DefaultEditorKitCopyAction() |
Ring: new DefaultEditorKitCopyAction(args) uses the constructor with the fewest parameters (at least one); new DefaultEditorKitCopyAction makes the object with the constructor without parameters; the others: (new DefaultEditorKitCopyAction).@New([ :param = value ]) or .@New([v1,v2]).
The methods and fields of TextAction are inherited.
DefaultEditorKitCutAction#
class · extends TextAction · javax.swing.text.DefaultEditorKit$CutAction
Constructors
new DefaultEditorKitCutAction() |
Ring: new DefaultEditorKitCutAction(args) uses the constructor with the fewest parameters (at least one); new DefaultEditorKitCutAction makes the object with the constructor without parameters; the others: (new DefaultEditorKitCutAction).@New([ :param = value ]) or .@New([v1,v2]).
The methods and fields of TextAction are inherited.
DefaultEditorKitDefaultKeyTypedAction#
class · extends TextAction · javax.swing.text.DefaultEditorKit$DefaultKeyTypedAction
Constructors
new DefaultEditorKitDefaultKeyTypedAction() |
Ring: new DefaultEditorKitDefaultKeyTypedAction(args) uses the constructor with the fewest parameters (at least one); new DefaultEditorKitDefaultKeyTypedAction makes the object with the constructor without parameters; the others: (new DefaultEditorKitDefaultKeyTypedAction).@New([ :param = value ]) or .@New([v1,v2]).
The methods and fields of TextAction are inherited.
DefaultEditorKitInsertBreakAction#
class · extends TextAction · javax.swing.text.DefaultEditorKit$InsertBreakAction
Constructors
new DefaultEditorKitInsertBreakAction() |
Ring: new DefaultEditorKitInsertBreakAction(args) uses the constructor with the fewest parameters (at least one); new DefaultEditorKitInsertBreakAction makes the object with the constructor without parameters; the others: (new DefaultEditorKitInsertBreakAction).@New([ :param = value ]) or .@New([v1,v2]).
The methods and fields of TextAction are inherited.
DefaultEditorKitInsertContentAction#
class · extends TextAction · javax.swing.text.DefaultEditorKit$InsertContentAction
Constructors
new DefaultEditorKitInsertContentAction() |
Ring: new DefaultEditorKitInsertContentAction(args) uses the constructor with the fewest parameters (at least one); new DefaultEditorKitInsertContentAction makes the object with the constructor without parameters; the others: (new DefaultEditorKitInsertContentAction).@New([ :param = value ]) or .@New([v1,v2]).
The methods and fields of TextAction are inherited.
DefaultEditorKitInsertTabAction#
class · extends TextAction · javax.swing.text.DefaultEditorKit$InsertTabAction
Constructors
new DefaultEditorKitInsertTabAction() |
Ring: new DefaultEditorKitInsertTabAction(args) uses the constructor with the fewest parameters (at least one); new DefaultEditorKitInsertTabAction makes the object with the constructor without parameters; the others: (new DefaultEditorKitInsertTabAction).@New([ :param = value ]) or .@New([v1,v2]).
The methods and fields of TextAction are inherited.
DefaultEditorKitPasteAction#
class · extends TextAction · javax.swing.text.DefaultEditorKit$PasteAction
Constructors
new DefaultEditorKitPasteAction() |
Ring: new DefaultEditorKitPasteAction(args) uses the constructor with the fewest parameters (at least one); new DefaultEditorKitPasteAction makes the object with the constructor without parameters; the others: (new DefaultEditorKitPasteAction).@New([ :param = value ]) or .@New([v1,v2]).
The methods and fields of TextAction are inherited.
DefaultFormatter#
class · extends JFormattedTextFieldAbstractFormatter · javax.swing.text.DefaultFormatter
Implements: Cloneable, Serializable
Constructors
new DefaultFormatter() |
Ring: new DefaultFormatter(args) uses the constructor with the fewest parameters (at least one); new DefaultFormatter makes the object with the constructor without parameters; the others: (new DefaultFormatter).@New([ :param = value ]) or .@New([v1,v2]).
Methods
| Method | Ring call | Java overloads |
|---|---|---|
clone | clone() | Object clone() |
getAllowsInvalid | getAllowsInvalid() | boolean getAllowsInvalid() |
getCommitsOnValidEdit | getCommitsOnValidEdit() | boolean getCommitsOnValidEdit() |
getOverwriteMode | getOverwriteMode() | boolean getOverwriteMode() |
getValueClass | getValueClass() | Class getValueClass() |
setAllowsInvalid | setAllowsInvalid(allowsInvalid) | void setAllowsInvalid(boolean allowsInvalid) |
setCommitsOnValidEdit | setCommitsOnValidEdit(commit) | void setCommitsOnValidEdit(boolean commit) |
setOverwriteMode | setOverwriteMode(overwriteMode) | void setOverwriteMode(boolean overwriteMode) |
setValueClass | setValueClass(valueClass) | void setValueClass(Class valueClass) |
The methods and fields of JFormattedTextFieldAbstractFormatter are inherited.
DefaultFormatterFactory#
class · extends JFormattedTextFieldAbstractFormatterFactory · javax.swing.text.DefaultFormatterFactory
Implements: Serializable
Constructors
new DefaultFormatterFactory() |
new DefaultFormatterFactory(AbstractFormatter defaultFormat) |
new DefaultFormatterFactory(AbstractFormatter defaultFormat, AbstractFormatter displayFormat) |
new DefaultFormatterFactory(AbstractFormatter defaultFormat, AbstractFormatter displayFormat, AbstractFormatter editFormat) |
new DefaultFormatterFactory(AbstractFormatter defaultFormat, AbstractFormatter displayFormat, AbstractFormatter editFormat, AbstractFormatter nullFormat) |
Ring: new DefaultFormatterFactory(args) uses the constructor with the fewest parameters (at least one); new DefaultFormatterFactory makes the object with the constructor without parameters; the others: (new DefaultFormatterFactory).@New([ :param = value ]) or .@New([v1,v2]).
Methods
| Method | Ring call | Java overloads |
|---|---|---|
getDefaultFormatter | getDefaultFormatter() | AbstractFormatter getDefaultFormatter() |
getDisplayFormatter | getDisplayFormatter() | AbstractFormatter getDisplayFormatter() |
getEditFormatter | getEditFormatter() | AbstractFormatter getEditFormatter() |
getNullFormatter | getNullFormatter() | AbstractFormatter getNullFormatter() |
setDefaultFormatter | setDefaultFormatter(atf) | void setDefaultFormatter(AbstractFormatter atf) |
setDisplayFormatter | setDisplayFormatter(atf) | void setDisplayFormatter(AbstractFormatter atf) |
setEditFormatter | setEditFormatter(atf) | void setEditFormatter(AbstractFormatter atf) |
setNullFormatter | setNullFormatter(atf) | void setNullFormatter(AbstractFormatter atf) |
The methods and fields of JFormattedTextFieldAbstractFormatterFactory are inherited.
DefaultHighlighter#
class · extends LayeredHighlighter · javax.swing.text.DefaultHighlighter
Constructors
new DefaultHighlighter() |
Ring: new DefaultHighlighter(args) uses the constructor with the fewest parameters (at least one); new DefaultHighlighter makes the object with the constructor without parameters; the others: (new DefaultHighlighter).@New([ :param = value ]) or .@New([v1,v2]).
Fields
| Name | Type | Access | In Ring |
|---|---|---|---|
DefaultPainter | LayerPainter | constant · static | o.DefaultPainter |
Methods
| Method | Ring call | Java overloads |
|---|---|---|
getDrawsLayeredHighlights | getDrawsLayeredHighlights() | boolean getDrawsLayeredHighlights() |
setDrawsLayeredHighlights | setDrawsLayeredHighlights(newValue) | void setDrawsLayeredHighlights(boolean newValue) |
The methods and fields of LayeredHighlighter are inherited.
DefaultHighlighterDefaultHighlightPainter#
class · extends LayeredHighlighterLayerPainter · javax.swing.text.DefaultHighlighter$DefaultHighlightPainter
Constructors
new DefaultHighlighterDefaultHighlightPainter(Color c) |
Ring: new DefaultHighlighterDefaultHighlightPainter(args) uses the constructor with the fewest parameters (at least one); new DefaultHighlighterDefaultHighlightPainter makes the object with the constructor without parameters; the others: (new DefaultHighlighterDefaultHighlightPainter).@New([ :param = value ]) or .@New([v1,v2]).
Methods
| Method | Ring call | Java overloads |
|---|---|---|
getColor | getColor() | Color getColor() |
The methods and fields of LayeredHighlighterLayerPainter are inherited.
DefaultStyledDocument#
class · extends AbstractDocument · javax.swing.text.DefaultStyledDocument
Implements: StyledDocument
Constructors
new DefaultStyledDocument() |
new DefaultStyledDocument(StyleContext styles) |
new DefaultStyledDocument(Content c, StyleContext styles) |
Ring: new DefaultStyledDocument(args) uses the constructor with the fewest parameters (at least one); new DefaultStyledDocument makes the object with the constructor without parameters; the others: (new DefaultStyledDocument).@New([ :param = value ]) or .@New([v1,v2]).
Fields
| Name | Type | Access | In Ring |
|---|---|---|---|
BUFFER_SIZE_DEFAULT | int | constant · static | o.BUFFER_SIZE_DEFAULT |
Methods
| Method | Ring call | Java overloads |
|---|---|---|
addStyle | addStyle(nm,parent) | Style addStyle(String nm, Style parent) |
getBackground | getBackground(attr) | Color getBackground(AttributeSet attr) |
getCharacterElement | getCharacterElement(pos) | Element getCharacterElement(int pos) |
getFont | getFont(attr) | Font getFont(AttributeSet attr) |
getForeground | getForeground(attr) | Color getForeground(AttributeSet attr) |
getLogicalStyle | getLogicalStyle(p) | Style getLogicalStyle(int p) |
getStyle | getStyle(nm) | Style getStyle(String nm) |
getStyleNames | getStyleNames() | Enumeration getStyleNames() |
removeElement | removeElement(elem) | void removeElement(Element elem) |
removeStyle | removeStyle(nm) | void removeStyle(String nm) |
setCharacterAttributes | setCharacterAttributes(offset,length,s,replace) | void setCharacterAttributes(int offset, int length, AttributeSet s, boolean replace) |
setLogicalStyle | setLogicalStyle(pos,s) | void setLogicalStyle(int pos, Style s) |
setParagraphAttributes | setParagraphAttributes(offset,length,s,replace) | void setParagraphAttributes(int offset, int length, AttributeSet s, boolean replace) |
The methods and fields of AbstractDocument are inherited.
DefaultStyledDocumentAttributeUndoableEdit#
class · extends AbstractUndoableEdit · javax.swing.text.DefaultStyledDocument$AttributeUndoableEdit
Constructors
new DefaultStyledDocumentAttributeUndoableEdit(Element element, AttributeSet newAttributes, boolean isReplacing) |
Ring: new DefaultStyledDocumentAttributeUndoableEdit(args) uses the constructor with the fewest parameters (at least one); new DefaultStyledDocumentAttributeUndoableEdit makes the object with the constructor without parameters; the others: (new DefaultStyledDocumentAttributeUndoableEdit).@New([ :param = value ]) or .@New([v1,v2]).
The methods and fields of AbstractUndoableEdit are inherited.
DefaultStyledDocumentElementBuffer#
class · extends Object · javax.swing.text.DefaultStyledDocument$ElementBuffer
Implements: Serializable
Constructors
new DefaultStyledDocumentElementBuffer(DefaultStyledDocument p1, Element p2) |
Ring: new DefaultStyledDocumentElementBuffer(args) uses the constructor with the fewest parameters (at least one); new DefaultStyledDocumentElementBuffer makes the object with the constructor without parameters; the others: (new DefaultStyledDocumentElementBuffer).@New([ :param = value ]) or .@New([v1,v2]).
Methods
| Method | Ring call | Java overloads |
|---|---|---|
change | change(offset,length,de) | void change(int offset, int length, DefaultDocumentEvent de) |
clone | clone(parent,clonee) | Element clone(Element parent, Element clonee) |
getRootElement | getRootElement() | Element getRootElement() |
insert | insert(offset,length,data,de) | void insert(int offset, int length, ElementSpec[] data, DefaultDocumentEvent de) |
remove | remove(offset,length,de) | void remove(int offset, int length, DefaultDocumentEvent de) |
The methods and fields of Object are inherited.
DefaultStyledDocumentElementSpec#
class · extends Object · javax.swing.text.DefaultStyledDocument$ElementSpec
Constructors
new DefaultStyledDocumentElementSpec(AttributeSet a, short type) |
new DefaultStyledDocumentElementSpec(AttributeSet a, short type, int len) |
new DefaultStyledDocumentElementSpec(AttributeSet a, short type, char[] txt, int offs, int len) |
Ring: new DefaultStyledDocumentElementSpec(args) uses the constructor with the fewest parameters (at least one); new DefaultStyledDocumentElementSpec makes the object with the constructor without parameters; the others: (new DefaultStyledDocumentElementSpec).@New([ :param = value ]) or .@New([v1,v2]).
Fields
| Name | Type | Access | In Ring |
|---|---|---|---|
StartTagType | short | constant · static | o.StartTagType |
EndTagType | short | constant · static | o.EndTagType |
ContentType | short | constant · static | o.ContentType |
JoinPreviousDirection | short | constant · static | o.JoinPreviousDirection |
JoinNextDirection | short | constant · static | o.JoinNextDirection |
OriginateDirection | short | constant · static | o.OriginateDirection |
JoinFractureDirection | short | constant · static | o.JoinFractureDirection |
Methods
| Method | Ring call | Java overloads |
|---|---|---|
getArray | getArray() | char[] getArray() |
getAttributes | getAttributes() | AttributeSet getAttributes() |
getDirection | getDirection() | short getDirection() |
getLength | getLength() | int getLength() |
getOffset | getOffset() | int getOffset() |
getType | getType() | short getType() |
setDirection | setDirection(direction) | void setDirection(short direction) |
setType | setType(type) | void setType(short type) |
The methods and fields of Object are inherited.
DefaultTextUI#
abstract · extends BasicTextUI · javax.swing.text.DefaultTextUI
The methods and fields of BasicTextUI are inherited.
DocumentFilter#
class · extends Object · javax.swing.text.DocumentFilter
Constructors
new DocumentFilter() |
Ring: new DocumentFilter(args) uses the constructor with the fewest parameters (at least one); new DocumentFilter makes the object with the constructor without parameters; the others: (new DocumentFilter).@New([ :param = value ]) or .@New([v1,v2]).
Methods
| Method | Ring call | Java overloads |
|---|---|---|
insertString | insertString(fb,offset,string,attr) | void insertString(FilterBypass fb, int offset, String string, AttributeSet attr) |
remove | remove(fb,offset,length) | void remove(FilterBypass fb, int offset, int length) |
replace | replace(fb,offset,length,text,attrs) | void replace(FilterBypass fb, int offset, int length, String text, AttributeSet attrs) |
The methods and fields of Object are inherited.
DocumentFilterFilterBypass#
abstract · extends Object · javax.swing.text.DocumentFilter$FilterBypass
Methods
| Method | Ring call | Java overloads |
|---|---|---|
getDocument | getDocument() | Document getDocument() |
insertString | insertString(offset,string,attr) | void insertString(int offset, String string, AttributeSet attr) |
remove | remove(offset,length) | void remove(int offset, int length) |
replace | replace(offset,length,string,attrs) | void replace(int offset, int length, String string, AttributeSet attrs) |
The methods and fields of Object are inherited.
EditorKit#
abstract · extends Object · javax.swing.text.EditorKit
Implements: Cloneable, Serializable
Methods
| Method | Ring call | Java overloads |
|---|---|---|
clone | clone() | Object clone() |
createCaret | createCaret() | Caret createCaret() |
createDefaultDocument | createDefaultDocument() | Document createDefaultDocument() |
deinstall | deinstall(c) | void deinstall(JEditorPane c) |
getActions | getActions() | Action[] getActions() |
getContentType | getContentType() | String getContentType() |
getViewFactory | getViewFactory() | ViewFactory getViewFactory() |
install | install(c) | void install(JEditorPane c) |
read | read(in,doc,pos) | void read(InputStream in, Document doc, int pos)void read(Reader in, Document doc, int pos) |
write | write(out,doc,pos,len) | void write(Writer out, Document doc, int pos, int len)void write(OutputStream out, Document doc, int pos, int len) |
The methods and fields of Object are inherited.
ElementIterator#
class · extends Object · javax.swing.text.ElementIterator
Implements: Cloneable
Constructors
new ElementIterator(Document document) |
new ElementIterator(Element root) |
Ring: new ElementIterator(args) uses the constructor with the fewest parameters (at least one); new ElementIterator makes the object with the constructor without parameters; the others: (new ElementIterator).@New([ :param = value ]) or .@New([v1,v2]).
Methods
| Method | Ring call | Java overloads |
|---|---|---|
@next | @next() | Element next() |
clone | clone() | Object clone() |
current | current() | Element current() |
depth | depth() | int depth() |
first | first() | Element first() |
previous | previous() | Element previous() |
The methods and fields of Object are inherited.
FieldView#
class · extends PlainView · javax.swing.text.FieldView
Constructors
new FieldView(Element elem) |
Ring: new FieldView(args) uses the constructor with the fewest parameters (at least one); new FieldView makes the object with the constructor without parameters; the others: (new FieldView).@New([ :param = value ]) or .@New([v1,v2]).
The methods and fields of PlainView are inherited.
FlowView#
abstract · extends BoxView · javax.swing.text.FlowView
Methods
| Method | Ring call | Java overloads |
|---|---|---|
getFlowAxis | getFlowAxis() | int getFlowAxis() |
getFlowSpan | getFlowSpan(index) | int getFlowSpan(int index) |
getFlowStart | getFlowStart(index) | int getFlowStart(int index) |
The methods and fields of BoxView are inherited.
FlowViewFlowStrategy#
class · extends Object · javax.swing.text.FlowView$FlowStrategy
Constructors
new FlowViewFlowStrategy() |
Ring: new FlowViewFlowStrategy(args) uses the constructor with the fewest parameters (at least one); new FlowViewFlowStrategy makes the object with the constructor without parameters; the others: (new FlowViewFlowStrategy).@New([ :param = value ]) or .@New([v1,v2]).
Methods
| Method | Ring call | Java overloads |
|---|---|---|
changedUpdate | changedUpdate(fv,e,alloc) | void changedUpdate(FlowView fv, DocumentEvent e, Rectangle alloc) |
insertUpdate | insertUpdate(fv,e,alloc) | void insertUpdate(FlowView fv, DocumentEvent e, Rectangle alloc) |
layout | layout(fv) | void layout(FlowView fv) |
removeUpdate | removeUpdate(fv,e,alloc) | void removeUpdate(FlowView fv, DocumentEvent e, Rectangle alloc) |
The methods and fields of Object are inherited.
GapContent#
class · extends Object · javax.swing.text.GapContent
Implements: AbstractDocumentContent, Serializable
Constructors
new GapContent() |
new GapContent(int initialLength) |
Ring: new GapContent(args) uses the constructor with the fewest parameters (at least one); new GapContent makes the object with the constructor without parameters; the others: (new GapContent).@New([ :param = value ]) or .@New([v1,v2]).
Methods
| Method | Ring call | Java overloads |
|---|---|---|
createPosition | createPosition(offset) | Position createPosition(int offset) |
getChars | getChars(where,len,chars) | void getChars(int where, int len, Segment chars) |
getString | getString(where,len) | String getString(int where, int len) |
insertString | insertString(where,str) | UndoableEdit insertString(int where, String str) |
length | length() | int length() |
remove | remove(where,nitems) | UndoableEdit remove(int where, int nitems) |
The methods and fields of Object are inherited.
GlyphView#
class · extends View · javax.swing.text.GlyphView
Implements: TabableView, Cloneable
Constructors
new GlyphView(Element elem) |
Ring: new GlyphView(args) uses the constructor with the fewest parameters (at least one); new GlyphView makes the object with the constructor without parameters; the others: (new GlyphView).@New([ :param = value ]) or .@New([v1,v2]).
Methods
| Method | Ring call | Java overloads |
|---|---|---|
getBackground | getBackground() | Color getBackground() |
getFont | getFont() | Font getFont() |
getForeground | getForeground() | Color getForeground() |
getGlyphPainter | getGlyphPainter() | GlyphPainter getGlyphPainter() |
getPartialSpan | getPartialSpan(p0,p1) | float getPartialSpan(int p0, int p1) |
getTabbedSpan | getTabbedSpan(x,e) | float getTabbedSpan(float x, TabExpander e) |
getTabExpander | getTabExpander() | TabExpander getTabExpander() |
getText | getText(p0,p1) | Segment getText(int p0, int p1) |
isStrikeThrough | isStrikeThrough() | boolean isStrikeThrough() |
isSubscript | isSubscript() | boolean isSubscript() |
isSuperscript | isSuperscript() | boolean isSuperscript() |
isUnderline | isUnderline() | boolean isUnderline() |
setGlyphPainter | setGlyphPainter(p) | void setGlyphPainter(GlyphPainter p) |
The methods and fields of View are inherited.
GlyphViewGlyphPainter#
abstract · extends Object · javax.swing.text.GlyphView$GlyphPainter
Methods
| Method | Ring call | Java overloads |
|---|---|---|
getAscent | getAscent(v) | float getAscent(GlyphView v) |
getBoundedPosition | getBoundedPosition(v,p0,x,len) | int getBoundedPosition(GlyphView v, int p0, float x, float len) |
getDescent | getDescent(v) | float getDescent(GlyphView v) |
getHeight | getHeight(v) | float getHeight(GlyphView v) |
getNextVisualPositionFrom | getNextVisualPositionFrom(v,pos,b,a,direction,biasRet) | int getNextVisualPositionFrom(GlyphView v, int pos, Bias b, Shape a, int direction, Bias[] biasRet) |
getPainter | getPainter(v,p0,p1) | GlyphPainter getPainter(GlyphView v, int p0, int p1) |
getSpan | getSpan(v,p0,p1,e,x) | float getSpan(GlyphView v, int p0, int p1, TabExpander e, float x) |
modelToView | modelToView(v,pos,bias,a) | Shape modelToView(GlyphView v, int pos, Bias bias, Shape a) |
paint | paint(v,g,a,p0,p1) | void paint(GlyphView v, Graphics g, Shape a, int p0, int p1) |
viewToModel | viewToModel(v,x,y,a,biasReturn) | int viewToModel(GlyphView v, float x, float y, Shape a, Bias[] biasReturn) |
The methods and fields of Object are inherited.
Highlighter#
interface · javax.swing.text.Highlighter
Methods
| Method | Ring call | Java overloads |
|---|---|---|
addHighlight | addHighlight(p0,p1,p) | Object addHighlight(int p0, int p1, HighlightPainter p) |
changeHighlight | changeHighlight(tag,p0,p1) | void changeHighlight(Object tag, int p0, int p1) |
deinstall | deinstall(c) | void deinstall(JTextComponent c) |
getHighlights | getHighlights() | Highlight[] getHighlights() |
install | install(c) | void install(JTextComponent c) |
paint | paint(g) | void paint(Graphics g) |
removeAllHighlights | removeAllHighlights() | void removeAllHighlights() |
removeHighlight | removeHighlight(tag) | void removeHighlight(Object tag) |
HighlighterHighlight#
interface · javax.swing.text.Highlighter$Highlight
Methods
| Method | Ring call | Java overloads |
|---|---|---|
getEndOffset | getEndOffset() | int getEndOffset() |
getPainter | getPainter() | HighlightPainter getPainter() |
getStartOffset | getStartOffset() | int getStartOffset() |
HighlighterHighlightPainter#
interface · javax.swing.text.Highlighter$HighlightPainter
Methods
| Method | Ring call | Java overloads |
|---|---|---|
paint | paint(g,p0,p1,bounds,c) | void paint(Graphics g, int p0, int p1, Shape bounds, JTextComponent c) |
IconView#
class · extends View · javax.swing.text.IconView
Constructors
new IconView(Element elem) |
Ring: new IconView(args) uses the constructor with the fewest parameters (at least one); new IconView makes the object with the constructor without parameters; the others: (new IconView).@New([ :param = value ]) or .@New([v1,v2]).
The methods and fields of View are inherited.
InternationalFormatter#
class · extends DefaultFormatter · javax.swing.text.InternationalFormatter
Constructors
new InternationalFormatter() |
new InternationalFormatter(Format format) |
Ring: new InternationalFormatter(args) uses the constructor with the fewest parameters (at least one); new InternationalFormatter makes the object with the constructor without parameters; the others: (new InternationalFormatter).@New([ :param = value ]) or .@New([v1,v2]).
Methods
| Method | Ring call | Java overloads |
|---|---|---|
getFields | getFields(offset) | Field[] getFields(int offset) |
getFormat | getFormat() | Format getFormat() |
getMaximum | getMaximum() | Comparable getMaximum() |
getMinimum | getMinimum() | Comparable getMinimum() |
setFormat | setFormat(format) | void setFormat(Format format) |
setMaximum | setMaximum(max) | void setMaximum(Comparable max) |
setMinimum | setMinimum(minimum) | void setMinimum(Comparable minimum) |
The methods and fields of DefaultFormatter are inherited.
JTextComponent#
abstract · extends JComponent · javax.swing.text.JTextComponent
Implements: Scrollable, Accessible
Fields
| Name | Type | Access | In Ring |
|---|---|---|---|
FOCUS_ACCELERATOR_KEY | String | constant · static | o.FOCUS_ACCELERATOR_KEY |
DEFAULT_KEYMAP | String | constant · static | o.DEFAULT_KEYMAP |
Methods
| Method | Ring call | Java overloads |
|---|---|---|
@getKeymap | @getKeymap(nm) | static Keymap getKeymap(String nm) |
@getText | @getText([offs,len])@getText([ :offs = v, :len = v ]) | String getText(int offs, int len) |
@print | @print(g)@print([headerFormat,footerFormat])@print([ :headerFormat = v, :footerFormat = v ])@print([headerFormat,footerFormat,showPrintDialog,service,attributes,interactive])@print([ :headerFormat = v, :footerFormat = v, :showPrintDialog = v, :service = v, :attributes = v, :interactive = v ]) | void print(Graphics g)boolean print(MessageFormat headerFormat, MessageFormat footerFormat)boolean print(MessageFormat headerFormat, MessageFormat footerFormat, boolean showPrintDialog, PrintService service, PrintRequestAttributeSet attributes, boolean interactive) |
addCaretListener | addCaretListener(listener) | void addCaretListener(CaretListener listener) |
addKeymap | addKeymap(nm,parent) | static Keymap addKeymap(String nm, Keymap parent) |
copy | copy() | void copy() |
cut | cut() | void cut() |
getActions | getActions() | Action[] getActions() |
getCaret | getCaret() | Caret getCaret() |
getCaretColor | getCaretColor() | Color getCaretColor() |
getCaretListeners | getCaretListeners() | CaretListener[] getCaretListeners() |
getCaretPosition | getCaretPosition() | int getCaretPosition() |
getDisabledTextColor | getDisabledTextColor() | Color getDisabledTextColor() |
getDocument | getDocument() | Document getDocument() |
getDragEnabled | getDragEnabled() | boolean getDragEnabled() |
getDropLocation | getDropLocation() | DropLocation getDropLocation() |
getDropMode | getDropMode() | DropMode getDropMode() |
getFocusAccelerator | getFocusAccelerator() | char getFocusAccelerator() |
getHighlighter | getHighlighter() | Highlighter getHighlighter() |
getKeymap | getKeymap() | Keymap getKeymap() |
getMargin | getMargin() | Insets getMargin() |
getNavigationFilter | getNavigationFilter() | NavigationFilter getNavigationFilter() |
getPreferredScrollableViewportSize | getPreferredScrollableViewportSize() | Dimension getPreferredScrollableViewportSize() |
getPrintable | getPrintable(headerFormat,footerFormat) | Printable getPrintable(MessageFormat headerFormat, MessageFormat footerFormat) |
getScrollableBlockIncrement | getScrollableBlockIncrement(visibleRect,orientation,direction) | int getScrollableBlockIncrement(Rectangle visibleRect, int orientation, int direction) |
getScrollableTracksViewportHeight | getScrollableTracksViewportHeight() | boolean getScrollableTracksViewportHeight() |
getScrollableTracksViewportWidth | getScrollableTracksViewportWidth() | boolean getScrollableTracksViewportWidth() |
getScrollableUnitIncrement | getScrollableUnitIncrement(visibleRect,orientation,direction) | int getScrollableUnitIncrement(Rectangle visibleRect, int orientation, int direction) |
getSelectedText | getSelectedText() | String getSelectedText() |
getSelectedTextColor | getSelectedTextColor() | Color getSelectedTextColor() |
getSelectionColor | getSelectionColor() | Color getSelectionColor() |
getSelectionEnd | getSelectionEnd() | int getSelectionEnd() |
getSelectionStart | getSelectionStart() | int getSelectionStart() |
getText | getText() | String getText() |
isEditable | isEditable() | boolean isEditable() |
loadKeymap | loadKeymap(map,bindings,actions) | static void loadKeymap(Keymap map, KeyBinding[] bindings, Action[] actions) |
modelToView | modelToView(pos) | Rectangle modelToView(int pos) |
modelToView2D | modelToView2D(pos) | Rectangle2D modelToView2D(int pos) |
moveCaretPosition | moveCaretPosition(pos) | void moveCaretPosition(int pos) |
paste | paste() | void paste() |
print | print() | boolean print() |
read | read(in,desc) | void read(Reader in, Object desc) |
removeCaretListener | removeCaretListener(listener) | void removeCaretListener(CaretListener listener) |
removeKeymap | removeKeymap(nm) | static Keymap removeKeymap(String nm) |
replaceSelection | replaceSelection(content) | void replaceSelection(String content) |
select | select(selectionStart,selectionEnd) | void select(int selectionStart, int selectionEnd) |
selectAll | selectAll() | void selectAll() |
setCaret | setCaret(c) | void setCaret(Caret c) |
setCaretColor | setCaretColor(c) | void setCaretColor(Color c) |
setCaretPosition | setCaretPosition(position) | void setCaretPosition(int position) |
setDisabledTextColor | setDisabledTextColor(c) | void setDisabledTextColor(Color c) |
setDocument | setDocument(doc) | void setDocument(Document doc) |
setDragEnabled | setDragEnabled(b) | void setDragEnabled(boolean b) |
setDropMode | setDropMode(dropMode) | void setDropMode(DropMode dropMode) |
setEditable | setEditable(b) | void setEditable(boolean b) |
setFocusAccelerator | setFocusAccelerator(aKey) | void setFocusAccelerator(char aKey) |
setHighlighter | setHighlighter(h) | void setHighlighter(Highlighter h) |
setKeymap | setKeymap(map) | void setKeymap(Keymap map) |
setMargin | setMargin(m) | void setMargin(Insets m) |
setNavigationFilter | setNavigationFilter(filter) | void setNavigationFilter(NavigationFilter filter) |
setSelectedTextColor | setSelectedTextColor(c) | void setSelectedTextColor(Color c) |
setSelectionColor | setSelectionColor(c) | void setSelectionColor(Color c) |
setSelectionEnd | setSelectionEnd(selectionEnd) | void setSelectionEnd(int selectionEnd) |
setSelectionStart | setSelectionStart(selectionStart) | void setSelectionStart(int selectionStart) |
setText | setText(t) | void setText(String t) |
setUI | setUI(ui) | void setUI(TextUI ui) |
viewToModel | viewToModel(pt) | int viewToModel(Point pt) |
viewToModel2D | viewToModel2D(pt) | int viewToModel2D(Point2D pt) |
write | write(out) | void write(Writer out) |
The methods and fields of JComponent are inherited.
JTextComponentAccessibleJTextComponent#
class · extends JComponentAccessibleJComponent · javax.swing.text.JTextComponent$AccessibleJTextComponent
Implements: AccessibleText, CaretListener, DocumentListener, AccessibleAction, AccessibleEditableText, AccessibleExtendedText
Constructors
new JTextComponentAccessibleJTextComponent(JTextComponent p1) |
Ring: new JTextComponentAccessibleJTextComponent(args) uses the constructor with the fewest parameters (at least one); new JTextComponentAccessibleJTextComponent makes the object with the constructor without parameters; the others: (new JTextComponentAccessibleJTextComponent).@New([ :param = value ]) or .@New([v1,v2]).
Fields
| Name | Type | Access | In Ring |
|---|---|---|---|
CHARACTER | int | constant · static | o.CHARACTER |
WORD | int | constant · static | o.WORD |
SENTENCE | int | constant · static | o.SENTENCE |
TOGGLE_EXPAND | String | constant · static | o.TOGGLE_EXPAND |
INCREMENT | String | constant · static | o.INCREMENT |
DECREMENT | String | constant · static | o.DECREMENT |
CLICK | String | constant · static | o.CLICK |
TOGGLE_POPUP | String | constant · static | o.TOGGLE_POPUP |
LINE | int | constant · static | o.LINE |
ATTRIBUTE_RUN | int | constant · static | o.ATTRIBUTE_RUN |
Methods
| Method | Ring call | Java overloads |
|---|---|---|
caretUpdate | caretUpdate(e) | void caretUpdate(CaretEvent e) |
changedUpdate | changedUpdate(e) | void changedUpdate(DocumentEvent e) |
cut | cut(startIndex,endIndex) | void cut(int startIndex, int endIndex) |
delete | delete(startIndex,endIndex) | void delete(int startIndex, int endIndex) |
doAccessibleAction | doAccessibleAction(i) | boolean doAccessibleAction(int i) |
getAccessibleActionCount | getAccessibleActionCount() | int getAccessibleActionCount() |
getAccessibleActionDescription | getAccessibleActionDescription(i) | String getAccessibleActionDescription(int i) |
getAfterIndex | getAfterIndex(part,index) | String getAfterIndex(int part, int index) |
getAtIndex | getAtIndex(part,index) | String getAtIndex(int part, int index) |
getBeforeIndex | getBeforeIndex(part,index) | String getBeforeIndex(int part, int index) |
getCaretPosition | getCaretPosition() | int getCaretPosition() |
getCharacterAttribute | getCharacterAttribute(i) | AttributeSet getCharacterAttribute(int i) |
getCharacterBounds | getCharacterBounds(i) | Rectangle getCharacterBounds(int i) |
getCharCount | getCharCount() | int getCharCount() |
getIndexAtPoint | getIndexAtPoint(p) | int getIndexAtPoint(Point p) |
getSelectedText | getSelectedText() | String getSelectedText() |
getSelectionEnd | getSelectionEnd() | int getSelectionEnd() |
getSelectionStart | getSelectionStart() | int getSelectionStart() |
getTextBounds | getTextBounds(startIndex,endIndex) | Rectangle getTextBounds(int startIndex, int endIndex) |
getTextRange | getTextRange(startIndex,endIndex) | String getTextRange(int startIndex, int endIndex) |
getTextSequenceAfter | getTextSequenceAfter(part,index) | AccessibleTextSequence getTextSequenceAfter(int part, int index) |
getTextSequenceAt | getTextSequenceAt(part,index) | AccessibleTextSequence getTextSequenceAt(int part, int index) |
getTextSequenceBefore | getTextSequenceBefore(part,index) | AccessibleTextSequence getTextSequenceBefore(int part, int index) |
insertTextAtIndex | insertTextAtIndex(index,s) | void insertTextAtIndex(int index, String s) |
insertUpdate | insertUpdate(e) | void insertUpdate(DocumentEvent e) |
paste | paste(startIndex) | void paste(int startIndex) |
removeUpdate | removeUpdate(e) | void removeUpdate(DocumentEvent e) |
replaceText | replaceText(startIndex,endIndex,s) | void replaceText(int startIndex, int endIndex, String s) |
selectText | selectText(startIndex,endIndex) | void selectText(int startIndex, int endIndex) |
setAttributes | setAttributes(startIndex,endIndex,as) | void setAttributes(int startIndex, int endIndex, AttributeSet as) |
setTextContents | setTextContents(s) | void setTextContents(String s) |
The methods and fields of JComponentAccessibleJComponent are inherited.
JTextComponentDropLocation#
class final · extends TransferHandlerDropLocation · javax.swing.text.JTextComponent$DropLocation
Methods
| Method | Ring call | Java overloads |
|---|---|---|
getBias | getBias() | Bias getBias() |
getIndex | getIndex() | int getIndex() |
The methods and fields of TransferHandlerDropLocation are inherited.
JTextComponentKeyBinding#
class · extends Object · javax.swing.text.JTextComponent$KeyBinding
Constructors
new JTextComponentKeyBinding(KeyStroke key, String actionName) |
Ring: new JTextComponentKeyBinding(args) uses the constructor with the fewest parameters (at least one); new JTextComponentKeyBinding makes the object with the constructor without parameters; the others: (new JTextComponentKeyBinding).@New([ :param = value ]) or .@New([v1,v2]).
Fields
| Name | Type | Access | In Ring |
|---|---|---|---|
key | KeyStroke | read, write | o.key o.key = v |
actionName | String | read, write | o.actionName o.actionName = v |
The methods and fields of Object are inherited.
Keymap#
interface · javax.swing.text.Keymap
Methods
| Method | Ring call | Java overloads |
|---|---|---|
addActionForKeyStroke | addActionForKeyStroke(key,a) | void addActionForKeyStroke(KeyStroke key, Action a) |
getAction | getAction(key) | Action getAction(KeyStroke key) |
getBoundActions | getBoundActions() | Action[] getBoundActions() |
getBoundKeyStrokes | getBoundKeyStrokes() | KeyStroke[] getBoundKeyStrokes() |
getDefaultAction | getDefaultAction() | Action getDefaultAction() |
getKeyStrokesForAction | getKeyStrokesForAction(a) | KeyStroke[] getKeyStrokesForAction(Action a) |
getName | getName() | String getName() |
getResolveParent | getResolveParent() | Keymap getResolveParent() |
isLocallyDefined | isLocallyDefined(key) | boolean isLocallyDefined(KeyStroke key) |
removeBindings | removeBindings() | void removeBindings() |
removeKeyStrokeBinding | removeKeyStrokeBinding(keys) | void removeKeyStrokeBinding(KeyStroke keys) |
setDefaultAction | setDefaultAction(a) | void setDefaultAction(Action a) |
setResolveParent | setResolveParent(parent) | void setResolveParent(Keymap parent) |
LabelView#
class · extends GlyphView · javax.swing.text.LabelView
Implements: TabableView
Constructors
new LabelView(Element elem) |
Ring: new LabelView(args) uses the constructor with the fewest parameters (at least one); new LabelView makes the object with the constructor without parameters; the others: (new LabelView).@New([ :param = value ]) or .@New([v1,v2]).
The methods and fields of GlyphView are inherited.
LayeredHighlighter#
abstract · extends Object · javax.swing.text.LayeredHighlighter
Implements: Highlighter
Methods
| Method | Ring call | Java overloads |
|---|---|---|
addHighlight | addHighlight(p0,p1,p) | Object addHighlight(int p0, int p1, HighlightPainter p) |
changeHighlight | changeHighlight(tag,p0,p1) | void changeHighlight(Object tag, int p0, int p1) |
deinstall | deinstall(c) | void deinstall(JTextComponent c) |
getHighlights | getHighlights() | Highlight[] getHighlights() |
install | install(c) | void install(JTextComponent c) |
paint | paint(g) | void paint(Graphics g) |
paintLayeredHighlights | paintLayeredHighlights(g,p0,p1,viewBounds,editor,view) | void paintLayeredHighlights(Graphics g, int p0, int p1, Shape viewBounds, JTextComponent editor, View view) |
removeAllHighlights | removeAllHighlights() | void removeAllHighlights() |
removeHighlight | removeHighlight(tag) | void removeHighlight(Object tag) |
The methods and fields of Object are inherited.
LayeredHighlighterLayerPainter#
abstract · extends Object · javax.swing.text.LayeredHighlighter$LayerPainter
Implements: HighlighterHighlightPainter
Methods
| Method | Ring call | Java overloads |
|---|---|---|
paint | paint(g,p0,p1,bounds,c) | void paint(Graphics g, int p0, int p1, Shape bounds, JTextComponent c) |
paintLayer | paintLayer(g,p0,p1,viewBounds,editor,view) | Shape paintLayer(Graphics g, int p0, int p1, Shape viewBounds, JTextComponent editor, View view) |
The methods and fields of Object are inherited.
LayoutQueue#
class · extends Object · javax.swing.text.LayoutQueue
Constructors
new LayoutQueue() |
Ring: new LayoutQueue(args) uses the constructor with the fewest parameters (at least one); new LayoutQueue makes the object with the constructor without parameters; the others: (new LayoutQueue).@New([ :param = value ]) or .@New([v1,v2]).
Methods
| Method | Ring call | Java overloads |
|---|---|---|
addTask | addTask(task) | void addTask(Runnable task) |
getDefaultQueue | getDefaultQueue() | static LayoutQueue getDefaultQueue() |
setDefaultQueue | setDefaultQueue(q) | static void setDefaultQueue(LayoutQueue q) |
The methods and fields of Object are inherited.
MaskFormatter#
class · extends DefaultFormatter · javax.swing.text.MaskFormatter
Constructors
new MaskFormatter() |
new MaskFormatter(String mask) |
Ring: new MaskFormatter(args) uses the constructor with the fewest parameters (at least one); new MaskFormatter makes the object with the constructor without parameters; the others: (new MaskFormatter).@New([ :param = value ]) or .@New([v1,v2]).
Methods
| Method | Ring call | Java overloads |
|---|---|---|
getInvalidCharacters | getInvalidCharacters() | String getInvalidCharacters() |
getMask | getMask() | String getMask() |
getPlaceholder | getPlaceholder() | String getPlaceholder() |
getPlaceholderCharacter | getPlaceholderCharacter() | char getPlaceholderCharacter() |
getValidCharacters | getValidCharacters() | String getValidCharacters() |
getValueContainsLiteralCharacters | getValueContainsLiteralCharacters() | boolean getValueContainsLiteralCharacters() |
setInvalidCharacters | setInvalidCharacters(invalidCharacters) | void setInvalidCharacters(String invalidCharacters) |
setMask | setMask(mask) | void setMask(String mask) |
setPlaceholder | setPlaceholder(placeholder) | void setPlaceholder(String placeholder) |
setPlaceholderCharacter | setPlaceholderCharacter(placeholder) | void setPlaceholderCharacter(char placeholder) |
setValidCharacters | setValidCharacters(validCharacters) | void setValidCharacters(String validCharacters) |
setValueContainsLiteralCharacters | setValueContainsLiteralCharacters(containsLiteralChars) | void setValueContainsLiteralCharacters(boolean containsLiteralChars) |
The methods and fields of DefaultFormatter are inherited.
MutableAttributeSet#
interface · javax.swing.text.MutableAttributeSet
Extends: TextAttributeSet
Fields
| Name | Type | Access | In Ring |
|---|---|---|---|
NameAttribute | Object | constant · static | o.NameAttribute |
ResolveAttribute | Object | constant · static | o.ResolveAttribute |
Methods
| Method | Ring call | Java overloads |
|---|---|---|
addAttribute | addAttribute(name,value) | void addAttribute(Object name, Object value) |
addAttributes | addAttributes(attributes) | void addAttributes(AttributeSet attributes) |
containsAttribute | containsAttribute(name,value) | boolean containsAttribute(Object name, Object value) |
containsAttributes | containsAttributes(attributes) | boolean containsAttributes(AttributeSet attributes) |
copyAttributes | copyAttributes() | AttributeSet copyAttributes() |
getAttribute | getAttribute(key) | Object getAttribute(Object key) |
getAttributeCount | getAttributeCount() | int getAttributeCount() |
getAttributeNames | getAttributeNames() | Enumeration getAttributeNames() |
getResolveParent | getResolveParent() | AttributeSet getResolveParent() |
isDefined | isDefined(attrName) | boolean isDefined(Object attrName) |
isEqual | isEqual(attr) | boolean isEqual(AttributeSet attr) |
removeAttribute | removeAttribute(name) | void removeAttribute(Object name) |
removeAttributes | removeAttributes(attributes) | void removeAttributes(AttributeSet attributes)void removeAttributes(Enumeration names) |
setResolveParent | setResolveParent(parent) | void setResolveParent(AttributeSet parent) |
NavigationFilter#
class · extends Object · javax.swing.text.NavigationFilter
Constructors
new NavigationFilter() |
Ring: new NavigationFilter(args) uses the constructor with the fewest parameters (at least one); new NavigationFilter makes the object with the constructor without parameters; the others: (new NavigationFilter).@New([ :param = value ]) or .@New([v1,v2]).
Methods
| Method | Ring call | Java overloads |
|---|---|---|
getNextVisualPositionFrom | getNextVisualPositionFrom(text,pos,bias,direction,biasRet) | int getNextVisualPositionFrom(JTextComponent text, int pos, Bias bias, int direction, Bias[] biasRet) |
moveDot | moveDot(fb,dot,bias) | void moveDot(FilterBypass fb, int dot, Bias bias) |
setDot | setDot(fb,dot,bias) | void setDot(FilterBypass fb, int dot, Bias bias) |
The methods and fields of Object are inherited.
NavigationFilterFilterBypass#
abstract · extends Object · javax.swing.text.NavigationFilter$FilterBypass
Methods
| Method | Ring call | Java overloads |
|---|---|---|
getCaret | getCaret() | Caret getCaret() |
moveDot | moveDot(dot,bias) | void moveDot(int dot, Bias bias) |
setDot | setDot(dot,bias) | void setDot(int dot, Bias bias) |
The methods and fields of Object are inherited.
NumberFormatter#
class · extends InternationalFormatter · javax.swing.text.NumberFormatter
Constructors
new NumberFormatter() |
new NumberFormatter(NumberFormat format) |
Ring: new NumberFormatter(args) uses the constructor with the fewest parameters (at least one); new NumberFormatter makes the object with the constructor without parameters; the others: (new NumberFormatter).@New([ :param = value ]) or .@New([v1,v2]).
The methods and fields of InternationalFormatter are inherited.
ParagraphView#
class · extends FlowView · javax.swing.text.ParagraphView
Implements: TabExpander
Constructors
new ParagraphView(Element elem) |
Ring: new ParagraphView(args) uses the constructor with the fewest parameters (at least one); new ParagraphView makes the object with the constructor without parameters; the others: (new ParagraphView).@New([ :param = value ]) or .@New([v1,v2]).
Methods
| Method | Ring call | Java overloads |
|---|---|---|
breakView | breakView([axis,len,a])breakView([ :axis = v, :len = v, :a = v ])breakView([axis,offset,pos,len])breakView([ :axis = v, :offset = v, :pos = v, :len = v ]) | View breakView(int axis, float len, Shape a)View breakView(int axis, int offset, float pos, float len) |
getBreakWeight | getBreakWeight([axis,len])getBreakWeight([ :axis = v, :len = v ])getBreakWeight([axis,pos,len])getBreakWeight([ :axis = v, :pos = v, :len = v ]) | int getBreakWeight(int axis, float len)int getBreakWeight(int axis, float pos, float len) |
nextTabStop | nextTabStop(x,tabOffset) | float nextTabStop(float x, int tabOffset) |
The methods and fields of FlowView are inherited.
PasswordView#
class · extends FieldView · javax.swing.text.PasswordView
Constructors
new PasswordView(Element elem) |
Ring: new PasswordView(args) uses the constructor with the fewest parameters (at least one); new PasswordView makes the object with the constructor without parameters; the others: (new PasswordView).@New([ :param = value ]) or .@New([v1,v2]).
The methods and fields of FieldView are inherited.
PlainDocument#
class · extends AbstractDocument · javax.swing.text.PlainDocument
Constructors
new PlainDocument() |
new PlainDocument(Content c) |
Ring: new PlainDocument(args) uses the constructor with the fewest parameters (at least one); new PlainDocument makes the object with the constructor without parameters; the others: (new PlainDocument).@New([ :param = value ]) or .@New([v1,v2]).
Fields
| Name | Type | Access | In Ring |
|---|---|---|---|
tabSizeAttribute | String | constant · static | o.tabSizeAttribute |
lineLimitAttribute | String | constant · static | o.lineLimitAttribute |
The methods and fields of AbstractDocument are inherited.
PlainView#
class · extends View · javax.swing.text.PlainView
Implements: TabExpander
Constructors
new PlainView(Element elem) |
Ring: new PlainView(args) uses the constructor with the fewest parameters (at least one); new PlainView makes the object with the constructor without parameters; the others: (new PlainView).@New([ :param = value ]) or .@New([v1,v2]).
Methods
| Method | Ring call | Java overloads |
|---|---|---|
nextTabStop | nextTabStop(x,tabOffset) | float nextTabStop(float x, int tabOffset) |
The methods and fields of View are inherited.
Position#
interface · javax.swing.text.Position
Methods
| Method | Ring call | Java overloads |
|---|---|---|
getOffset | getOffset() | int getOffset() |
PositionBias#
class final · extends Object · javax.swing.text.Position$Bias
Fields
| Name | Type | Access | In Ring |
|---|---|---|---|
Forward | Bias | constant · static | o.Forward |
Backward | Bias | constant · static | o.Backward |
The methods and fields of Object are inherited.
Segment#
class · extends Object · javax.swing.text.Segment
Implements: Cloneable, CharacterIterator, CharSequence
Constructors
new Segment() |
new Segment(char[] array, int offset, int count) |
Ring: new Segment(args) uses the constructor with the fewest parameters (at least one); new Segment makes the object with the constructor without parameters; the others: (new Segment).@New([ :param = value ]) or .@New([v1,v2]).
Fields
| Name | Type | Access | In Ring |
|---|---|---|---|
array | char[] | read, write | o.array o.array = v |
offset | int | read, write | o.offset o.offset = v |
count | int | read, write | o.count o.count = v |
DONE | char | constant · static | o.DONE |
Methods
| Method | Ring call | Java overloads |
|---|---|---|
@next | @next() | char next() |
charAt | charAt(index) | char charAt(int index) |
chars | chars() | IntStream chars() |
clone | clone() | Object clone() |
codePoints | codePoints() | IntStream codePoints() |
current | current() | char current() |
first | first() | char first() |
getBeginIndex | getBeginIndex() | int getBeginIndex() |
getChars | getChars(srcBegin,srcEnd,dst,dstBegin) | void getChars(int srcBegin, int srcEnd, char[] dst, int dstBegin) |
getEndIndex | getEndIndex() | int getEndIndex() |
getIndex | getIndex() | int getIndex() |
isEmpty | isEmpty() | boolean isEmpty() |
isPartialReturn | isPartialReturn() | boolean isPartialReturn() |
last | last() | char last() |
length | length() | int length() |
previous | previous() | char previous() |
setIndex | setIndex(position) | char setIndex(int position) |
setPartialReturn | setPartialReturn(p) | void setPartialReturn(boolean p) |
subSequence | subSequence(start,end) | CharSequence subSequence(int start, int end) |
The methods and fields of Object are inherited.
SimpleAttributeSet#
class · extends Object · javax.swing.text.SimpleAttributeSet
Implements: MutableAttributeSet, Serializable, Cloneable
Constructors
new SimpleAttributeSet() |
new SimpleAttributeSet(AttributeSet source) |
Ring: new SimpleAttributeSet(args) uses the constructor with the fewest parameters (at least one); new SimpleAttributeSet makes the object with the constructor without parameters; the others: (new SimpleAttributeSet).@New([ :param = value ]) or .@New([v1,v2]).
Fields
| Name | Type | Access | In Ring |
|---|---|---|---|
EMPTY | AttributeSet | constant · static | o.EMPTY |
NameAttribute | Object | constant · static | o.NameAttribute |
ResolveAttribute | Object | constant · static | o.ResolveAttribute |
Methods
| Method | Ring call | Java overloads |
|---|---|---|
addAttribute | addAttribute(name,value) | void addAttribute(Object name, Object value) |
addAttributes | addAttributes(attributes) | void addAttributes(AttributeSet attributes) |
clone | clone() | Object clone() |
containsAttribute | containsAttribute(name,value) | boolean containsAttribute(Object name, Object value) |
containsAttributes | containsAttributes(attributes) | boolean containsAttributes(AttributeSet attributes) |
copyAttributes | copyAttributes() | AttributeSet copyAttributes() |
getAttribute | getAttribute(name) | Object getAttribute(Object name) |
getAttributeCount | getAttributeCount() | int getAttributeCount() |
getAttributeNames | getAttributeNames() | Enumeration getAttributeNames() |
getResolveParent | getResolveParent() | AttributeSet getResolveParent() |
isDefined | isDefined(attrName) | boolean isDefined(Object attrName) |
isEmpty | isEmpty() | boolean isEmpty() |
isEqual | isEqual(attr) | boolean isEqual(AttributeSet attr) |
removeAttribute | removeAttribute(name) | void removeAttribute(Object name) |
removeAttributes | removeAttributes(names) | void removeAttributes(Enumeration names)void removeAttributes(AttributeSet attributes) |
setResolveParent | setResolveParent(parent) | void setResolveParent(AttributeSet parent) |
The methods and fields of Object are inherited.
StringContent#
class final · extends Object · javax.swing.text.StringContent
Implements: AbstractDocumentContent, Serializable
Constructors
new StringContent() |
new StringContent(int initialLength) |
Ring: new StringContent(args) uses the constructor with the fewest parameters (at least one); new StringContent makes the object with the constructor without parameters; the others: (new StringContent).@New([ :param = value ]) or .@New([v1,v2]).
Methods
| Method | Ring call | Java overloads |
|---|---|---|
createPosition | createPosition(offset) | Position createPosition(int offset) |
getChars | getChars(where,len,chars) | void getChars(int where, int len, Segment chars) |
getString | getString(where,len) | String getString(int where, int len) |
insertString | insertString(where,str) | UndoableEdit insertString(int where, String str) |
length | length() | int length() |
remove | remove(where,nitems) | UndoableEdit remove(int where, int nitems) |
The methods and fields of Object are inherited.
Style#
interface · javax.swing.text.Style
Extends: MutableAttributeSet
Fields
| Name | Type | Access | In Ring |
|---|---|---|---|
NameAttribute | Object | constant · static | o.NameAttribute |
ResolveAttribute | Object | constant · static | o.ResolveAttribute |
Methods
| Method | Ring call | Java overloads |
|---|---|---|
addAttribute | addAttribute(name,value) | void addAttribute(Object name, Object value) |
addAttributes | addAttributes(attributes) | void addAttributes(AttributeSet attributes) |
addChangeListener | addChangeListener(l) | void addChangeListener(ChangeListener l) |
containsAttribute | containsAttribute(name,value) | boolean containsAttribute(Object name, Object value) |
containsAttributes | containsAttributes(attributes) | boolean containsAttributes(AttributeSet attributes) |
copyAttributes | copyAttributes() | AttributeSet copyAttributes() |
getAttribute | getAttribute(key) | Object getAttribute(Object key) |
getAttributeCount | getAttributeCount() | int getAttributeCount() |
getAttributeNames | getAttributeNames() | Enumeration getAttributeNames() |
getName | getName() | String getName() |
getResolveParent | getResolveParent() | AttributeSet getResolveParent() |
isDefined | isDefined(attrName) | boolean isDefined(Object attrName) |
isEqual | isEqual(attr) | boolean isEqual(AttributeSet attr) |
removeAttribute | removeAttribute(name) | void removeAttribute(Object name) |
removeAttributes | removeAttributes(attributes) | void removeAttributes(AttributeSet attributes)void removeAttributes(Enumeration names) |
removeChangeListener | removeChangeListener(l) | void removeChangeListener(ChangeListener l) |
setResolveParent | setResolveParent(parent) | void setResolveParent(AttributeSet parent) |
StyleConstants#
class · extends Object · javax.swing.text.StyleConstants
Fields
| Name | Type | Access | In Ring |
|---|---|---|---|
ComponentElementName | String | constant · static | o.ComponentElementName |
IconElementName | String | constant · static | o.IconElementName |
NameAttribute | Object | constant · static | o.NameAttribute |
ResolveAttribute | Object | constant · static | o.ResolveAttribute |
ModelAttribute | Object | constant · static | o.ModelAttribute |
Family | Object | constant · static | o.Family |
Size | Object | constant · static | o.Size |
Bold | Object | constant · static | o.Bold |
Italic | Object | constant · static | o.Italic |
Underline | Object | constant · static | o.Underline |
StrikeThrough | Object | constant · static | o.StrikeThrough |
Superscript | Object | constant · static | o.Superscript |
Subscript | Object | constant · static | o.Subscript |
ComponentAttribute | Object | constant · static | o.ComponentAttribute |
IconAttribute | Object | constant · static | o.IconAttribute |
ComposedTextAttribute | Object | constant · static | o.ComposedTextAttribute |
Orientation | Object | constant · static | o.Orientation |
ALIGN_LEFT | int | constant · static | o.ALIGN_LEFT |
ALIGN_CENTER | int | constant · static | o.ALIGN_CENTER |
ALIGN_RIGHT | int | constant · static | o.ALIGN_RIGHT |
ALIGN_JUSTIFIED | int | constant · static | o.ALIGN_JUSTIFIED |
Methods
| Method | Ring call | Java overloads |
|---|---|---|
getAlignment | getAlignment(a) | static int getAlignment(AttributeSet a) |
getBackground | getBackground(a) | static Color getBackground(AttributeSet a) |
getBidiLevel | getBidiLevel(a) | static int getBidiLevel(AttributeSet a) |
getComponent | getComponent(a) | static Component getComponent(AttributeSet a) |
getFirstLineIndent | getFirstLineIndent(a) | static float getFirstLineIndent(AttributeSet a) |
getFontFamily | getFontFamily(a) | static String getFontFamily(AttributeSet a) |
getFontSize | getFontSize(a) | static int getFontSize(AttributeSet a) |
getForeground | getForeground(a) | static Color getForeground(AttributeSet a) |
getIcon | getIcon(a) | static Icon getIcon(AttributeSet a) |
getLeftIndent | getLeftIndent(a) | static float getLeftIndent(AttributeSet a) |
getLineSpacing | getLineSpacing(a) | static float getLineSpacing(AttributeSet a) |
getRightIndent | getRightIndent(a) | static float getRightIndent(AttributeSet a) |
getSpaceAbove | getSpaceAbove(a) | static float getSpaceAbove(AttributeSet a) |
getSpaceBelow | getSpaceBelow(a) | static float getSpaceBelow(AttributeSet a) |
getTabSet | getTabSet(a) | static TabSet getTabSet(AttributeSet a) |
isBold | isBold(a) | static boolean isBold(AttributeSet a) |
isItalic | isItalic(a) | static boolean isItalic(AttributeSet a) |
isStrikeThrough | isStrikeThrough(a) | static boolean isStrikeThrough(AttributeSet a) |
isSubscript | isSubscript(a) | static boolean isSubscript(AttributeSet a) |
isSuperscript | isSuperscript(a) | static boolean isSuperscript(AttributeSet a) |
isUnderline | isUnderline(a) | static boolean isUnderline(AttributeSet a) |
setAlignment | setAlignment(a,align) | static void setAlignment(MutableAttributeSet a, int align) |
setBackground | setBackground(a,fg) | static void setBackground(MutableAttributeSet a, Color fg) |
setBidiLevel | setBidiLevel(a,o) | static void setBidiLevel(MutableAttributeSet a, int o) |
setBold | setBold(a,b) | static void setBold(MutableAttributeSet a, boolean b) |
setComponent | setComponent(a,c) | static void setComponent(MutableAttributeSet a, Component c) |
setFirstLineIndent | setFirstLineIndent(a,i) | static void setFirstLineIndent(MutableAttributeSet a, float i) |
setFontFamily | setFontFamily(a,fam) | static void setFontFamily(MutableAttributeSet a, String fam) |
setFontSize | setFontSize(a,s) | static void setFontSize(MutableAttributeSet a, int s) |
setForeground | setForeground(a,fg) | static void setForeground(MutableAttributeSet a, Color fg) |
setIcon | setIcon(a,c) | static void setIcon(MutableAttributeSet a, Icon c) |
setItalic | setItalic(a,b) | static void setItalic(MutableAttributeSet a, boolean b) |
setLeftIndent | setLeftIndent(a,i) | static void setLeftIndent(MutableAttributeSet a, float i) |
setLineSpacing | setLineSpacing(a,i) | static void setLineSpacing(MutableAttributeSet a, float i) |
setRightIndent | setRightIndent(a,i) | static void setRightIndent(MutableAttributeSet a, float i) |
setSpaceAbove | setSpaceAbove(a,i) | static void setSpaceAbove(MutableAttributeSet a, float i) |
setSpaceBelow | setSpaceBelow(a,i) | static void setSpaceBelow(MutableAttributeSet a, float i) |
setStrikeThrough | setStrikeThrough(a,b) | static void setStrikeThrough(MutableAttributeSet a, boolean b) |
setSubscript | setSubscript(a,b) | static void setSubscript(MutableAttributeSet a, boolean b) |
setSuperscript | setSuperscript(a,b) | static void setSuperscript(MutableAttributeSet a, boolean b) |
setTabSet | setTabSet(a,tabs) | static void setTabSet(MutableAttributeSet a, TabSet tabs) |
setUnderline | setUnderline(a,b) | static void setUnderline(MutableAttributeSet a, boolean b) |
The methods and fields of Object are inherited.
StyleConstantsCharacterConstants#
class final · extends StyleConstants · javax.swing.text.StyleConstants$CharacterConstants
Implements: AttributeSetCharacterAttribute
The methods and fields of StyleConstants are inherited.
StyleConstantsColorConstants#
class final · extends StyleConstants · javax.swing.text.StyleConstants$ColorConstants
Implements: AttributeSetColorAttribute, AttributeSetCharacterAttribute
The methods and fields of StyleConstants are inherited.
StyleConstantsFontConstants#
class final · extends StyleConstants · javax.swing.text.StyleConstants$FontConstants
Implements: AttributeSetFontAttribute, AttributeSetCharacterAttribute
The methods and fields of StyleConstants are inherited.
StyleConstantsParagraphConstants#
class final · extends StyleConstants · javax.swing.text.StyleConstants$ParagraphConstants
Implements: AttributeSetParagraphAttribute
The methods and fields of StyleConstants are inherited.
StyleContext#
class · extends Object · javax.swing.text.StyleContext
Implements: Serializable, AbstractDocumentAttributeContext
Constructors
new StyleContext() |
Ring: new StyleContext(args) uses the constructor with the fewest parameters (at least one); new StyleContext makes the object with the constructor without parameters; the others: (new StyleContext).@New([ :param = value ]) or .@New([v1,v2]).
Fields
| Name | Type | Access | In Ring |
|---|---|---|---|
DEFAULT_STYLE | String | constant · static | o.DEFAULT_STYLE |
Methods
| Method | Ring call | Java overloads |
|---|---|---|
addAttribute | addAttribute(old,name,value) | AttributeSet addAttribute(AttributeSet old, Object name, Object value) |
addAttributes | addAttributes(old,attr) | AttributeSet addAttributes(AttributeSet old, AttributeSet attr) |
addChangeListener | addChangeListener(l) | void addChangeListener(ChangeListener l) |
addStyle | addStyle(nm,parent) | Style addStyle(String nm, Style parent) |
getBackground | getBackground(attr) | Color getBackground(AttributeSet attr) |
getChangeListeners | getChangeListeners() | ChangeListener[] getChangeListeners() |
getDefaultStyleContext | getDefaultStyleContext() | static StyleContext getDefaultStyleContext() |
getEmptySet | getEmptySet() | AttributeSet getEmptySet() |
getFont | getFont(attr)getFont([family,style,size])getFont([ :family = v, :style = v, :size = v ]) | Font getFont(AttributeSet attr)Font getFont(String family, int style, int size) |
getFontMetrics | getFontMetrics(f) | FontMetrics getFontMetrics(Font f) |
getForeground | getForeground(attr) | Color getForeground(AttributeSet attr) |
getStaticAttribute | getStaticAttribute(key) | static Object getStaticAttribute(Object key) |
getStaticAttributeKey | getStaticAttributeKey(key) | static Object getStaticAttributeKey(Object key) |
getStyle | getStyle(nm) | Style getStyle(String nm) |
getStyleNames | getStyleNames() | Enumeration getStyleNames() |
readAttributes | readAttributes(in,a) | void readAttributes(ObjectInputStream in, MutableAttributeSet a) |
readAttributeSet | readAttributeSet(in,a) | static void readAttributeSet(ObjectInputStream in, MutableAttributeSet a) |
reclaim | reclaim(a) | void reclaim(AttributeSet a) |
registerStaticAttributeKey | registerStaticAttributeKey(key) | static void registerStaticAttributeKey(Object key) |
removeAttribute | removeAttribute(old,name) | AttributeSet removeAttribute(AttributeSet old, Object name) |
removeAttributes | removeAttributes(old,names) | AttributeSet removeAttributes(AttributeSet old, Enumeration names)AttributeSet removeAttributes(AttributeSet old, AttributeSet attrs) |
removeChangeListener | removeChangeListener(l) | void removeChangeListener(ChangeListener l) |
removeStyle | removeStyle(nm) | void removeStyle(String nm) |
writeAttributes | writeAttributes(out,a) | void writeAttributes(ObjectOutputStream out, AttributeSet a) |
writeAttributeSet | writeAttributeSet(out,a) | static void writeAttributeSet(ObjectOutputStream out, AttributeSet a) |
The methods and fields of Object are inherited.
StyleContextNamedStyle#
class · extends Object · javax.swing.text.StyleContext$NamedStyle
Implements: Style, Serializable
Constructors
new StyleContextNamedStyle(StyleContext parent) |
new StyleContextNamedStyle(StyleContext name, Style parent) |
new StyleContextNamedStyle(StyleContext p1, String p2, Style p3) |
Ring: new StyleContextNamedStyle(args) uses the constructor with the fewest parameters (at least one); new StyleContextNamedStyle makes the object with the constructor without parameters; the others: (new StyleContextNamedStyle).@New([ :param = value ]) or .@New([v1,v2]).
Fields
| Name | Type | Access | In Ring |
|---|---|---|---|
NameAttribute | Object | constant · static | o.NameAttribute |
ResolveAttribute | Object | constant · static | o.ResolveAttribute |
Methods
| Method | Ring call | Java overloads |
|---|---|---|
addAttribute | addAttribute(name,value) | void addAttribute(Object name, Object value) |
addAttributes | addAttributes(attr) | void addAttributes(AttributeSet attr) |
addChangeListener | addChangeListener(l) | void addChangeListener(ChangeListener l) |
containsAttribute | containsAttribute(name,value) | boolean containsAttribute(Object name, Object value) |
containsAttributes | containsAttributes(attrs) | boolean containsAttributes(AttributeSet attrs) |
copyAttributes | copyAttributes() | AttributeSet copyAttributes() |
getAttribute | getAttribute(attrName) | Object getAttribute(Object attrName) |
getAttributeCount | getAttributeCount() | int getAttributeCount() |
getAttributeNames | getAttributeNames() | Enumeration getAttributeNames() |
getChangeListeners | getChangeListeners() | ChangeListener[] getChangeListeners() |
getListeners | getListeners(listenerType) | EventListener[] getListeners(Class listenerType) |
getName | getName() | String getName() |
getResolveParent | getResolveParent() | AttributeSet getResolveParent() |
isDefined | isDefined(attrName) | boolean isDefined(Object attrName) |
isEqual | isEqual(attr) | boolean isEqual(AttributeSet attr) |
removeAttribute | removeAttribute(name) | void removeAttribute(Object name) |
removeAttributes | removeAttributes(names) | void removeAttributes(Enumeration names)void removeAttributes(AttributeSet attrs) |
removeChangeListener | removeChangeListener(l) | void removeChangeListener(ChangeListener l) |
setName | setName(name) | void setName(String name) |
setResolveParent | setResolveParent(parent) | void setResolveParent(AttributeSet parent) |
The methods and fields of Object are inherited.
StyleContextSmallAttributeSet#
class · extends Object · javax.swing.text.StyleContext$SmallAttributeSet
Implements: TextAttributeSet
Constructors
new StyleContextSmallAttributeSet(StyleContext p1, Object[] p2) |
new StyleContextSmallAttributeSet(StyleContext p1, AttributeSet p2) |
Ring: new StyleContextSmallAttributeSet(args) uses the constructor with the fewest parameters (at least one); new StyleContextSmallAttributeSet makes the object with the constructor without parameters; the others: (new StyleContextSmallAttributeSet).@New([ :param = value ]) or .@New([v1,v2]).
Fields
| Name | Type | Access | In Ring |
|---|---|---|---|
NameAttribute | Object | constant · static | o.NameAttribute |
ResolveAttribute | Object | constant · static | o.ResolveAttribute |
Methods
| Method | Ring call | Java overloads |
|---|---|---|
clone | clone() | Object clone() |
containsAttribute | containsAttribute(name,value) | boolean containsAttribute(Object name, Object value) |
containsAttributes | containsAttributes(attrs) | boolean containsAttributes(AttributeSet attrs) |
copyAttributes | copyAttributes() | AttributeSet copyAttributes() |
getAttribute | getAttribute(key) | Object getAttribute(Object key) |
getAttributeCount | getAttributeCount() | int getAttributeCount() |
getAttributeNames | getAttributeNames() | Enumeration getAttributeNames() |
getResolveParent | getResolveParent() | AttributeSet getResolveParent() |
isDefined | isDefined(key) | boolean isDefined(Object key) |
isEqual | isEqual(attr) | boolean isEqual(AttributeSet attr) |
The methods and fields of Object are inherited.
StyledDocument#
interface · javax.swing.text.StyledDocument
Extends: TextDocument
Fields
| Name | Type | Access | In Ring |
|---|---|---|---|
StreamDescriptionProperty | String | constant · static | o.StreamDescriptionProperty |
TitleProperty | String | constant · static | o.TitleProperty |
Methods
| Method | Ring call | Java overloads |
|---|---|---|
addDocumentListener | addDocumentListener(listener) | void addDocumentListener(DocumentListener listener) |
addStyle | addStyle(nm,parent) | Style addStyle(String nm, Style parent) |
addUndoableEditListener | addUndoableEditListener(listener) | void addUndoableEditListener(UndoableEditListener listener) |
createPosition | createPosition(offs) | Position createPosition(int offs) |
getBackground | getBackground(attr) | Color getBackground(AttributeSet attr) |
getCharacterElement | getCharacterElement(pos) | Element getCharacterElement(int pos) |
getDefaultRootElement | getDefaultRootElement() | Element getDefaultRootElement() |
getEndPosition | getEndPosition() | Position getEndPosition() |
getFont | getFont(attr) | Font getFont(AttributeSet attr) |
getForeground | getForeground(attr) | Color getForeground(AttributeSet attr) |
getLength | getLength() | int getLength() |
getLogicalStyle | getLogicalStyle(p) | Style getLogicalStyle(int p) |
getParagraphElement | getParagraphElement(pos) | Element getParagraphElement(int pos) |
getProperty | getProperty(key) | Object getProperty(Object key) |
getRootElements | getRootElements() | Element[] getRootElements() |
getStartPosition | getStartPosition() | Position getStartPosition() |
getStyle | getStyle(nm) | Style getStyle(String nm) |
getText | getText([offset,length])getText([ :offset = v, :length = v ])getText([offset,length,txt])getText([ :offset = v, :length = v, :txt = v ]) | String getText(int offset, int length)void getText(int offset, int length, Segment txt) |
insertString | insertString(offset,str,a) | void insertString(int offset, String str, AttributeSet a) |
putProperty | putProperty(key,value) | void putProperty(Object key, Object value) |
remove | remove(offs,len) | void remove(int offs, int len) |
removeDocumentListener | removeDocumentListener(listener) | void removeDocumentListener(DocumentListener listener) |
removeStyle | removeStyle(nm) | void removeStyle(String nm) |
removeUndoableEditListener | removeUndoableEditListener(listener) | void removeUndoableEditListener(UndoableEditListener listener) |
render | render(r) | void render(Runnable r) |
setCharacterAttributes | setCharacterAttributes(offset,length,s,replace) | void setCharacterAttributes(int offset, int length, AttributeSet s, boolean replace) |
setLogicalStyle | setLogicalStyle(pos,s) | void setLogicalStyle(int pos, Style s) |
setParagraphAttributes | setParagraphAttributes(offset,length,s,replace) | void setParagraphAttributes(int offset, int length, AttributeSet s, boolean replace) |
StyledEditorKit#
class · extends DefaultEditorKit · javax.swing.text.StyledEditorKit
Constructors
new StyledEditorKit() |
Ring: new StyledEditorKit(args) uses the constructor with the fewest parameters (at least one); new StyledEditorKit makes the object with the constructor without parameters; the others: (new StyledEditorKit).@New([ :param = value ]) or .@New([v1,v2]).
Methods
| Method | Ring call | Java overloads |
|---|---|---|
getCharacterAttributeRun | getCharacterAttributeRun() | Element getCharacterAttributeRun() |
getInputAttributes | getInputAttributes() | MutableAttributeSet getInputAttributes() |
The methods and fields of DefaultEditorKit are inherited.
StyledEditorKitAlignmentAction#
class · extends StyledEditorKitStyledTextAction · javax.swing.text.StyledEditorKit$AlignmentAction
Constructors
new StyledEditorKitAlignmentAction(String nm, int a) |
Ring: new StyledEditorKitAlignmentAction(args) uses the constructor with the fewest parameters (at least one); new StyledEditorKitAlignmentAction makes the object with the constructor without parameters; the others: (new StyledEditorKitAlignmentAction).@New([ :param = value ]) or .@New([v1,v2]).
The methods and fields of StyledEditorKitStyledTextAction are inherited.
StyledEditorKitBoldAction#
class · extends StyledEditorKitStyledTextAction · javax.swing.text.StyledEditorKit$BoldAction
Constructors
new StyledEditorKitBoldAction() |
Ring: new StyledEditorKitBoldAction(args) uses the constructor with the fewest parameters (at least one); new StyledEditorKitBoldAction makes the object with the constructor without parameters; the others: (new StyledEditorKitBoldAction).@New([ :param = value ]) or .@New([v1,v2]).
The methods and fields of StyledEditorKitStyledTextAction are inherited.
StyledEditorKitFontFamilyAction#
class · extends StyledEditorKitStyledTextAction · javax.swing.text.StyledEditorKit$FontFamilyAction
Constructors
new StyledEditorKitFontFamilyAction(String nm, String family) |
Ring: new StyledEditorKitFontFamilyAction(args) uses the constructor with the fewest parameters (at least one); new StyledEditorKitFontFamilyAction makes the object with the constructor without parameters; the others: (new StyledEditorKitFontFamilyAction).@New([ :param = value ]) or .@New([v1,v2]).
The methods and fields of StyledEditorKitStyledTextAction are inherited.
StyledEditorKitFontSizeAction#
class · extends StyledEditorKitStyledTextAction · javax.swing.text.StyledEditorKit$FontSizeAction
Constructors
new StyledEditorKitFontSizeAction(String nm, int size) |
Ring: new StyledEditorKitFontSizeAction(args) uses the constructor with the fewest parameters (at least one); new StyledEditorKitFontSizeAction makes the object with the constructor without parameters; the others: (new StyledEditorKitFontSizeAction).@New([ :param = value ]) or .@New([v1,v2]).
The methods and fields of StyledEditorKitStyledTextAction are inherited.
StyledEditorKitForegroundAction#
class · extends StyledEditorKitStyledTextAction · javax.swing.text.StyledEditorKit$ForegroundAction
Constructors
new StyledEditorKitForegroundAction(String nm, Color fg) |
Ring: new StyledEditorKitForegroundAction(args) uses the constructor with the fewest parameters (at least one); new StyledEditorKitForegroundAction makes the object with the constructor without parameters; the others: (new StyledEditorKitForegroundAction).@New([ :param = value ]) or .@New([v1,v2]).
The methods and fields of StyledEditorKitStyledTextAction are inherited.
StyledEditorKitItalicAction#
class · extends StyledEditorKitStyledTextAction · javax.swing.text.StyledEditorKit$ItalicAction
Constructors
new StyledEditorKitItalicAction() |
Ring: new StyledEditorKitItalicAction(args) uses the constructor with the fewest parameters (at least one); new StyledEditorKitItalicAction makes the object with the constructor without parameters; the others: (new StyledEditorKitItalicAction).@New([ :param = value ]) or .@New([v1,v2]).
The methods and fields of StyledEditorKitStyledTextAction are inherited.
StyledEditorKitStyledTextAction#
abstract · extends TextAction · javax.swing.text.StyledEditorKit$StyledTextAction
The methods and fields of TextAction are inherited.
StyledEditorKitUnderlineAction#
class · extends StyledEditorKitStyledTextAction · javax.swing.text.StyledEditorKit$UnderlineAction
Constructors
new StyledEditorKitUnderlineAction() |
Ring: new StyledEditorKitUnderlineAction(args) uses the constructor with the fewest parameters (at least one); new StyledEditorKitUnderlineAction makes the object with the constructor without parameters; the others: (new StyledEditorKitUnderlineAction).@New([ :param = value ]) or .@New([v1,v2]).
The methods and fields of StyledEditorKitStyledTextAction are inherited.
TabableView#
interface · javax.swing.text.TabableView
Methods
| Method | Ring call | Java overloads |
|---|---|---|
getPartialSpan | getPartialSpan(p0,p1) | float getPartialSpan(int p0, int p1) |
getTabbedSpan | getTabbedSpan(x,e) | float getTabbedSpan(float x, TabExpander e) |
TabExpander#
interface · javax.swing.text.TabExpander
Methods
| Method | Ring call | Java overloads |
|---|---|---|
nextTabStop | nextTabStop(x,tabOffset) | float nextTabStop(float x, int tabOffset) |
TableView#
abstract · extends BoxView · javax.swing.text.TableView
The methods and fields of BoxView are inherited.
TableViewTableCell#
class · extends BoxView · javax.swing.text.TableView$TableCell
Implements: javax.swing.text.TableView$GridCell
Constructors
new TableViewTableCell(TableView p1, Element p2) |
Ring: new TableViewTableCell(args) uses the constructor with the fewest parameters (at least one); new TableViewTableCell makes the object with the constructor without parameters; the others: (new TableViewTableCell).@New([ :param = value ]) or .@New([v1,v2]).
Methods
| Method | Ring call | Java overloads |
|---|---|---|
getColumnCount | getColumnCount() | int getColumnCount() |
getGridColumn | getGridColumn() | int getGridColumn() |
getGridRow | getGridRow() | int getGridRow() |
getRowCount | getRowCount() | int getRowCount() |
setGridLocation | setGridLocation(row,col) | void setGridLocation(int row, int col) |
The methods and fields of BoxView are inherited.
TableViewTableRow#
class · extends BoxView · javax.swing.text.TableView$TableRow
Constructors
new TableViewTableRow(TableView p1, Element p2) |
Ring: new TableViewTableRow(args) uses the constructor with the fewest parameters (at least one); new TableViewTableRow makes the object with the constructor without parameters; the others: (new TableViewTableRow).@New([ :param = value ]) or .@New([v1,v2]).
The methods and fields of BoxView are inherited.
TabSet#
class · extends Object · javax.swing.text.TabSet
Implements: Serializable
Constructors
new TabSet(TabStop[] tabs) |
Ring: new TabSet(args) uses the constructor with the fewest parameters (at least one); new TabSet makes the object with the constructor without parameters; the others: (new TabSet).@New([ :param = value ]) or .@New([v1,v2]).
Methods
| Method | Ring call | Java overloads |
|---|---|---|
getTab | getTab(index) | TabStop getTab(int index) |
getTabAfter | getTabAfter(location) | TabStop getTabAfter(float location) |
getTabCount | getTabCount() | int getTabCount() |
getTabIndex | getTabIndex(tab) | int getTabIndex(TabStop tab) |
getTabIndexAfter | getTabIndexAfter(location) | int getTabIndexAfter(float location) |
The methods and fields of Object are inherited.
TabStop#
class · extends Object · javax.swing.text.TabStop
Implements: Serializable
Constructors
new TabStop(float pos) |
new TabStop(float pos, int align, int leader) |
Ring: new TabStop(args) uses the constructor with the fewest parameters (at least one); new TabStop makes the object with the constructor without parameters; the others: (new TabStop).@New([ :param = value ]) or .@New([v1,v2]).
Fields
| Name | Type | Access | In Ring |
|---|---|---|---|
ALIGN_LEFT | int | constant · static | o.ALIGN_LEFT |
ALIGN_RIGHT | int | constant · static | o.ALIGN_RIGHT |
ALIGN_CENTER | int | constant · static | o.ALIGN_CENTER |
ALIGN_DECIMAL | int | constant · static | o.ALIGN_DECIMAL |
ALIGN_BAR | int | constant · static | o.ALIGN_BAR |
LEAD_NONE | int | constant · static | o.LEAD_NONE |
LEAD_DOTS | int | constant · static | o.LEAD_DOTS |
LEAD_HYPHENS | int | constant · static | o.LEAD_HYPHENS |
LEAD_UNDERLINE | int | constant · static | o.LEAD_UNDERLINE |
LEAD_THICKLINE | int | constant · static | o.LEAD_THICKLINE |
LEAD_EQUALS | int | constant · static | o.LEAD_EQUALS |
Methods
| Method | Ring call | Java overloads |
|---|---|---|
getAlignment | getAlignment() | int getAlignment() |
getLeader | getLeader() | int getLeader() |
getPosition | getPosition() | float getPosition() |
The methods and fields of Object are inherited.
TextAction#
abstract · extends AbstractAction · javax.swing.text.TextAction
Methods
| Method | Ring call | Java overloads |
|---|---|---|
augmentList | augmentList(list1,list2) | static Action[] augmentList(Action[] list1, Action[] list2) |
The methods and fields of AbstractAction are inherited.
TextAttributeSet#
interface · javax.swing.text.AttributeSet
Fields
| Name | Type | Access | In Ring |
|---|---|---|---|
NameAttribute | Object | constant · static | o.NameAttribute |
ResolveAttribute | Object | constant · static | o.ResolveAttribute |
Methods
| Method | Ring call | Java overloads |
|---|---|---|
containsAttribute | containsAttribute(name,value) | boolean containsAttribute(Object name, Object value) |
containsAttributes | containsAttributes(attributes) | boolean containsAttributes(AttributeSet attributes) |
copyAttributes | copyAttributes() | AttributeSet copyAttributes() |
getAttribute | getAttribute(key) | Object getAttribute(Object key) |
getAttributeCount | getAttributeCount() | int getAttributeCount() |
getAttributeNames | getAttributeNames() | Enumeration getAttributeNames() |
getResolveParent | getResolveParent() | AttributeSet getResolveParent() |
isDefined | isDefined(attrName) | boolean isDefined(Object attrName) |
isEqual | isEqual(attr) | boolean isEqual(AttributeSet attr) |
TextDocument#
interface · javax.swing.text.Document
Fields
| Name | Type | Access | In Ring |
|---|---|---|---|
StreamDescriptionProperty | String | constant · static | o.StreamDescriptionProperty |
TitleProperty | String | constant · static | o.TitleProperty |
Methods
| Method | Ring call | Java overloads |
|---|---|---|
addDocumentListener | addDocumentListener(listener) | void addDocumentListener(DocumentListener listener) |
addUndoableEditListener | addUndoableEditListener(listener) | void addUndoableEditListener(UndoableEditListener listener) |
createPosition | createPosition(offs) | Position createPosition(int offs) |
getDefaultRootElement | getDefaultRootElement() | Element getDefaultRootElement() |
getEndPosition | getEndPosition() | Position getEndPosition() |
getLength | getLength() | int getLength() |
getProperty | getProperty(key) | Object getProperty(Object key) |
getRootElements | getRootElements() | Element[] getRootElements() |
getStartPosition | getStartPosition() | Position getStartPosition() |
getText | getText([offset,length])getText([ :offset = v, :length = v ])getText([offset,length,txt])getText([ :offset = v, :length = v, :txt = v ]) | String getText(int offset, int length)void getText(int offset, int length, Segment txt) |
insertString | insertString(offset,str,a) | void insertString(int offset, String str, AttributeSet a) |
putProperty | putProperty(key,value) | void putProperty(Object key, Object value) |
remove | remove(offs,len) | void remove(int offs, int len) |
removeDocumentListener | removeDocumentListener(listener) | void removeDocumentListener(DocumentListener listener) |
removeUndoableEditListener | removeUndoableEditListener(listener) | void removeUndoableEditListener(UndoableEditListener listener) |
render | render(r) | void render(Runnable r) |
TextElement#
interface · javax.swing.text.Element
Methods
| Method | Ring call | Java overloads |
|---|---|---|
getAttributes | getAttributes() | AttributeSet getAttributes() |
getDocument | getDocument() | Document getDocument() |
getElement | getElement(index) | Element getElement(int index) |
getElementCount | getElementCount() | int getElementCount() |
getElementIndex | getElementIndex(offset) | int getElementIndex(int offset) |
getEndOffset | getEndOffset() | int getEndOffset() |
getName | getName() | String getName() |
getParentElement | getParentElement() | Element getParentElement() |
getStartOffset | getStartOffset() | int getStartOffset() |
isLeaf | isLeaf() | boolean isLeaf() |
Utilities#
class · extends Object · javax.swing.text.Utilities
Constructors
new Utilities() |
Ring: new Utilities(args) uses the constructor with the fewest parameters (at least one); new Utilities makes the object with the constructor without parameters; the others: (new Utilities).@New([ :param = value ]) or .@New([v1,v2]).
Methods
| Method | Ring call | Java overloads |
|---|---|---|
drawTabbedText | drawTabbedText(s,x,y,g,e,startOffset) | static float drawTabbedText(Segment s, float x, float y, Graphics2D g, TabExpander e, int startOffset)static int drawTabbedText(Segment s, int x, int y, Graphics g, TabExpander e, int startOffset) |
getBreakLocation | getBreakLocation(s,metrics,x0,x,e,startOffset) | static int getBreakLocation(Segment s, FontMetrics metrics, int x0, int x, TabExpander e, int startOffset)static int getBreakLocation(Segment s, FontMetrics metrics, float x0, float x, TabExpander e, int startOffset) |
getNextWord | getNextWord(c,offs) | static int getNextWord(JTextComponent c, int offs) |
getParagraphElement | getParagraphElement(c,offs) | static Element getParagraphElement(JTextComponent c, int offs) |
getPositionAbove | getPositionAbove(c,offs,x) | static int getPositionAbove(JTextComponent c, int offs, int x)static int getPositionAbove(JTextComponent c, int offs, float x) |
getPositionBelow | getPositionBelow(c,offs,x) | static int getPositionBelow(JTextComponent c, int offs, float x)static int getPositionBelow(JTextComponent c, int offs, int x) |
getPreviousWord | getPreviousWord(c,offs) | static int getPreviousWord(JTextComponent c, int offs) |
getRowEnd | getRowEnd(c,offs) | static int getRowEnd(JTextComponent c, int offs) |
getRowStart | getRowStart(c,offs) | static int getRowStart(JTextComponent c, int offs) |
getTabbedTextOffset | getTabbedTextOffset([s,metrics,x0,x,e,startOffset])getTabbedTextOffset([ :s = v, :metrics = v, :x0 = v, :x = v, :e = v, :startOffset = v ])getTabbedTextOffset([s,metrics,x0,x,e,startOffset,round])getTabbedTextOffset([ :s = v, :metrics = v, :x0 = v, :x = v, :e = v, :startOffset = v, :round = v ]) | static int getTabbedTextOffset(Segment s, FontMetrics metrics, int x0, int x, TabExpander e, int startOffset)static int getTabbedTextOffset(Segment s, FontMetrics metrics, float x0, float x, TabExpander e, int startOffset, boolean round)static int getTabbedTextOffset(Segment s, FontMetrics metrics, int x0, int x, TabExpander e, int startOffset, boolean round) |
getTabbedTextWidth | getTabbedTextWidth(s,metrics,x,e,startOffset) | static int getTabbedTextWidth(Segment s, FontMetrics metrics, int x, TabExpander e, int startOffset)static float getTabbedTextWidth(Segment s, FontMetrics metrics, float x, TabExpander e, int startOffset) |
getWordEnd | getWordEnd(c,offs) | static int getWordEnd(JTextComponent c, int offs) |
getWordStart | getWordStart(c,offs) | static int getWordStart(JTextComponent c, int offs) |
The methods and fields of Object are inherited.
View#
abstract · extends Object · javax.swing.text.View
Implements: SwingConstants
Fields
| Name | Type | Access | In Ring |
|---|---|---|---|
BadBreakWeight | int | constant · static | o.BadBreakWeight |
GoodBreakWeight | int | constant · static | o.GoodBreakWeight |
ExcellentBreakWeight | int | constant · static | o.ExcellentBreakWeight |
ForcedBreakWeight | int | constant · static | o.ForcedBreakWeight |
X_AXIS | int | constant · static | o.X_AXIS |
Y_AXIS | int | constant · static | o.Y_AXIS |
CENTER | int | constant · static | o.CENTER |
TOP | int | constant · static | o.TOP |
LEFT | int | constant · static | o.LEFT |
BOTTOM | int | constant · static | o.BOTTOM |
RIGHT | int | constant · static | o.RIGHT |
NORTH | int | constant · static | o.NORTH |
NORTH_EAST | int | constant · static | o.NORTH_EAST |
EAST | int | constant · static | o.EAST |
SOUTH_EAST | int | constant · static | o.SOUTH_EAST |
SOUTH | int | constant · static | o.SOUTH |
SOUTH_WEST | int | constant · static | o.SOUTH_WEST |
WEST | int | constant · static | o.WEST |
NORTH_WEST | int | constant · static | o.NORTH_WEST |
HORIZONTAL | int | constant · static | o.HORIZONTAL |
VERTICAL | int | constant · static | o.VERTICAL |
LEADING | int | constant · static | o.LEADING |
TRAILING | int | constant · static | o.TRAILING |
NEXT | int | constant · static | o.@NEXT |
PREVIOUS | int | constant · static | o.PREVIOUS |
Methods
| Method | Ring call | Java overloads |
|---|---|---|
append | append(v) | void append(View v) |
breakView | breakView(axis,offset,pos,len) | View breakView(int axis, int offset, float pos, float len) |
changedUpdate | changedUpdate(e,a,f) | void changedUpdate(DocumentEvent e, Shape a, ViewFactory f) |
createFragment | createFragment(p0,p1) | View createFragment(int p0, int p1) |
getAlignment | getAlignment(axis) | float getAlignment(int axis) |
getAttributes | getAttributes() | AttributeSet getAttributes() |
getBreakWeight | getBreakWeight(axis,pos,len) | int getBreakWeight(int axis, float pos, float len) |
getChildAllocation | getChildAllocation(index,a) | Shape getChildAllocation(int index, Shape a) |
getContainer | getContainer() | Container getContainer() |
getDocument | getDocument() | Document getDocument() |
getElement | getElement() | Element getElement() |
getEndOffset | getEndOffset() | int getEndOffset() |
getGraphics | getGraphics() | Graphics getGraphics() |
getMaximumSpan | getMaximumSpan(axis) | float getMaximumSpan(int axis) |
getMinimumSpan | getMinimumSpan(axis) | float getMinimumSpan(int axis) |
getNextVisualPositionFrom | getNextVisualPositionFrom(pos,b,a,direction,biasRet) | int getNextVisualPositionFrom(int pos, Bias b, Shape a, int direction, Bias[] biasRet) |
getParent | getParent() | View getParent() |
getPreferredSpan | getPreferredSpan(axis) | float getPreferredSpan(int axis) |
getResizeWeight | getResizeWeight(axis) | int getResizeWeight(int axis) |
getStartOffset | getStartOffset() | int getStartOffset() |
getToolTipText | getToolTipText(x,y,allocation) | String getToolTipText(float x, float y, Shape allocation) |
getView | getView(n) | View getView(int n) |
getViewCount | getViewCount() | int getViewCount() |
getViewFactory | getViewFactory() | ViewFactory getViewFactory() |
getViewIndex | getViewIndex([pos,b])getViewIndex([ :pos = v, :b = v ])getViewIndex([x,y,allocation])getViewIndex([ :x = v, :y = v, :allocation = v ]) | int getViewIndex(int pos, Bias b)int getViewIndex(float x, float y, Shape allocation) |
insert | insert(offs,v) | void insert(int offs, View v) |
insertUpdate | insertUpdate(e,a,f) | void insertUpdate(DocumentEvent e, Shape a, ViewFactory f) |
isVisible | isVisible() | boolean isVisible() |
modelToView | modelToView([pos,a])modelToView([ :pos = v, :a = v ])modelToView([pos,a,b])modelToView([ :pos = v, :a = v, :b = v ])modelToView([p0,b0,p1,b1,a])modelToView([ :p0 = v, :b0 = v, :p1 = v, :b1 = v, :a = v ]) | Shape modelToView(int pos, Shape a)Shape modelToView(int pos, Shape a, Bias b)Shape modelToView(int p0, Bias b0, int p1, Bias b1, Shape a) |
paint | paint(g,allocation) | void paint(Graphics g, Shape allocation) |
preferenceChanged | preferenceChanged(child,width,height) | void preferenceChanged(View child, boolean width, boolean height) |
remove | remove(i) | void remove(int i) |
removeAll | removeAll() | void removeAll() |
removeUpdate | removeUpdate(e,a,f) | void removeUpdate(DocumentEvent e, Shape a, ViewFactory f) |
replace | replace(offset,length,views) | void replace(int offset, int length, View[] views) |
setParent | setParent(parent) | void setParent(View parent) |
setSize | setSize(width,height) | void setSize(float width, float height) |
viewToModel | viewToModel([x,y,a])viewToModel([ :x = v, :y = v, :a = v ])viewToModel([x,y,a,biasReturn])viewToModel([ :x = v, :y = v, :a = v, :biasReturn = v ]) | int viewToModel(float x, float y, Shape a)int viewToModel(float x, float y, Shape a, Bias[] biasReturn) |
The methods and fields of Object are inherited.
ViewFactory#
interface · javax.swing.text.ViewFactory
Methods
| Method | Ring call | Java overloads |
|---|---|---|
create | create(elem) | View create(Element elem) |
WrappedPlainView#
class · extends BoxView · javax.swing.text.WrappedPlainView
Implements: TabExpander
Constructors
new WrappedPlainView(Element elem) |
new WrappedPlainView(Element elem, boolean wordWrap) |
Ring: new WrappedPlainView(args) uses the constructor with the fewest parameters (at least one); new WrappedPlainView makes the object with the constructor without parameters; the others: (new WrappedPlainView).@New([ :param = value ]) or .@New([v1,v2]).
Methods
| Method | Ring call | Java overloads |
|---|---|---|
nextTabStop | nextTabStop(x,tabOffset) | float nextTabStop(float x, int tabOffset) |
The methods and fields of BoxView are inherited.
ZoneView#
class · extends BoxView · javax.swing.text.ZoneView
Constructors
new ZoneView(Element elem, int axis) |
Ring: new ZoneView(args) uses the constructor with the fewest parameters (at least one); new ZoneView makes the object with the constructor without parameters; the others: (new ZoneView).@New([ :param = value ]) or .@New([v1,v2]).
Methods
| Method | Ring call | Java overloads |
|---|---|---|
getMaximumZoneSize | getMaximumZoneSize() | int getMaximumZoneSize() |
getMaxZonesLoaded | getMaxZonesLoaded() | int getMaxZonesLoaded() |
setMaximumZoneSize | setMaximumZoneSize(size) | void setMaximumZoneSize(int size) |
setMaxZonesLoaded | setMaxZonesLoaded(mzl) | void setMaxZonesLoaded(int mzl) |
The methods and fields of BoxView are inherited.