RingJavafor Ring

javax.swing.text

115 classes of the module java.desktop.

Load them with:

using {
	"javax.swing.text"
}

All packages

AbstractDocument AbstractDocumentAbstractElement AbstractDocumentAttributeContext AbstractDocumentBranchElement AbstractDocumentContent AbstractDocumentDefaultDocumentEvent AbstractDocumentElementEdit AbstractDocumentLeafElement AbstractWriter AsyncBoxView AsyncBoxViewChildLocator AsyncBoxViewChildState AttributeSetCharacterAttribute AttributeSetColorAttribute AttributeSetFontAttribute AttributeSetParagraphAttribute BadLocationException BoxView Caret ChangedCharSetException ComponentView CompositeView DateFormatter DefaultCaret DefaultEditorKit DefaultEditorKitBeepAction DefaultEditorKitCopyAction DefaultEditorKitCutAction DefaultEditorKitDefaultKeyTypedAction DefaultEditorKitInsertBreakAction DefaultEditorKitInsertContentAction DefaultEditorKitInsertTabAction DefaultEditorKitPasteAction DefaultFormatter DefaultFormatterFactory DefaultHighlighter DefaultHighlighterDefaultHighlightPainter DefaultStyledDocument DefaultStyledDocumentAttributeUndoableEdit DefaultStyledDocumentElementBuffer DefaultStyledDocumentElementSpec DefaultTextUI DocumentFilter DocumentFilterFilterBypass EditorKit ElementIterator FieldView FlowView FlowViewFlowStrategy GapContent GlyphView GlyphViewGlyphPainter Highlighter HighlighterHighlight HighlighterHighlightPainter IconView InternationalFormatter JTextComponent JTextComponentAccessibleJTextComponent JTextComponentDropLocation JTextComponentKeyBinding Keymap LabelView LayeredHighlighter LayeredHighlighterLayerPainter LayoutQueue MaskFormatter MutableAttributeSet NavigationFilter NavigationFilterFilterBypass NumberFormatter ParagraphView PasswordView PlainDocument PlainView Position PositionBias Segment SimpleAttributeSet StringContent Style StyleConstants StyleConstantsCharacterConstants StyleConstantsColorConstants StyleConstantsFontConstants StyleConstantsParagraphConstants StyleContext StyleContextNamedStyle StyleContextSmallAttributeSet StyledDocument StyledEditorKit StyledEditorKitAlignmentAction StyledEditorKitBoldAction StyledEditorKitFontFamilyAction StyledEditorKitFontSizeAction StyledEditorKitForegroundAction StyledEditorKitItalicAction StyledEditorKitStyledTextAction StyledEditorKitUnderlineAction TabableView TabExpander TableView TableViewTableCell TableViewTableRow TabSet TabStop TextAction TextAttributeSet TextDocument TextElement Utilities View ViewFactory WrappedPlainView ZoneView

AbstractDocument#

abstract · extends Object · javax.swing.text.AbstractDocument

Implements: TextDocument, Serializable

Fields

NameTypeAccessIn Ring
ParagraphElementNameStringconstant · statico.ParagraphElementName
ContentElementNameStringconstant · statico.ContentElementName
SectionElementNameStringconstant · statico.SectionElementName
BidiElementNameStringconstant · statico.BidiElementName
ElementNameAttributeStringconstant · statico.ElementNameAttribute
StreamDescriptionPropertyStringconstant · statico.StreamDescriptionProperty
TitlePropertyStringconstant · statico.TitleProperty

Methods

