public class TargetQueryStyledDocument extends DefaultStyledDocument
DefaultStyledDocument.AttributeUndoableEdit, DefaultStyledDocument.ElementBuffer, DefaultStyledDocument.ElementSpec, DefaultStyledDocument.SectionElementAbstractDocument.AbstractElement, AbstractDocument.AttributeContext, AbstractDocument.BranchElement, AbstractDocument.Content, AbstractDocument.DefaultDocumentEvent, AbstractDocument.ElementEdit, AbstractDocument.LeafElement| Modifier and Type | Field and Description |
|---|---|
static Font |
TARGET_QUERY_FONT |
buffer, BUFFER_SIZE_DEFAULTBAD_LOCATION, BidiElementName, ContentElementName, ElementNameAttribute, listenerList, ParagraphElementName, SectionElementNameStreamDescriptionProperty, TitleProperty| Constructor and Description |
|---|
TargetQueryStyledDocument(OBDAModelManager obdaModelManager,
Consumer<TargetQueryStyledDocument> validationCallback) |
| Modifier and Type | Method and Description |
|---|---|
void |
insertString(int offset,
String str,
AttributeSet a) |
void |
remove(int offs,
int len) |
void |
setInvalidPlaceholders(it.unibz.inf.ontop.com.google.common.collect.ImmutableList<String> invalidPlaceholders) |
void |
setSelected(boolean isSelected) |
it.unibz.inf.ontop.com.google.common.collect.ImmutableSet<org.apache.commons.rdf.api.IRI> |
validate() |
addDocumentListener, addStyle, create, createDefaultRoot, getBackground, getCharacterElement, getDefaultRootElement, getFont, getForeground, getLogicalStyle, getParagraphElement, getStyle, getStyleNames, insert, insertUpdate, removeDocumentListener, removeElement, removeStyle, removeUpdate, setCharacterAttributes, setLogicalStyle, setParagraphAttributes, styleChangedaddUndoableEditListener, createBranchElement, createLeafElement, createPosition, dump, fireChangedUpdate, fireInsertUpdate, fireRemoveUpdate, fireUndoableEditUpdate, getAsynchronousLoadPriority, getAttributeContext, getBidiRootElement, getContent, getCurrentWriter, getDocumentFilter, getDocumentListeners, getDocumentProperties, getEndPosition, getLength, getListeners, getProperty, getRootElements, getStartPosition, getText, getText, getUndoableEditListeners, postRemoveUpdate, putProperty, readLock, readUnlock, removeUndoableEditListener, render, replace, setAsynchronousLoadPriority, setDocumentFilter, setDocumentProperties, writeLock, writeUnlockclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaddUndoableEditListener, createPosition, getEndPosition, getLength, getProperty, getRootElements, getStartPosition, getText, getText, putProperty, removeUndoableEditListener, renderpublic static final Font TARGET_QUERY_FONT
public TargetQueryStyledDocument(OBDAModelManager obdaModelManager, Consumer<TargetQueryStyledDocument> validationCallback)
public void insertString(int offset,
String str,
AttributeSet a)
throws BadLocationException
insertString in interface DocumentinsertString in class AbstractDocumentBadLocationExceptionpublic void remove(int offs,
int len)
throws BadLocationException
remove in interface Documentremove in class AbstractDocumentBadLocationExceptionpublic void setInvalidPlaceholders(it.unibz.inf.ontop.com.google.common.collect.ImmutableList<String> invalidPlaceholders)
public void setSelected(boolean isSelected)
public it.unibz.inf.ontop.com.google.common.collect.ImmutableSet<org.apache.commons.rdf.api.IRI> validate()
throws TargetQueryParserException
TargetQueryParserExceptionCopyright © 2009–2021 KRDB Research Centre for Knowledge and Data, Free University of Bozen-Bolzano. All rights reserved.