|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jdesktop.swingx.autocomplete.AutoCompleteDocument
org.jdesktop.swingx.autocomplete.AutoCompleteStyledDocument
public class AutoCompleteStyledDocument
| Field Summary |
|---|
| Fields inherited from class org.jdesktop.swingx.autocomplete.AutoCompleteDocument |
|---|
delegate, strictMatching |
| Fields inherited from interface javax.swing.text.Document |
|---|
StreamDescriptionProperty, TitleProperty |
| Constructor Summary | |
|---|---|
AutoCompleteStyledDocument(AbstractAutoCompleteAdaptor adaptor,
boolean strictMatching)
|
|
AutoCompleteStyledDocument(AbstractAutoCompleteAdaptor adaptor,
boolean strictMatching,
ObjectToStringConverter stringConverter)
|
|
AutoCompleteStyledDocument(AbstractAutoCompleteAdaptor adaptor,
boolean strictMatching,
ObjectToStringConverter stringConverter,
javax.swing.text.StyledDocument delegate)
|
|
| Method Summary | |
|---|---|
javax.swing.text.Style |
addStyle(java.lang.String nm,
javax.swing.text.Style parent)
|
protected javax.swing.text.Document |
createDefaultDocument()
Creates the default backing document when no delegate is passed to this document. |
java.awt.Color |
getBackground(javax.swing.text.AttributeSet attr)
|
javax.swing.text.Element |
getCharacterElement(int pos)
|
java.awt.Font |
getFont(javax.swing.text.AttributeSet attr)
|
java.awt.Color |
getForeground(javax.swing.text.AttributeSet attr)
|
javax.swing.text.Style |
getLogicalStyle(int p)
|
javax.swing.text.Element |
getParagraphElement(int pos)
|
javax.swing.text.Style |
getStyle(java.lang.String nm)
|
void |
removeStyle(java.lang.String nm)
|
void |
setCharacterAttributes(int offset,
int length,
javax.swing.text.AttributeSet s,
boolean replace)
|
void |
setLogicalStyle(int pos,
javax.swing.text.Style s)
|
void |
setParagraphAttributes(int offset,
int length,
javax.swing.text.AttributeSet s,
boolean replace)
|
| Methods inherited from class org.jdesktop.swingx.autocomplete.AutoCompleteDocument |
|---|
addDocumentListener, addUndoableEditListener, createPosition, getDefaultRootElement, getEndPosition, getLength, getProperty, getRootElements, getStartPosition, getText, getText, insertString, isStrictMatching, putProperty, remove, removeDocumentListener, removeUndoableEditListener, render |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface javax.swing.text.Document |
|---|
addDocumentListener, addUndoableEditListener, createPosition, getDefaultRootElement, getEndPosition, getLength, getProperty, getRootElements, getStartPosition, getText, getText, insertString, putProperty, remove, removeDocumentListener, removeUndoableEditListener, render |
| Constructor Detail |
|---|
public AutoCompleteStyledDocument(AbstractAutoCompleteAdaptor adaptor,
boolean strictMatching,
ObjectToStringConverter stringConverter,
javax.swing.text.StyledDocument delegate)
adaptor - strictMatching - stringConverter - delegate -
public AutoCompleteStyledDocument(AbstractAutoCompleteAdaptor adaptor,
boolean strictMatching,
ObjectToStringConverter stringConverter)
adaptor - strictMatching - stringConverter -
public AutoCompleteStyledDocument(AbstractAutoCompleteAdaptor adaptor,
boolean strictMatching)
adaptor - strictMatching - | Method Detail |
|---|
protected javax.swing.text.Document createDefaultDocument()
createDefaultDocument in class AutoCompleteDocument
public javax.swing.text.Style addStyle(java.lang.String nm,
javax.swing.text.Style parent)
addStyle in interface javax.swing.text.StyledDocumentpublic java.awt.Color getBackground(javax.swing.text.AttributeSet attr)
getBackground in interface javax.swing.text.StyledDocumentpublic javax.swing.text.Element getCharacterElement(int pos)
getCharacterElement in interface javax.swing.text.StyledDocumentpublic java.awt.Font getFont(javax.swing.text.AttributeSet attr)
getFont in interface javax.swing.text.StyledDocumentpublic java.awt.Color getForeground(javax.swing.text.AttributeSet attr)
getForeground in interface javax.swing.text.StyledDocumentpublic javax.swing.text.Style getLogicalStyle(int p)
getLogicalStyle in interface javax.swing.text.StyledDocumentpublic javax.swing.text.Element getParagraphElement(int pos)
getParagraphElement in interface javax.swing.text.StyledDocumentpublic javax.swing.text.Style getStyle(java.lang.String nm)
getStyle in interface javax.swing.text.StyledDocumentpublic void removeStyle(java.lang.String nm)
removeStyle in interface javax.swing.text.StyledDocument
public void setCharacterAttributes(int offset,
int length,
javax.swing.text.AttributeSet s,
boolean replace)
setCharacterAttributes in interface javax.swing.text.StyledDocument
public void setLogicalStyle(int pos,
javax.swing.text.Style s)
setLogicalStyle in interface javax.swing.text.StyledDocument
public void setParagraphAttributes(int offset,
int length,
javax.swing.text.AttributeSet s,
boolean replace)
setParagraphAttributes in interface javax.swing.text.StyledDocument
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||