MethodRing callJava overloads
addDocumentListeneraddDocumentListener(listener)void addDocumentListener(DocumentListener listener)
addUndoableEditListeneraddUndoableEditListener(listener)void addUndoableEditListener(UndoableEditListener listener)
createPositioncreatePosition(offs)Position createPosition(int offs)
dumpdump(out)void dump(PrintStream out)
getAsynchronousLoadPrioritygetAsynchronousLoadPriority()int getAsynchronousLoadPriority()
getBidiRootElementgetBidiRootElement()Element getBidiRootElement()
getDefaultRootElementgetDefaultRootElement()Element getDefaultRootElement()
getDocumentFiltergetDocumentFilter()DocumentFilter getDocumentFilter()
getDocumentListenersgetDocumentListeners()DocumentListener[] getDocumentListeners()
getDocumentPropertiesgetDocumentProperties()Dictionary getDocumentProperties()
getEndPositiongetEndPosition()Position getEndPosition()
getLengthgetLength()int getLength()
getListenersgetListeners(listenerType)EventListener[] getListeners(Class listenerType)
getParagraphElementgetParagraphElement(pos)Element getParagraphElement(int pos)
getPropertygetProperty(key)Object getProperty(Object key)
getRootElementsgetRootElements()Element[] getRootElements()
getStartPositiongetStartPosition()Position getStartPosition()
getTextgetText([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)
getUndoableEditListenersgetUndoableEditListeners()UndoableEditListener[] getUndoableEditListeners()
insertStringinsertString(offs,str,a)void insertString(int offs, String str, AttributeSet a)
putPropertyputProperty(key,value)void putProperty(Object key, Object value)
readLockreadLock()void readLock()
readUnlockreadUnlock()void readUnlock()
removeremove(offs,len)void remove(int offs, int len)
removeDocumentListenerremoveDocumentListener(listener)void removeDocumentListener(DocumentListener listener)
removeUndoableEditListenerremoveUndoableEditListener(listener)void removeUndoableEditListener(UndoableEditListener listener)
renderrender(r)void render(Runnable r)
replacereplace(offset,length,text,attrs)void replace(int offset, int length, String text, AttributeSet attrs)
setAsynchronousLoadPrioritysetAsynchronousLoadPriority(p)void setAsynchronousLoadPriority(int p)
setDocumentFiltersetDocumentFilter(filter)void setDocumentFilter(DocumentFilter filter)
setDocumentPropertiessetDocumentProperties(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

NameTypeAccessIn Ring
NameAttributeObjectconstant · statico.NameAttribute
ResolveAttributeObjectconstant · statico.ResolveAttribute

Methods

MethodRing callJava overloads
addAttributeaddAttribute(name,value)void addAttribute(Object name, Object value)
addAttributesaddAttributes(attr)void addAttributes(AttributeSet attr)
childrenchildren()Enumeration children()
containsAttributecontainsAttribute(name,value)boolean containsAttribute(Object name, Object value)
containsAttributescontainsAttributes(attrs)boolean containsAttributes(AttributeSet attrs)
copyAttributescopyAttributes()AttributeSet copyAttributes()
dumpdump(psOut,indentAmount)void dump(PrintStream psOut, int indentAmount)
getAllowsChildrengetAllowsChildren()boolean getAllowsChildren()
getAttributegetAttribute(attrName)Object getAttribute(Object attrName)
getAttributeCountgetAttributeCount()int getAttributeCount()
getAttributeNamesgetAttributeNames()Enumeration getAttributeNames()
getAttributesgetAttributes()AttributeSet getAttributes()
getChildAtgetChildAt(childIndex)TreeNode getChildAt(int childIndex)
getChildCountgetChildCount()int getChildCount()
getDocumentgetDocument()Document getDocument()
getElementgetElement(index)Element getElement(int index)
getElementCountgetElementCount()int getElementCount()
getElementIndexgetElementIndex(offset)int getElementIndex(int offset)
getEndOffsetgetEndOffset()int getEndOffset()
getIndexgetIndex(node)int getIndex(TreeNode node)
getNamegetName()String getName()
getParentgetParent()TreeNode getParent()
getParentElementgetParentElement()Element getParentElement()
getResolveParentgetResolveParent()AttributeSet getResolveParent()
getStartOffsetgetStartOffset()int getStartOffset()
isDefinedisDefined(attrName)boolean isDefined(Object attrName)
isEqualisEqual(attr)boolean isEqual(AttributeSet attr)
isLeafisLeaf()boolean isLeaf()
removeAttributeremoveAttribute(name)void removeAttribute(Object name)
removeAttributesremoveAttributes(attrs)void removeAttributes(AttributeSet attrs)
void removeAttributes(Enumeration names)
setResolveParentsetResolveParent(parent)void setResolveParent(AttributeSet parent)

The methods and fields of Object are inherited.

AbstractDocumentAttributeContext#

interface · javax.swing.text.AbstractDocument$AttributeContext

Methods

MethodRing callJava overloads
addAttributeaddAttribute(old,name,value)AttributeSet addAttribute(AttributeSet old, Object name, Object value)
addAttributesaddAttributes(old,attr)AttributeSet addAttributes(AttributeSet old, AttributeSet attr)
getEmptySetgetEmptySet()AttributeSet getEmptySet()
reclaimreclaim(a)void reclaim(AttributeSet a)
removeAttributeremoveAttribute(old,name)AttributeSet removeAttribute(AttributeSet old, Object name)
removeAttributesremoveAttributes(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

MethodRing callJava overloads
positionToElementpositionToElement(pos)Element positionToElement(int pos)
replacereplace(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

MethodRing callJava overloads
createPositioncreatePosition(offset)Position createPosition(int offset)
getCharsgetChars(where,len,txt)void getChars(int where, int len, Segment txt)
getStringgetString(where,len)String getString(int where, int len)
insertStringinsertString(where,str)UndoableEdit insertString(int where, String str)
lengthlength()int length()
removeremove(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

MethodRing callJava overloads
getChangegetChange(elem)ElementChange getChange(Element elem)
getDocumentgetDocument()Document getDocument()
getLengthgetLength()int getLength()
getOffsetgetOffset()int getOffset()
getTypegetType()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

MethodRing callJava overloads
getChildrenAddedgetChildrenAdded()Element[] getChildrenAdded()
getChildrenRemovedgetChildrenRemoved()Element[] getChildrenRemoved()
getElementgetElement()Element getElement()
getIndexgetIndex()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

MethodRing callJava overloads
getEndOffsetgetEndOffset()int getEndOffset()
getLineSeparatorgetLineSeparator()String getLineSeparator()
getStartOffsetgetStartOffset()int getStartOffset()
setLineSeparatorsetLineSeparator(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

MethodRing callJava overloads
getBottomInsetgetBottomInset()float getBottomInset()
getLeftInsetgetLeftInset()float getLeftInset()
getMajorAxisgetMajorAxis()int getMajorAxis()
getMinorAxisgetMinorAxis()int getMinorAxis()
getRightInsetgetRightInset()float getRightInset()
getTopInsetgetTopInset()float getTopInset()
setBottomInsetsetBottomInset(i)void setBottomInset(float i)
setLeftInsetsetLeftInset(i)void setLeftInset(float i)
setRightInsetsetRightInset(i)void setRightInset(float i)
setTopInsetsetTopInset(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

MethodRing callJava overloads
childChangedchildChanged(cs)void childChanged(ChildState cs)
getChildAllocationgetChildAllocation(index,a)Shape getChildAllocation(int index, Shape a)
getViewIndexAtPointgetViewIndexAtPoint(x,y,a)int getViewIndexAtPoint(float x, float y, Shape a)
paintChildrenpaintChildren(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

MethodRing callJava overloads
getChildViewgetChildView()View getChildView()
getMajorOffsetgetMajorOffset()float getMajorOffset()
getMajorSpangetMajorSpan()float getMajorSpan()
getMinorOffsetgetMinorOffset()float getMinorOffset()
getMinorSpangetMinorSpan()float getMinorSpan()
isLayoutValidisLayoutValid()boolean isLayoutValid()
preferenceChangedpreferenceChanged(width,height)void preferenceChanged(boolean width, boolean height)
runrun()void run()
setMajorOffsetsetMajorOffset(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

MethodRing callJava overloads
offsetRequestedoffsetRequested()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

MethodRing callJava overloads
getAxisgetAxis()int getAxis()
getHeightgetHeight()int getHeight()
getWidthgetWidth()int getWidth()
layoutChangedlayoutChanged(axis)void layoutChanged(int axis)
setAxissetAxis(axis)void setAxis(int axis)

The methods and fields of CompositeView are inherited.

Caret#

interface · javax.swing.text.Caret

Methods

MethodRing callJava overloads
addChangeListeneraddChangeListener(l)void addChangeListener(ChangeListener l)
deinstalldeinstall(c)void deinstall(JTextComponent c)
getBlinkRategetBlinkRate()int getBlinkRate()
getDotgetDot()int getDot()
getMagicCaretPositiongetMagicCaretPosition()Point getMagicCaretPosition()
getMarkgetMark()int getMark()
installinstall(c)void install(JTextComponent c)
isSelectionVisibleisSelectionVisible()boolean isSelectionVisible()
isVisibleisVisible()boolean isVisible()
moveDotmoveDot(dot)void moveDot(int dot)
paintpaint(g)void paint(Graphics g)
removeChangeListenerremoveChangeListener(l)void removeChangeListener(ChangeListener l)
setBlinkRatesetBlinkRate(rate)void setBlinkRate(int rate)
setDotsetDot(dot)void setDot(int dot)
setMagicCaretPositionsetMagicCaretPosition(p)void setMagicCaretPosition(Point p)
setSelectionVisiblesetSelectionVisible(v)void setSelectionVisible(boolean v)
setVisiblesetVisible(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

MethodRing callJava overloads
getCharSetSpecgetCharSetSpec()String getCharSetSpec()
keyEqualsCharSetkeyEqualsCharSet()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

MethodRing callJava overloads
getComponentgetComponent()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

NameTypeAccessIn Ring
UPDATE_WHEN_ON_EDTintconstant · statico.UPDATE_WHEN_ON_EDT
NEVER_UPDATEintconstant · statico.NEVER_UPDATE
ALWAYS_UPDATEintconstant · statico.ALWAYS_UPDATE

Methods

MethodRing callJava overloads
addChangeListeneraddChangeListener(l)void addChangeListener(ChangeListener l)
deinstalldeinstall(c)void deinstall(JTextComponent c)
focusGainedfocusGained(e)void focusGained(FocusEvent e)
focusLostfocusLost(e)void focusLost(FocusEvent e)
getBlinkRategetBlinkRate()int getBlinkRate()
getChangeListenersgetChangeListeners()ChangeListener[] getChangeListeners()
getDotgetDot()int getDot()
getDotBiasgetDotBias()Bias getDotBias()
getListenersgetListeners(listenerType)EventListener[] getListeners(Class listenerType)
getMagicCaretPositiongetMagicCaretPosition()Point getMagicCaretPosition()
getMarkgetMark()int getMark()
getMarkBiasgetMarkBias()Bias getMarkBias()
getUpdatePolicygetUpdatePolicy()int getUpdatePolicy()
installinstall(c)void install(JTextComponent c)
isActiveisActive()boolean isActive()
isSelectionVisibleisSelectionVisible()boolean isSelectionVisible()
isVisibleisVisible()boolean isVisible()
mouseClickedmouseClicked(e)void mouseClicked(MouseEvent e)
mouseDraggedmouseDragged(e)void mouseDragged(MouseEvent e)
mouseEnteredmouseEntered(e)void mouseEntered(MouseEvent e)
mouseExitedmouseExited(e)void mouseExited(MouseEvent e)
mouseMovedmouseMoved(e)void mouseMoved(MouseEvent e)
mousePressedmousePressed(e)void mousePressed(MouseEvent e)
mouseReleasedmouseReleased(e)void mouseReleased(MouseEvent e)
moveDotmoveDot(dot)
moveDot([dot,dotBias])
moveDot([ :dot = v, :dotBias = v ])
void moveDot(int dot)
void moveDot(int dot, Bias dotBias)
paintpaint(g)void paint(Graphics g)
removeChangeListenerremoveChangeListener(l)void removeChangeListener(ChangeListener l)
setBlinkRatesetBlinkRate(rate)void setBlinkRate(int rate)
setDotsetDot(dot)
setDot([dot,dotBias])
setDot([ :dot = v, :dotBias = v ])
void setDot(int dot)
void setDot(int dot, Bias dotBias)
setMagicCaretPositionsetMagicCaretPosition(p)void setMagicCaretPosition(Point p)
setSelectionVisiblesetSelectionVisible(vis)void setSelectionVisible(boolean vis)
setUpdatePolicysetUpdatePolicy(policy)void setUpdatePolicy(int policy)
setVisiblesetVisible(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

NameTypeAccessIn Ring
EndOfLineStringPropertyStringconstant · statico.EndOfLineStringProperty
insertContentActionStringconstant · statico.insertContentAction
insertBreakActionStringconstant · statico.insertBreakAction
insertTabActionStringconstant · statico.insertTabAction
deletePrevCharActionStringconstant · statico.deletePrevCharAction
deleteNextCharActionStringconstant · statico.deleteNextCharAction
deleteNextWordActionStringconstant · statico.deleteNextWordAction
deletePrevWordActionStringconstant · statico.deletePrevWordAction
readOnlyActionStringconstant · statico.readOnlyAction
writableActionStringconstant · statico.writableAction
cutActionStringconstant · statico.cutAction
copyActionStringconstant · statico.copyAction
pasteActionStringconstant · statico.pasteAction
beepActionStringconstant · statico.beepAction
pageUpActionStringconstant · statico.pageUpAction
pageDownActionStringconstant · statico.pageDownAction
forwardActionStringconstant · statico.forwardAction
backwardActionStringconstant · statico.backwardAction
selectionForwardActionStringconstant · statico.selectionForwardAction
selectionBackwardActionStringconstant · statico.selectionBackwardAction
upActionStringconstant · statico.upAction
downActionStringconstant · statico.downAction
selectionUpActionStringconstant · statico.selectionUpAction
selectionDownActionStringconstant · statico.selectionDownAction
beginWordActionStringconstant · statico.beginWordAction
endWordActionStringconstant · statico.endWordAction
selectionBeginWordActionStringconstant · statico.selectionBeginWordAction
selectionEndWordActionStringconstant · statico.selectionEndWordAction
previousWordActionStringconstant · statico.previousWordAction
nextWordActionStringconstant · statico.nextWordAction
selectionPreviousWordActionStringconstant · statico.selectionPreviousWordAction
selectionNextWordActionStringconstant · statico.selectionNextWordAction
beginLineActionStringconstant · statico.beginLineAction
endLineActionStringconstant · statico.endLineAction
beginLineUpActionStringconstant · statico.beginLineUpAction
endLineDownActionStringconstant · statico.endLineDownAction
selectionBeginLineActionStringconstant · statico.selectionBeginLineAction
selectionEndLineActionStringconstant · statico.selectionEndLineAction
beginParagraphActionStringconstant · statico.beginParagraphAction
endParagraphActionStringconstant · statico.endParagraphAction
selectionBeginParagraphActionStringconstant · statico.selectionBeginParagraphAction
selectionEndParagraphActionStringconstant · statico.selectionEndParagraphAction
beginActionStringconstant · statico.beginAction
endActionStringconstant · statico.endAction
selectionBeginActionStringconstant · statico.selectionBeginAction
selectionEndActionStringconstant · statico.selectionEndAction
selectWordActionStringconstant · statico.selectWordAction
selectLineActionStringconstant · statico.selectLineAction
selectParagraphActionStringconstant · statico.selectParagraphAction
selectAllActionStringconstant · statico.selectAllAction
defaultKeyTypedActionStringconstant · statico.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

MethodRing callJava overloads
cloneclone()Object clone()
getAllowsInvalidgetAllowsInvalid()boolean getAllowsInvalid()
getCommitsOnValidEditgetCommitsOnValidEdit()boolean getCommitsOnValidEdit()
getOverwriteModegetOverwriteMode()boolean getOverwriteMode()
getValueClassgetValueClass()Class getValueClass()
setAllowsInvalidsetAllowsInvalid(allowsInvalid)void setAllowsInvalid(boolean allowsInvalid)
setCommitsOnValidEditsetCommitsOnValidEdit(commit)void setCommitsOnValidEdit(boolean commit)
setOverwriteModesetOverwriteMode(overwriteMode)void setOverwriteMode(boolean overwriteMode)
setValueClasssetValueClass(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

MethodRing callJava overloads
getDefaultFormattergetDefaultFormatter()AbstractFormatter getDefaultFormatter()
getDisplayFormattergetDisplayFormatter()AbstractFormatter getDisplayFormatter()
getEditFormattergetEditFormatter()AbstractFormatter getEditFormatter()
getNullFormattergetNullFormatter()AbstractFormatter getNullFormatter()
setDefaultFormattersetDefaultFormatter(atf)void setDefaultFormatter(AbstractFormatter atf)
setDisplayFormattersetDisplayFormatter(atf)void setDisplayFormatter(AbstractFormatter atf)
setEditFormattersetEditFormatter(atf)void setEditFormatter(AbstractFormatter atf)
setNullFormattersetNullFormatter(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

NameTypeAccessIn Ring
DefaultPainterLayerPainterconstant · statico.DefaultPainter

Methods

MethodRing callJava overloads
getDrawsLayeredHighlightsgetDrawsLayeredHighlights()boolean getDrawsLayeredHighlights()
setDrawsLayeredHighlightssetDrawsLayeredHighlights(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

MethodRing callJava overloads
getColorgetColor()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

NameTypeAccessIn Ring
BUFFER_SIZE_DEFAULTintconstant · statico.BUFFER_SIZE_DEFAULT

Methods

MethodRing callJava overloads
addStyleaddStyle(nm,parent)Style addStyle(String nm, Style parent)
getBackgroundgetBackground(attr)Color getBackground(AttributeSet attr)
getCharacterElementgetCharacterElement(pos)Element getCharacterElement(int pos)
getFontgetFont(attr)Font getFont(AttributeSet attr)
getForegroundgetForeground(attr)Color getForeground(AttributeSet attr)
getLogicalStylegetLogicalStyle(p)Style getLogicalStyle(int p)
getStylegetStyle(nm)Style getStyle(String nm)
getStyleNamesgetStyleNames()Enumeration getStyleNames()
removeElementremoveElement(elem)void removeElement(Element elem)
removeStyleremoveStyle(nm)void removeStyle(String nm)
setCharacterAttributessetCharacterAttributes(offset,length,s,replace)void setCharacterAttributes(int offset, int length, AttributeSet s, boolean replace)
setLogicalStylesetLogicalStyle(pos,s)void setLogicalStyle(int pos, Style s)
setParagraphAttributessetParagraphAttributes(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

MethodRing callJava overloads
changechange(offset,length,de)void change(int offset, int length, DefaultDocumentEvent de)
cloneclone(parent,clonee)Element clone(Element parent, Element clonee)
getRootElementgetRootElement()Element getRootElement()
insertinsert(offset,length,data,de)void insert(int offset, int length, ElementSpec[] data, DefaultDocumentEvent de)
removeremove(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

NameTypeAccessIn Ring
StartTagTypeshortconstant · statico.StartTagType
EndTagTypeshortconstant · statico.EndTagType
ContentTypeshortconstant · statico.ContentType
JoinPreviousDirectionshortconstant · statico.JoinPreviousDirection
JoinNextDirectionshortconstant · statico.JoinNextDirection
OriginateDirectionshortconstant · statico.OriginateDirection
JoinFractureDirectionshortconstant · statico.JoinFractureDirection

Methods

MethodRing callJava overloads
getArraygetArray()char[] getArray()
getAttributesgetAttributes()AttributeSet getAttributes()
getDirectiongetDirection()short getDirection()
getLengthgetLength()int getLength()
getOffsetgetOffset()int getOffset()
getTypegetType()short getType()
setDirectionsetDirection(direction)void setDirection(short direction)
setTypesetType(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

MethodRing callJava overloads
insertStringinsertString(fb,offset,string,attr)void insertString(FilterBypass fb, int offset, String string, AttributeSet attr)
removeremove(fb,offset,length)void remove(FilterBypass fb, int offset, int length)
replacereplace(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

MethodRing callJava overloads
getDocumentgetDocument()Document getDocument()
insertStringinsertString(offset,string,attr)void insertString(int offset, String string, AttributeSet attr)
removeremove(offset,length)void remove(int offset, int length)
replacereplace(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

MethodRing callJava overloads
cloneclone()Object clone()
createCaretcreateCaret()Caret createCaret()
createDefaultDocumentcreateDefaultDocument()Document createDefaultDocument()
deinstalldeinstall(c)void deinstall(JEditorPane c)
getActionsgetActions()Action[] getActions()
getContentTypegetContentType()String getContentType()
getViewFactorygetViewFactory()ViewFactory getViewFactory()
installinstall(c)void install(JEditorPane c)
readread(in,doc,pos)void read(InputStream in, Document doc, int pos)
void read(Reader in, Document doc, int pos)
writewrite(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

MethodRing callJava overloads
@next@next()Element next()
cloneclone()Object clone()
currentcurrent()Element current()
depthdepth()int depth()
firstfirst()Element first()
previousprevious()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

MethodRing callJava overloads
getFlowAxisgetFlowAxis()int getFlowAxis()
getFlowSpangetFlowSpan(index)int getFlowSpan(int index)
getFlowStartgetFlowStart(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

MethodRing callJava overloads
changedUpdatechangedUpdate(fv,e,alloc)void changedUpdate(FlowView fv, DocumentEvent e, Rectangle alloc)
insertUpdateinsertUpdate(fv,e,alloc)void insertUpdate(FlowView fv, DocumentEvent e, Rectangle alloc)
layoutlayout(fv)void layout(FlowView fv)
removeUpdateremoveUpdate(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

MethodRing callJava overloads
createPositioncreatePosition(offset)Position createPosition(int offset)
getCharsgetChars(where,len,chars)void getChars(int where, int len, Segment chars)
getStringgetString(where,len)String getString(int where, int len)
insertStringinsertString(where,str)UndoableEdit insertString(int where, String str)
lengthlength()int length()
removeremove(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

MethodRing callJava overloads
getBackgroundgetBackground()Color getBackground()
getFontgetFont()Font getFont()
getForegroundgetForeground()Color getForeground()
getGlyphPaintergetGlyphPainter()GlyphPainter getGlyphPainter()
getPartialSpangetPartialSpan(p0,p1)float getPartialSpan(int p0, int p1)
getTabbedSpangetTabbedSpan(x,e)float getTabbedSpan(float x, TabExpander e)
getTabExpandergetTabExpander()TabExpander getTabExpander()
getTextgetText(p0,p1)Segment getText(int p0, int p1)
isStrikeThroughisStrikeThrough()boolean isStrikeThrough()
isSubscriptisSubscript()boolean isSubscript()
isSuperscriptisSuperscript()boolean isSuperscript()
isUnderlineisUnderline()boolean isUnderline()
setGlyphPaintersetGlyphPainter(p)void setGlyphPainter(GlyphPainter p)

The methods and fields of View are inherited.

GlyphViewGlyphPainter#

abstract · extends Object · javax.swing.text.GlyphView$GlyphPainter

Methods

MethodRing callJava overloads
getAscentgetAscent(v)float getAscent(GlyphView v)
getBoundedPositiongetBoundedPosition(v,p0,x,len)int getBoundedPosition(GlyphView v, int p0, float x, float len)
getDescentgetDescent(v)float getDescent(GlyphView v)
getHeightgetHeight(v)float getHeight(GlyphView v)
getNextVisualPositionFromgetNextVisualPositionFrom(v,pos,b,a,direction,biasRet)int getNextVisualPositionFrom(GlyphView v, int pos, Bias b, Shape a, int direction, Bias[] biasRet)
getPaintergetPainter(v,p0,p1)GlyphPainter getPainter(GlyphView v, int p0, int p1)
getSpangetSpan(v,p0,p1,e,x)float getSpan(GlyphView v, int p0, int p1, TabExpander e, float x)
modelToViewmodelToView(v,pos,bias,a)Shape modelToView(GlyphView v, int pos, Bias bias, Shape a)
paintpaint(v,g,a,p0,p1)void paint(GlyphView v, Graphics g, Shape a, int p0, int p1)
viewToModelviewToModel(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

MethodRing callJava overloads
addHighlightaddHighlight(p0,p1,p)Object addHighlight(int p0, int p1, HighlightPainter p)
changeHighlightchangeHighlight(tag,p0,p1)void changeHighlight(Object tag, int p0, int p1)
deinstalldeinstall(c)void deinstall(JTextComponent c)
getHighlightsgetHighlights()Highlight[] getHighlights()
installinstall(c)void install(JTextComponent c)
paintpaint(g)void paint(Graphics g)
removeAllHighlightsremoveAllHighlights()void removeAllHighlights()
removeHighlightremoveHighlight(tag)void removeHighlight(Object tag)

HighlighterHighlight#

interface · javax.swing.text.Highlighter$Highlight

Methods

MethodRing callJava overloads
getEndOffsetgetEndOffset()int getEndOffset()
getPaintergetPainter()HighlightPainter getPainter()
getStartOffsetgetStartOffset()int getStartOffset()

HighlighterHighlightPainter#

interface · javax.swing.text.Highlighter$HighlightPainter

Methods

MethodRing callJava overloads
paintpaint(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

MethodRing callJava overloads
getFieldsgetFields(offset)Field[] getFields(int offset)
getFormatgetFormat()Format getFormat()
getMaximumgetMaximum()Comparable getMaximum()
getMinimumgetMinimum()Comparable getMinimum()
setFormatsetFormat(format)void setFormat(Format format)
setMaximumsetMaximum(max)void setMaximum(Comparable max)
setMinimumsetMinimum(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

NameTypeAccessIn Ring
FOCUS_ACCELERATOR_KEYStringconstant · statico.FOCUS_ACCELERATOR_KEY
DEFAULT_KEYMAPStringconstant · statico.DEFAULT_KEYMAP

Methods

MethodRing callJava 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)
addCaretListeneraddCaretListener(listener)void addCaretListener(CaretListener listener)
addKeymapaddKeymap(nm,parent)static Keymap addKeymap(String nm, Keymap parent)
copycopy()void copy()
cutcut()void cut()
getActionsgetActions()Action[] getActions()
getCaretgetCaret()Caret getCaret()
getCaretColorgetCaretColor()Color getCaretColor()
getCaretListenersgetCaretListeners()CaretListener[] getCaretListeners()
getCaretPositiongetCaretPosition()int getCaretPosition()
getDisabledTextColorgetDisabledTextColor()Color getDisabledTextColor()
getDocumentgetDocument()Document getDocument()
getDragEnabledgetDragEnabled()boolean getDragEnabled()
getDropLocationgetDropLocation()DropLocation getDropLocation()
getDropModegetDropMode()DropMode getDropMode()
getFocusAcceleratorgetFocusAccelerator()char getFocusAccelerator()
getHighlightergetHighlighter()Highlighter getHighlighter()
getKeymapgetKeymap()Keymap getKeymap()
getMargingetMargin()Insets getMargin()
getNavigationFiltergetNavigationFilter()NavigationFilter getNavigationFilter()
getPreferredScrollableViewportSizegetPreferredScrollableViewportSize()Dimension getPreferredScrollableViewportSize()
getPrintablegetPrintable(headerFormat,footerFormat)Printable getPrintable(MessageFormat headerFormat, MessageFormat footerFormat)
getScrollableBlockIncrementgetScrollableBlockIncrement(visibleRect,orientation,direction)int getScrollableBlockIncrement(Rectangle visibleRect, int orientation, int direction)
getScrollableTracksViewportHeightgetScrollableTracksViewportHeight()boolean getScrollableTracksViewportHeight()
getScrollableTracksViewportWidthgetScrollableTracksViewportWidth()boolean getScrollableTracksViewportWidth()
getScrollableUnitIncrementgetScrollableUnitIncrement(visibleRect,orientation,direction)int getScrollableUnitIncrement(Rectangle visibleRect, int orientation, int direction)
getSelectedTextgetSelectedText()String getSelectedText()
getSelectedTextColorgetSelectedTextColor()Color getSelectedTextColor()
getSelectionColorgetSelectionColor()Color getSelectionColor()
getSelectionEndgetSelectionEnd()int getSelectionEnd()
getSelectionStartgetSelectionStart()int getSelectionStart()
getTextgetText()String getText()
isEditableisEditable()boolean isEditable()
loadKeymaploadKeymap(map,bindings,actions)static void loadKeymap(Keymap map, KeyBinding[] bindings, Action[] actions)
modelToViewmodelToView(pos)Rectangle modelToView(int pos)
modelToView2DmodelToView2D(pos)Rectangle2D modelToView2D(int pos)
moveCaretPositionmoveCaretPosition(pos)void moveCaretPosition(int pos)
pastepaste()void paste()
printprint()boolean print()
readread(in,desc)void read(Reader in, Object desc)
removeCaretListenerremoveCaretListener(listener)void removeCaretListener(CaretListener listener)
removeKeymapremoveKeymap(nm)static Keymap removeKeymap(String nm)
replaceSelectionreplaceSelection(content)void replaceSelection(String content)
selectselect(selectionStart,selectionEnd)void select(int selectionStart, int selectionEnd)
selectAllselectAll()void selectAll()
setCaretsetCaret(c)void setCaret(Caret c)
setCaretColorsetCaretColor(c)void setCaretColor(Color c)
setCaretPositionsetCaretPosition(position)void setCaretPosition(int position)
setDisabledTextColorsetDisabledTextColor(c)void setDisabledTextColor(Color c)
setDocumentsetDocument(doc)void setDocument(Document doc)
setDragEnabledsetDragEnabled(b)void setDragEnabled(boolean b)
setDropModesetDropMode(dropMode)void setDropMode(DropMode dropMode)
setEditablesetEditable(b)void setEditable(boolean b)
setFocusAcceleratorsetFocusAccelerator(aKey)void setFocusAccelerator(char aKey)
setHighlightersetHighlighter(h)void setHighlighter(Highlighter h)
setKeymapsetKeymap(map)void setKeymap(Keymap map)
setMarginsetMargin(m)void setMargin(Insets m)
setNavigationFiltersetNavigationFilter(filter)void setNavigationFilter(NavigationFilter filter)
setSelectedTextColorsetSelectedTextColor(c)void setSelectedTextColor(Color c)
setSelectionColorsetSelectionColor(c)void setSelectionColor(Color c)
setSelectionEndsetSelectionEnd(selectionEnd)void setSelectionEnd(int selectionEnd)
setSelectionStartsetSelectionStart(selectionStart)void setSelectionStart(int selectionStart)
setTextsetText(t)void setText(String t)
setUIsetUI(ui)void setUI(TextUI ui)
viewToModelviewToModel(pt)int viewToModel(Point pt)
viewToModel2DviewToModel2D(pt)int viewToModel2D(Point2D pt)
writewrite(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

NameTypeAccessIn Ring
CHARACTERintconstant · statico.CHARACTER
WORDintconstant · statico.WORD
SENTENCEintconstant · statico.SENTENCE
TOGGLE_EXPANDStringconstant · statico.TOGGLE_EXPAND
INCREMENTStringconstant · statico.INCREMENT
DECREMENTStringconstant · statico.DECREMENT
CLICKStringconstant · statico.CLICK
TOGGLE_POPUPStringconstant · statico.TOGGLE_POPUP
LINEintconstant · statico.LINE
ATTRIBUTE_RUNintconstant · statico.ATTRIBUTE_RUN

Methods

MethodRing callJava overloads
caretUpdatecaretUpdate(e)void caretUpdate(CaretEvent e)
changedUpdatechangedUpdate(e)void changedUpdate(DocumentEvent e)
cutcut(startIndex,endIndex)void cut(int startIndex, int endIndex)
deletedelete(startIndex,endIndex)void delete(int startIndex, int endIndex)
doAccessibleActiondoAccessibleAction(i)boolean doAccessibleAction(int i)
getAccessibleActionCountgetAccessibleActionCount()int getAccessibleActionCount()
getAccessibleActionDescriptiongetAccessibleActionDescription(i)String getAccessibleActionDescription(int i)
getAfterIndexgetAfterIndex(part,index)String getAfterIndex(int part, int index)
getAtIndexgetAtIndex(part,index)String getAtIndex(int part, int index)
getBeforeIndexgetBeforeIndex(part,index)String getBeforeIndex(int part, int index)
getCaretPositiongetCaretPosition()int getCaretPosition()
getCharacterAttributegetCharacterAttribute(i)AttributeSet getCharacterAttribute(int i)
getCharacterBoundsgetCharacterBounds(i)Rectangle getCharacterBounds(int i)
getCharCountgetCharCount()int getCharCount()
getIndexAtPointgetIndexAtPoint(p)int getIndexAtPoint(Point p)
getSelectedTextgetSelectedText()String getSelectedText()
getSelectionEndgetSelectionEnd()int getSelectionEnd()
getSelectionStartgetSelectionStart()int getSelectionStart()
getTextBoundsgetTextBounds(startIndex,endIndex)Rectangle getTextBounds(int startIndex, int endIndex)
getTextRangegetTextRange(startIndex,endIndex)String getTextRange(int startIndex, int endIndex)
getTextSequenceAftergetTextSequenceAfter(part,index)AccessibleTextSequence getTextSequenceAfter(int part, int index)
getTextSequenceAtgetTextSequenceAt(part,index)AccessibleTextSequence getTextSequenceAt(int part, int index)
getTextSequenceBeforegetTextSequenceBefore(part,index)AccessibleTextSequence getTextSequenceBefore(int part, int index)
insertTextAtIndexinsertTextAtIndex(index,s)void insertTextAtIndex(int index, String s)
insertUpdateinsertUpdate(e)void insertUpdate(DocumentEvent e)
pastepaste(startIndex)void paste(int startIndex)
removeUpdateremoveUpdate(e)void removeUpdate(DocumentEvent e)
replaceTextreplaceText(startIndex,endIndex,s)void replaceText(int startIndex, int endIndex, String s)
selectTextselectText(startIndex,endIndex)void selectText(int startIndex, int endIndex)
setAttributessetAttributes(startIndex,endIndex,as)void setAttributes(int startIndex, int endIndex, AttributeSet as)
setTextContentssetTextContents(s)void setTextContents(String s)

The methods and fields of JComponentAccessibleJComponent are inherited.

JTextComponentDropLocation#

class final · extends TransferHandlerDropLocation · javax.swing.text.JTextComponent$DropLocation

Methods

MethodRing callJava overloads
getBiasgetBias()Bias getBias()
getIndexgetIndex()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

NameTypeAccessIn Ring
keyKeyStrokeread, writeo.key o.key = v
actionNameStringread, writeo.actionName o.actionName = v

The methods and fields of Object are inherited.

Keymap#

interface · javax.swing.text.Keymap

Methods

MethodRing callJava overloads
addActionForKeyStrokeaddActionForKeyStroke(key,a)void addActionForKeyStroke(KeyStroke key, Action a)
getActiongetAction(key)Action getAction(KeyStroke key)
getBoundActionsgetBoundActions()Action[] getBoundActions()
getBoundKeyStrokesgetBoundKeyStrokes()KeyStroke[] getBoundKeyStrokes()
getDefaultActiongetDefaultAction()Action getDefaultAction()
getKeyStrokesForActiongetKeyStrokesForAction(a)KeyStroke[] getKeyStrokesForAction(Action a)
getNamegetName()String getName()
getResolveParentgetResolveParent()Keymap getResolveParent()
isLocallyDefinedisLocallyDefined(key)boolean isLocallyDefined(KeyStroke key)
removeBindingsremoveBindings()void removeBindings()
removeKeyStrokeBindingremoveKeyStrokeBinding(keys)void removeKeyStrokeBinding(KeyStroke keys)
setDefaultActionsetDefaultAction(a)void setDefaultAction(Action a)
setResolveParentsetResolveParent(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

MethodRing callJava overloads
addHighlightaddHighlight(p0,p1,p)Object addHighlight(int p0, int p1, HighlightPainter p)
changeHighlightchangeHighlight(tag,p0,p1)void changeHighlight(Object tag, int p0, int p1)
deinstalldeinstall(c)void deinstall(JTextComponent c)
getHighlightsgetHighlights()Highlight[] getHighlights()
installinstall(c)void install(JTextComponent c)
paintpaint(g)void paint(Graphics g)
paintLayeredHighlightspaintLayeredHighlights(g,p0,p1,viewBounds,editor,view)void paintLayeredHighlights(Graphics g, int p0, int p1, Shape viewBounds, JTextComponent editor, View view)
removeAllHighlightsremoveAllHighlights()void removeAllHighlights()
removeHighlightremoveHighlight(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

MethodRing callJava overloads
paintpaint(g,p0,p1,bounds,c)void paint(Graphics g, int p0, int p1, Shape bounds, JTextComponent c)
paintLayerpaintLayer(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

MethodRing callJava overloads
addTaskaddTask(task)void addTask(Runnable task)
getDefaultQueuegetDefaultQueue()static LayoutQueue getDefaultQueue()
setDefaultQueuesetDefaultQueue(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

MethodRing callJava overloads
getInvalidCharactersgetInvalidCharacters()String getInvalidCharacters()
getMaskgetMask()String getMask()
getPlaceholdergetPlaceholder()String getPlaceholder()
getPlaceholderCharactergetPlaceholderCharacter()char getPlaceholderCharacter()
getValidCharactersgetValidCharacters()String getValidCharacters()
getValueContainsLiteralCharactersgetValueContainsLiteralCharacters()boolean getValueContainsLiteralCharacters()
setInvalidCharacterssetInvalidCharacters(invalidCharacters)void setInvalidCharacters(String invalidCharacters)
setMasksetMask(mask)void setMask(String mask)
setPlaceholdersetPlaceholder(placeholder)void setPlaceholder(String placeholder)
setPlaceholderCharactersetPlaceholderCharacter(placeholder)void setPlaceholderCharacter(char placeholder)
setValidCharacterssetValidCharacters(validCharacters)void setValidCharacters(String validCharacters)
setValueContainsLiteralCharacterssetValueContainsLiteralCharacters(containsLiteralChars)void setValueContainsLiteralCharacters(boolean containsLiteralChars)

The methods and fields of DefaultFormatter are inherited.

MutableAttributeSet#

interface · javax.swing.text.MutableAttributeSet

Extends: TextAttributeSet

Fields

NameTypeAccessIn Ring
NameAttributeObjectconstant · statico.NameAttribute
ResolveAttributeObjectconstant · statico.ResolveAttribute

Methods

MethodRing callJava overloads
addAttributeaddAttribute(name,value)void addAttribute(Object name, Object value)
addAttributesaddAttributes(attributes)void addAttributes(AttributeSet attributes)
containsAttributecontainsAttribute(name,value)boolean containsAttribute(Object name, Object value)
containsAttributescontainsAttributes(attributes)boolean containsAttributes(AttributeSet attributes)
copyAttributescopyAttributes()AttributeSet copyAttributes()
getAttributegetAttribute(key)Object getAttribute(Object key)
getAttributeCountgetAttributeCount()int getAttributeCount()
getAttributeNamesgetAttributeNames()Enumeration getAttributeNames()
getResolveParentgetResolveParent()AttributeSet getResolveParent()
isDefinedisDefined(attrName)boolean isDefined(Object attrName)
isEqualisEqual(attr)boolean isEqual(AttributeSet attr)
removeAttributeremoveAttribute(name)void removeAttribute(Object name)
removeAttributesremoveAttributes(attributes)void removeAttributes(AttributeSet attributes)
void removeAttributes(Enumeration names)
setResolveParentsetResolveParent(parent)void setResolveParent(AttributeSet parent)
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

MethodRing callJava overloads
getNextVisualPositionFromgetNextVisualPositionFrom(text,pos,bias,direction,biasRet)int getNextVisualPositionFrom(JTextComponent text, int pos, Bias bias, int direction, Bias[] biasRet)
moveDotmoveDot(fb,dot,bias)void moveDot(FilterBypass fb, int dot, Bias bias)
setDotsetDot(fb,dot,bias)void setDot(FilterBypass fb, int dot, Bias bias)

The methods and fields of Object are inherited.

abstract · extends Object · javax.swing.text.NavigationFilter$FilterBypass

Methods

MethodRing callJava overloads
getCaretgetCaret()Caret getCaret()
moveDotmoveDot(dot,bias)void moveDot(int dot, Bias bias)
setDotsetDot(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

MethodRing callJava overloads
breakViewbreakView([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)
getBreakWeightgetBreakWeight([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)
nextTabStopnextTabStop(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

NameTypeAccessIn Ring
tabSizeAttributeStringconstant · statico.tabSizeAttribute
lineLimitAttributeStringconstant · statico.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

MethodRing callJava overloads
nextTabStopnextTabStop(x,tabOffset)float nextTabStop(float x, int tabOffset)

The methods and fields of View are inherited.

Position#

interface · javax.swing.text.Position

Methods

MethodRing callJava overloads
getOffsetgetOffset()int getOffset()

PositionBias#

class final · extends Object · javax.swing.text.Position$Bias

Fields

NameTypeAccessIn Ring
ForwardBiasconstant · statico.Forward
BackwardBiasconstant · statico.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

NameTypeAccessIn Ring
arraychar[]read, writeo.array o.array = v
offsetintread, writeo.offset o.offset = v
countintread, writeo.count o.count = v
DONEcharconstant · statico.DONE

Methods

MethodRing callJava overloads
@next@next()char next()
charAtcharAt(index)char charAt(int index)
charschars()IntStream chars()
cloneclone()Object clone()
codePointscodePoints()IntStream codePoints()
currentcurrent()char current()
firstfirst()char first()
getBeginIndexgetBeginIndex()int getBeginIndex()
getCharsgetChars(srcBegin,srcEnd,dst,dstBegin)void getChars(int srcBegin, int srcEnd, char[] dst, int dstBegin)
getEndIndexgetEndIndex()int getEndIndex()
getIndexgetIndex()int getIndex()
isEmptyisEmpty()boolean isEmpty()
isPartialReturnisPartialReturn()boolean isPartialReturn()
lastlast()char last()
lengthlength()int length()
previousprevious()char previous()
setIndexsetIndex(position)char setIndex(int position)
setPartialReturnsetPartialReturn(p)void setPartialReturn(boolean p)
subSequencesubSequence(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

NameTypeAccessIn Ring
EMPTYAttributeSetconstant · statico.EMPTY
NameAttributeObjectconstant · statico.NameAttribute
ResolveAttributeObjectconstant · statico.ResolveAttribute

Methods

MethodRing callJava overloads
addAttributeaddAttribute(name,value)void addAttribute(Object name, Object value)
addAttributesaddAttributes(attributes)void addAttributes(AttributeSet attributes)
cloneclone()Object clone()
containsAttributecontainsAttribute(name,value)boolean containsAttribute(Object name, Object value)
containsAttributescontainsAttributes(attributes)boolean containsAttributes(AttributeSet attributes)
copyAttributescopyAttributes()AttributeSet copyAttributes()
getAttributegetAttribute(name)Object getAttribute(Object name)
getAttributeCountgetAttributeCount()int getAttributeCount()
getAttributeNamesgetAttributeNames()Enumeration getAttributeNames()
getResolveParentgetResolveParent()AttributeSet getResolveParent()
isDefinedisDefined(attrName)boolean isDefined(Object attrName)
isEmptyisEmpty()boolean isEmpty()
isEqualisEqual(attr)boolean isEqual(AttributeSet attr)
removeAttributeremoveAttribute(name)void removeAttribute(Object name)
removeAttributesremoveAttributes(names)void removeAttributes(Enumeration names)
void removeAttributes(AttributeSet attributes)
setResolveParentsetResolveParent(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

MethodRing callJava overloads
createPositioncreatePosition(offset)Position createPosition(int offset)
getCharsgetChars(where,len,chars)void getChars(int where, int len, Segment chars)
getStringgetString(where,len)String getString(int where, int len)
insertStringinsertString(where,str)UndoableEdit insertString(int where, String str)
lengthlength()int length()
removeremove(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

NameTypeAccessIn Ring
NameAttributeObjectconstant · statico.NameAttribute
ResolveAttributeObjectconstant · statico.ResolveAttribute

Methods

MethodRing callJava overloads
addAttributeaddAttribute(name,value)void addAttribute(Object name, Object value)
addAttributesaddAttributes(attributes)void addAttributes(AttributeSet attributes)
addChangeListeneraddChangeListener(l)void addChangeListener(ChangeListener l)
containsAttributecontainsAttribute(name,value)boolean containsAttribute(Object name, Object value)
containsAttributescontainsAttributes(attributes)boolean containsAttributes(AttributeSet attributes)
copyAttributescopyAttributes()AttributeSet copyAttributes()
getAttributegetAttribute(key)Object getAttribute(Object key)
getAttributeCountgetAttributeCount()int getAttributeCount()
getAttributeNamesgetAttributeNames()Enumeration getAttributeNames()
getNamegetName()String getName()
getResolveParentgetResolveParent()AttributeSet getResolveParent()
isDefinedisDefined(attrName)boolean isDefined(Object attrName)
isEqualisEqual(attr)boolean isEqual(AttributeSet attr)
removeAttributeremoveAttribute(name)void removeAttribute(Object name)
removeAttributesremoveAttributes(attributes)void removeAttributes(AttributeSet attributes)
void removeAttributes(Enumeration names)
removeChangeListenerremoveChangeListener(l)void removeChangeListener(ChangeListener l)
setResolveParentsetResolveParent(parent)void setResolveParent(AttributeSet parent)

StyleConstants#

class · extends Object · javax.swing.text.StyleConstants

Fields

NameTypeAccessIn Ring
ComponentElementNameStringconstant · statico.ComponentElementName
IconElementNameStringconstant · statico.IconElementName
NameAttributeObjectconstant · statico.NameAttribute
ResolveAttributeObjectconstant · statico.ResolveAttribute
ModelAttributeObjectconstant · statico.ModelAttribute
FamilyObjectconstant · statico.Family
SizeObjectconstant · statico.Size
BoldObjectconstant · statico.Bold
ItalicObjectconstant · statico.Italic
UnderlineObjectconstant · statico.Underline
StrikeThroughObjectconstant · statico.StrikeThrough
SuperscriptObjectconstant · statico.Superscript
SubscriptObjectconstant · statico.Subscript
ComponentAttributeObjectconstant · statico.ComponentAttribute
IconAttributeObjectconstant · statico.IconAttribute
ComposedTextAttributeObjectconstant · statico.ComposedTextAttribute
OrientationObjectconstant · statico.Orientation
ALIGN_LEFTintconstant · statico.ALIGN_LEFT
ALIGN_CENTERintconstant · statico.ALIGN_CENTER
ALIGN_RIGHTintconstant · statico.ALIGN_RIGHT
ALIGN_JUSTIFIEDintconstant · statico.ALIGN_JUSTIFIED

Methods

MethodRing callJava overloads
getAlignmentgetAlignment(a)static int getAlignment(AttributeSet a)
getBackgroundgetBackground(a)static Color getBackground(AttributeSet a)
getBidiLevelgetBidiLevel(a)static int getBidiLevel(AttributeSet a)
getComponentgetComponent(a)static Component getComponent(AttributeSet a)
getFirstLineIndentgetFirstLineIndent(a)static float getFirstLineIndent(AttributeSet a)
getFontFamilygetFontFamily(a)static String getFontFamily(AttributeSet a)
getFontSizegetFontSize(a)static int getFontSize(AttributeSet a)
getForegroundgetForeground(a)static Color getForeground(AttributeSet a)
getIcongetIcon(a)static Icon getIcon(AttributeSet a)
getLeftIndentgetLeftIndent(a)static float getLeftIndent(AttributeSet a)
getLineSpacinggetLineSpacing(a)static float getLineSpacing(AttributeSet a)
getRightIndentgetRightIndent(a)static float getRightIndent(AttributeSet a)
getSpaceAbovegetSpaceAbove(a)static float getSpaceAbove(AttributeSet a)
getSpaceBelowgetSpaceBelow(a)static float getSpaceBelow(AttributeSet a)
getTabSetgetTabSet(a)static TabSet getTabSet(AttributeSet a)
isBoldisBold(a)static boolean isBold(AttributeSet a)
isItalicisItalic(a)static boolean isItalic(AttributeSet a)
isStrikeThroughisStrikeThrough(a)static boolean isStrikeThrough(AttributeSet a)
isSubscriptisSubscript(a)static boolean isSubscript(AttributeSet a)
isSuperscriptisSuperscript(a)static boolean isSuperscript(AttributeSet a)
isUnderlineisUnderline(a)static boolean isUnderline(AttributeSet a)
setAlignmentsetAlignment(a,align)static void setAlignment(MutableAttributeSet a, int align)
setBackgroundsetBackground(a,fg)static void setBackground(MutableAttributeSet a, Color fg)
setBidiLevelsetBidiLevel(a,o)static void setBidiLevel(MutableAttributeSet a, int o)
setBoldsetBold(a,b)static void setBold(MutableAttributeSet a, boolean b)
setComponentsetComponent(a,c)static void setComponent(MutableAttributeSet a, Component c)
setFirstLineIndentsetFirstLineIndent(a,i)static void setFirstLineIndent(MutableAttributeSet a, float i)
setFontFamilysetFontFamily(a,fam)static void setFontFamily(MutableAttributeSet a, String fam)
setFontSizesetFontSize(a,s)static void setFontSize(MutableAttributeSet a, int s)
setForegroundsetForeground(a,fg)static void setForeground(MutableAttributeSet a, Color fg)
setIconsetIcon(a,c)static void setIcon(MutableAttributeSet a, Icon c)
setItalicsetItalic(a,b)static void setItalic(MutableAttributeSet a, boolean b)
setLeftIndentsetLeftIndent(a,i)static void setLeftIndent(MutableAttributeSet a, float i)
setLineSpacingsetLineSpacing(a,i)static void setLineSpacing(MutableAttributeSet a, float i)
setRightIndentsetRightIndent(a,i)static void setRightIndent(MutableAttributeSet a, float i)
setSpaceAbovesetSpaceAbove(a,i)static void setSpaceAbove(MutableAttributeSet a, float i)
setSpaceBelowsetSpaceBelow(a,i)static void setSpaceBelow(MutableAttributeSet a, float i)
setStrikeThroughsetStrikeThrough(a,b)static void setStrikeThrough(MutableAttributeSet a, boolean b)
setSubscriptsetSubscript(a,b)static void setSubscript(MutableAttributeSet a, boolean b)
setSuperscriptsetSuperscript(a,b)static void setSuperscript(MutableAttributeSet a, boolean b)
setTabSetsetTabSet(a,tabs)static void setTabSet(MutableAttributeSet a, TabSet tabs)
setUnderlinesetUnderline(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

NameTypeAccessIn Ring
DEFAULT_STYLEStringconstant · statico.DEFAULT_STYLE

Methods

MethodRing callJava overloads
addAttributeaddAttribute(old,name,value)AttributeSet addAttribute(AttributeSet old, Object name, Object value)
addAttributesaddAttributes(old,attr)AttributeSet addAttributes(AttributeSet old, AttributeSet attr)
addChangeListeneraddChangeListener(l)void addChangeListener(ChangeListener l)
addStyleaddStyle(nm,parent)Style addStyle(String nm, Style parent)
getBackgroundgetBackground(attr)Color getBackground(AttributeSet attr)
getChangeListenersgetChangeListeners()ChangeListener[] getChangeListeners()
getDefaultStyleContextgetDefaultStyleContext()static StyleContext getDefaultStyleContext()
getEmptySetgetEmptySet()AttributeSet getEmptySet()
getFontgetFont(attr)
getFont([family,style,size])
getFont([ :family = v, :style = v, :size = v ])
Font getFont(AttributeSet attr)
Font getFont(String family, int style, int size)
getFontMetricsgetFontMetrics(f)FontMetrics getFontMetrics(Font f)
getForegroundgetForeground(attr)Color getForeground(AttributeSet attr)
getStaticAttributegetStaticAttribute(key)static Object getStaticAttribute(Object key)
getStaticAttributeKeygetStaticAttributeKey(key)static Object getStaticAttributeKey(Object key)
getStylegetStyle(nm)Style getStyle(String nm)
getStyleNamesgetStyleNames()Enumeration getStyleNames()
readAttributesreadAttributes(in,a)void readAttributes(ObjectInputStream in, MutableAttributeSet a)
readAttributeSetreadAttributeSet(in,a)static void readAttributeSet(ObjectInputStream in, MutableAttributeSet a)
reclaimreclaim(a)void reclaim(AttributeSet a)
registerStaticAttributeKeyregisterStaticAttributeKey(key)static void registerStaticAttributeKey(Object key)
removeAttributeremoveAttribute(old,name)AttributeSet removeAttribute(AttributeSet old, Object name)
removeAttributesremoveAttributes(old,names)AttributeSet removeAttributes(AttributeSet old, Enumeration names)
AttributeSet removeAttributes(AttributeSet old, AttributeSet attrs)
removeChangeListenerremoveChangeListener(l)void removeChangeListener(ChangeListener l)
removeStyleremoveStyle(nm)void removeStyle(String nm)
writeAttributeswriteAttributes(out,a)void writeAttributes(ObjectOutputStream out, AttributeSet a)
writeAttributeSetwriteAttributeSet(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

NameTypeAccessIn Ring
NameAttributeObjectconstant · statico.NameAttribute
ResolveAttributeObjectconstant · statico.ResolveAttribute

Methods

MethodRing callJava overloads
addAttributeaddAttribute(name,value)void addAttribute(Object name, Object value)
addAttributesaddAttributes(attr)void addAttributes(AttributeSet attr)
addChangeListeneraddChangeListener(l)void addChangeListener(ChangeListener l)
containsAttributecontainsAttribute(name,value)boolean containsAttribute(Object name, Object value)
containsAttributescontainsAttributes(attrs)boolean containsAttributes(AttributeSet attrs)
copyAttributescopyAttributes()AttributeSet copyAttributes()
getAttributegetAttribute(attrName)Object getAttribute(Object attrName)
getAttributeCountgetAttributeCount()int getAttributeCount()
getAttributeNamesgetAttributeNames()Enumeration getAttributeNames()
getChangeListenersgetChangeListeners()ChangeListener[] getChangeListeners()
getListenersgetListeners(listenerType)EventListener[] getListeners(Class listenerType)
getNamegetName()String getName()
getResolveParentgetResolveParent()AttributeSet getResolveParent()
isDefinedisDefined(attrName)boolean isDefined(Object attrName)
isEqualisEqual(attr)boolean isEqual(AttributeSet attr)
removeAttributeremoveAttribute(name)void removeAttribute(Object name)
removeAttributesremoveAttributes(names)void removeAttributes(Enumeration names)
void removeAttributes(AttributeSet attrs)
removeChangeListenerremoveChangeListener(l)void removeChangeListener(ChangeListener l)
setNamesetName(name)void setName(String name)
setResolveParentsetResolveParent(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

NameTypeAccessIn Ring
NameAttributeObjectconstant · statico.NameAttribute
ResolveAttributeObjectconstant · statico.ResolveAttribute

Methods

MethodRing callJava overloads
cloneclone()Object clone()
containsAttributecontainsAttribute(name,value)boolean containsAttribute(Object name, Object value)
containsAttributescontainsAttributes(attrs)boolean containsAttributes(AttributeSet attrs)
copyAttributescopyAttributes()AttributeSet copyAttributes()
getAttributegetAttribute(key)Object getAttribute(Object key)
getAttributeCountgetAttributeCount()int getAttributeCount()
getAttributeNamesgetAttributeNames()Enumeration getAttributeNames()
getResolveParentgetResolveParent()AttributeSet getResolveParent()
isDefinedisDefined(key)boolean isDefined(Object key)
isEqualisEqual(attr)boolean isEqual(AttributeSet attr)

The methods and fields of Object are inherited.

StyledDocument#

interface · javax.swing.text.StyledDocument

Extends: TextDocument

Fields

NameTypeAccessIn Ring
StreamDescriptionPropertyStringconstant · statico.StreamDescriptionProperty
TitlePropertyStringconstant · statico.TitleProperty

Methods

MethodRing callJava overloads
addDocumentListeneraddDocumentListener(listener)void addDocumentListener(DocumentListener listener)
addStyleaddStyle(nm,parent)Style addStyle(String nm, Style parent)
addUndoableEditListeneraddUndoableEditListener(listener)void addUndoableEditListener(UndoableEditListener listener)
createPositioncreatePosition(offs)Position createPosition(int offs)
getBackgroundgetBackground(attr)Color getBackground(AttributeSet attr)
getCharacterElementgetCharacterElement(pos)Element getCharacterElement(int pos)
getDefaultRootElementgetDefaultRootElement()Element getDefaultRootElement()
getEndPositiongetEndPosition()Position getEndPosition()
getFontgetFont(attr)Font getFont(AttributeSet attr)
getForegroundgetForeground(attr)Color getForeground(AttributeSet attr)
getLengthgetLength()int getLength()
getLogicalStylegetLogicalStyle(p)Style getLogicalStyle(int p)
getParagraphElementgetParagraphElement(pos)Element getParagraphElement(int pos)
getPropertygetProperty(key)Object getProperty(Object key)
getRootElementsgetRootElements()Element[] getRootElements()
getStartPositiongetStartPosition()Position getStartPosition()
getStylegetStyle(nm)Style getStyle(String nm)
getTextgetText([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)
insertStringinsertString(offset,str,a)void insertString(int offset, String str, AttributeSet a)
putPropertyputProperty(key,value)void putProperty(Object key, Object value)
removeremove(offs,len)void remove(int offs, int len)
removeDocumentListenerremoveDocumentListener(listener)void removeDocumentListener(DocumentListener listener)
removeStyleremoveStyle(nm)void removeStyle(String nm)
removeUndoableEditListenerremoveUndoableEditListener(listener)void removeUndoableEditListener(UndoableEditListener listener)
renderrender(r)void render(Runnable r)
setCharacterAttributessetCharacterAttributes(offset,length,s,replace)void setCharacterAttributes(int offset, int length, AttributeSet s, boolean replace)
setLogicalStylesetLogicalStyle(pos,s)void setLogicalStyle(int pos, Style s)
setParagraphAttributessetParagraphAttributes(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

MethodRing callJava overloads
getCharacterAttributeRungetCharacterAttributeRun()Element getCharacterAttributeRun()
getInputAttributesgetInputAttributes()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

MethodRing callJava overloads
getPartialSpangetPartialSpan(p0,p1)float getPartialSpan(int p0, int p1)
getTabbedSpangetTabbedSpan(x,e)float getTabbedSpan(float x, TabExpander e)

TabExpander#

interface · javax.swing.text.TabExpander

Methods

MethodRing callJava overloads
nextTabStopnextTabStop(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

MethodRing callJava overloads
getColumnCountgetColumnCount()int getColumnCount()
getGridColumngetGridColumn()int getGridColumn()
getGridRowgetGridRow()int getGridRow()
getRowCountgetRowCount()int getRowCount()
setGridLocationsetGridLocation(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

MethodRing callJava overloads
getTabgetTab(index)TabStop getTab(int index)
getTabAftergetTabAfter(location)TabStop getTabAfter(float location)
getTabCountgetTabCount()int getTabCount()
getTabIndexgetTabIndex(tab)int getTabIndex(TabStop tab)
getTabIndexAftergetTabIndexAfter(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

NameTypeAccessIn Ring
ALIGN_LEFTintconstant · statico.ALIGN_LEFT
ALIGN_RIGHTintconstant · statico.ALIGN_RIGHT
ALIGN_CENTERintconstant · statico.ALIGN_CENTER
ALIGN_DECIMALintconstant · statico.ALIGN_DECIMAL
ALIGN_BARintconstant · statico.ALIGN_BAR
LEAD_NONEintconstant · statico.LEAD_NONE
LEAD_DOTSintconstant · statico.LEAD_DOTS
LEAD_HYPHENSintconstant · statico.LEAD_HYPHENS
LEAD_UNDERLINEintconstant · statico.LEAD_UNDERLINE
LEAD_THICKLINEintconstant · statico.LEAD_THICKLINE
LEAD_EQUALSintconstant · statico.LEAD_EQUALS

Methods

MethodRing callJava overloads
getAlignmentgetAlignment()int getAlignment()
getLeadergetLeader()int getLeader()
getPositiongetPosition()float getPosition()

The methods and fields of Object are inherited.

TextAction#

abstract · extends AbstractAction · javax.swing.text.TextAction

Methods

MethodRing callJava overloads
augmentListaugmentList(list1,list2)static Action[] augmentList(Action[] list1, Action[] list2)

The methods and fields of AbstractAction are inherited.

TextAttributeSet#

interface · javax.swing.text.AttributeSet

Fields

NameTypeAccessIn Ring
NameAttributeObjectconstant · statico.NameAttribute
ResolveAttributeObjectconstant · statico.ResolveAttribute

Methods

MethodRing callJava overloads
containsAttributecontainsAttribute(name,value)boolean containsAttribute(Object name, Object value)
containsAttributescontainsAttributes(attributes)boolean containsAttributes(AttributeSet attributes)
copyAttributescopyAttributes()AttributeSet copyAttributes()
getAttributegetAttribute(key)Object getAttribute(Object key)
getAttributeCountgetAttributeCount()int getAttributeCount()
getAttributeNamesgetAttributeNames()Enumeration getAttributeNames()
getResolveParentgetResolveParent()AttributeSet getResolveParent()
isDefinedisDefined(attrName)boolean isDefined(Object attrName)
isEqualisEqual(attr)boolean isEqual(AttributeSet attr)

TextDocument#

interface · javax.swing.text.Document

Fields

NameTypeAccessIn Ring
StreamDescriptionPropertyStringconstant · statico.StreamDescriptionProperty
TitlePropertyStringconstant · statico.TitleProperty

Methods

MethodRing callJava overloads
addDocumentListeneraddDocumentListener(listener)void addDocumentListener(DocumentListener listener)
addUndoableEditListeneraddUndoableEditListener(listener)void addUndoableEditListener(UndoableEditListener listener)
createPositioncreatePosition(offs)Position createPosition(int offs)
getDefaultRootElementgetDefaultRootElement()Element getDefaultRootElement()
getEndPositiongetEndPosition()Position getEndPosition()
getLengthgetLength()int getLength()
getPropertygetProperty(key)Object getProperty(Object key)
getRootElementsgetRootElements()Element[] getRootElements()
getStartPositiongetStartPosition()Position getStartPosition()
getTextgetText([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)
insertStringinsertString(offset,str,a)void insertString(int offset, String str, AttributeSet a)
putPropertyputProperty(key,value)void putProperty(Object key, Object value)
removeremove(offs,len)void remove(int offs, int len)
removeDocumentListenerremoveDocumentListener(listener)void removeDocumentListener(DocumentListener listener)
removeUndoableEditListenerremoveUndoableEditListener(listener)void removeUndoableEditListener(UndoableEditListener listener)
renderrender(r)void render(Runnable r)

TextElement#

interface · javax.swing.text.Element

Methods

MethodRing callJava overloads
getAttributesgetAttributes()AttributeSet getAttributes()
getDocumentgetDocument()Document getDocument()
getElementgetElement(index)Element getElement(int index)
getElementCountgetElementCount()int getElementCount()
getElementIndexgetElementIndex(offset)int getElementIndex(int offset)
getEndOffsetgetEndOffset()int getEndOffset()
getNamegetName()String getName()
getParentElementgetParentElement()Element getParentElement()
getStartOffsetgetStartOffset()int getStartOffset()
isLeafisLeaf()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

MethodRing callJava overloads
drawTabbedTextdrawTabbedText(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)
getBreakLocationgetBreakLocation(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)
getNextWordgetNextWord(c,offs)static int getNextWord(JTextComponent c, int offs)
getParagraphElementgetParagraphElement(c,offs)static Element getParagraphElement(JTextComponent c, int offs)
getPositionAbovegetPositionAbove(c,offs,x)static int getPositionAbove(JTextComponent c, int offs, int x)
static int getPositionAbove(JTextComponent c, int offs, float x)
getPositionBelowgetPositionBelow(c,offs,x)static int getPositionBelow(JTextComponent c, int offs, float x)
static int getPositionBelow(JTextComponent c, int offs, int x)
getPreviousWordgetPreviousWord(c,offs)static int getPreviousWord(JTextComponent c, int offs)
getRowEndgetRowEnd(c,offs)static int getRowEnd(JTextComponent c, int offs)
getRowStartgetRowStart(c,offs)static int getRowStart(JTextComponent c, int offs)
getTabbedTextOffsetgetTabbedTextOffset([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)
getTabbedTextWidthgetTabbedTextWidth(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)
getWordEndgetWordEnd(c,offs)static int getWordEnd(JTextComponent c, int offs)
getWordStartgetWordStart(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

NameTypeAccessIn Ring
BadBreakWeightintconstant · statico.BadBreakWeight
GoodBreakWeightintconstant · statico.GoodBreakWeight
ExcellentBreakWeightintconstant · statico.ExcellentBreakWeight
ForcedBreakWeightintconstant · statico.ForcedBreakWeight
X_AXISintconstant · statico.X_AXIS
Y_AXISintconstant · statico.Y_AXIS
CENTERintconstant · statico.CENTER
TOPintconstant · statico.TOP
LEFTintconstant · statico.LEFT
BOTTOMintconstant · statico.BOTTOM
RIGHTintconstant · statico.RIGHT
NORTHintconstant · statico.NORTH
NORTH_EASTintconstant · statico.NORTH_EAST
EASTintconstant · statico.EAST
SOUTH_EASTintconstant · statico.SOUTH_EAST
SOUTHintconstant · statico.SOUTH
SOUTH_WESTintconstant · statico.SOUTH_WEST
WESTintconstant · statico.WEST
NORTH_WESTintconstant · statico.NORTH_WEST
HORIZONTALintconstant · statico.HORIZONTAL
VERTICALintconstant · statico.VERTICAL
LEADINGintconstant · statico.LEADING
TRAILINGintconstant · statico.TRAILING
NEXTintconstant · statico.@NEXT
PREVIOUSintconstant · statico.PREVIOUS

Methods

MethodRing callJava overloads
appendappend(v)void append(View v)
breakViewbreakView(axis,offset,pos,len)View breakView(int axis, int offset, float pos, float len)
changedUpdatechangedUpdate(e,a,f)void changedUpdate(DocumentEvent e, Shape a, ViewFactory f)
createFragmentcreateFragment(p0,p1)View createFragment(int p0, int p1)
getAlignmentgetAlignment(axis)float getAlignment(int axis)
getAttributesgetAttributes()AttributeSet getAttributes()
getBreakWeightgetBreakWeight(axis,pos,len)int getBreakWeight(int axis, float pos, float len)
getChildAllocationgetChildAllocation(index,a)Shape getChildAllocation(int index, Shape a)
getContainergetContainer()Container getContainer()
getDocumentgetDocument()Document getDocument()
getElementgetElement()Element getElement()
getEndOffsetgetEndOffset()int getEndOffset()
getGraphicsgetGraphics()Graphics getGraphics()
getMaximumSpangetMaximumSpan(axis)float getMaximumSpan(int axis)
getMinimumSpangetMinimumSpan(axis)float getMinimumSpan(int axis)
getNextVisualPositionFromgetNextVisualPositionFrom(pos,b,a,direction,biasRet)int getNextVisualPositionFrom(int pos, Bias b, Shape a, int direction, Bias[] biasRet)
getParentgetParent()View getParent()
getPreferredSpangetPreferredSpan(axis)float getPreferredSpan(int axis)
getResizeWeightgetResizeWeight(axis)int getResizeWeight(int axis)
getStartOffsetgetStartOffset()int getStartOffset()
getToolTipTextgetToolTipText(x,y,allocation)String getToolTipText(float x, float y, Shape allocation)
getViewgetView(n)View getView(int n)
getViewCountgetViewCount()int getViewCount()
getViewFactorygetViewFactory()ViewFactory getViewFactory()
getViewIndexgetViewIndex([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)
insertinsert(offs,v)void insert(int offs, View v)
insertUpdateinsertUpdate(e,a,f)void insertUpdate(DocumentEvent e, Shape a, ViewFactory f)
isVisibleisVisible()boolean isVisible()
modelToViewmodelToView([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)
paintpaint(g,allocation)void paint(Graphics g, Shape allocation)
preferenceChangedpreferenceChanged(child,width,height)void preferenceChanged(View child, boolean width, boolean height)
removeremove(i)void remove(int i)
removeAllremoveAll()void removeAll()
removeUpdateremoveUpdate(e,a,f)void removeUpdate(DocumentEvent e, Shape a, ViewFactory f)
replacereplace(offset,length,views)void replace(int offset, int length, View[] views)
setParentsetParent(parent)void setParent(View parent)
setSizesetSize(width,height)void setSize(float width, float height)
viewToModelviewToModel([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

MethodRing callJava overloads
createcreate(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

MethodRing callJava overloads
nextTabStopnextTabStop(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

MethodRing callJava overloads
getMaximumZoneSizegetMaximumZoneSize()int getMaximumZoneSize()
getMaxZonesLoadedgetMaxZonesLoaded()int getMaxZonesLoaded()
setMaximumZoneSizesetMaximumZoneSize(size)void setMaximumZoneSize(int size)
setMaxZonesLoadedsetMaxZonesLoaded(mzl)void setMaxZonesLoaded(int mzl)

The methods and fields of BoxView are inherited.

RingJava - use Java classes and methods from Ring programs.