Searched defs:replace (Results 1 - 25 of 67) sorted by relevance

123

/openjdk7/jdk/src/share/classes/javax/swing/text/
H A DDocumentFilter.java48 * <code>insertString</code>, <code>replace</code> and <code>remove</code>
106 * replace should override this and only call supers implementation as
118 public void replace(FilterBypass fb, int offset, int length, String text, method in class:DocumentFilter
120 fb.replace(offset, length, text, attrs);
182 public abstract void replace(int offset, int length, String string, method in class:DocumentFilter.FilterBypass
H A DStyledDocument.java77 * and setting replace to true.
83 * @param replace indicates whether or not the previous
85 * as set. If true, the operation will replace the
89 public void setCharacterAttributes(int offset, int length, AttributeSet s, boolean replace); argument
98 * @param replace indicates whether or not the previous
100 * are set. If true, the operation will replace the
104 public void setParagraphAttributes(int offset, int length, AttributeSet s, boolean replace); argument
H A DGapVector.java131 protected void replace(int position, int rmSize, Object addItems, int addSize) { method in class:GapVector
H A DNumberFormatter.java346 void replace(DocumentFilter.FilterBypass fb, int offset, int length, method in class:NumberFormatter
353 super.replace(fb, offset, length, string, attr);
H A DCompositeView.java42 * {@link #replace} method. As <code>View</code> invokes
43 * <code>replace</code> during <code>DocumentListener</code>
45 * invoke <code>replace</code>.
114 replace(0, 0, added);
179 public void replace(int offset, int length, View[] views) { method in class:CompositeView
H A DStringContent.java101 replace(where, 0, chars, 0, chars.length);
123 replace(where, nitems, empty, 0, 0);
186 * @param offset offset into the array to start the replace
193 void replace(int offset, int length, method in class:StringContent
H A DStyledEditorKit.java443 * @param replace if true, then replace the existing attributes first
446 AttributeSet attr, boolean replace) {
451 doc.setCharacterAttributes(p0, p1 - p0, attr, replace);
455 if (replace) {
470 * @param replace if true, replace the existing attributes first
473 AttributeSet attr, boolean replace) {
477 doc.setParagraphAttributes(p0, p1 - p0, attr, replace);
445 setCharacterAttributes(JEditorPane editor, AttributeSet attr, boolean replace) argument
472 setParagraphAttributes(JEditorPane editor, AttributeSet attr, boolean replace) argument
/openjdk7/jdk/src/share/classes/java/util/concurrent/
H A DConcurrentMap.java41 * <tt>putIfAbsent</tt>, <tt>remove</tt>, and <tt>replace</tt> methods.
137 boolean replace(K key, V oldValue, V newValue); method in interface:ConcurrentMap
164 V replace(K key, V value); method in interface:ConcurrentMap
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/tools/internal/ws/processor/model/jaxb/
H A DUtil.java35 static String replace( String macro, String... args ) { method in class:Util
55 * Creates a macro tempate so that it can be later used with {@link #replace(String, String[])}.
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/xml/internal/bind/
H A DWhiteSpaceProcessor.java38 // public static String replace(String text) {
53 public static String replace(String text) { method in class:WhiteSpaceProcessor
54 return replace( (CharSequence)text ).toString();
60 public static CharSequence replace(CharSequence text) { method in class:WhiteSpaceProcessor
68 // no such whitespace. replace(text)==text.
/openjdk7/jaxws/src/share/jaxws_classes/javax/xml/bind/
H A DWhiteSpaceProcessor.java38 // public static String replace(String text) {
53 public static String replace(String text) { method in class:WhiteSpaceProcessor
54 return replace( (CharSequence)text ).toString();
60 public static CharSequence replace(CharSequence text) { method in class:WhiteSpaceProcessor
68 // no such whitespace. replace(text)==text.
/openjdk7/jdk/make/tools/src/build/tools/dtdbuilder/
H A DDTDInputStream.java53 public int replace = 0; field in class:DTDInputStream
112 if (replace > 0) {
/openjdk7/jdk/make/tools/src/build/tools/generatebreakiteratordata/
H A DDictionaryBasedBreakIteratorBuilder.java61 protected void handleSpecialSubstitution(String replace, String replaceWith, argument
63 super.handleSpecialSubstitution(replace, replaceWith, startPos, description);
65 if (replace.equals("<dictionary>")) {
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/tools/internal/jxc/gen/config/
H A DNGCCEventSource.java41 int replace( NGCCEventReceiver _old, NGCCEventReceiver _new ); method in interface:NGCCEventSource
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/xml/internal/xsom/impl/parser/state/
H A DNGCCEventSource.java41 int replace( NGCCEventReceiver _old, NGCCEventReceiver _new ); method in interface:NGCCEventSource
/openjdk7/jdk/src/share/classes/sun/tools/java/
H A DMethodSet.java120 public void replace(MemberDefinition method) { method in class:MethodSet
123 throw new CompilerError("replace()");
/openjdk7/jaxp/src/com/sun/org/apache/xalan/internal/xsltc/compiler/util/
H A DUtil.java108 return cname.replace('.', filesep);
134 public static String replace(String base, char ch, String str) { method in class:Util
136 replace(base, String.valueOf(ch), new String[] { str });
139 public static String replace(String base, String delim, String[] str) { method in class:Util
161 return replace(input, ".-/:",
/openjdk7/jaxp/src/com/sun/org/apache/xerces/internal/dom/
H A DCharacterDataImpl.java110 protected void setNodeValueInternal(String value, boolean replace) { argument
129 ownerDocument.modifyingCharacterData(this, replace);
134 ownerDocument.modifiedCharacterData(this, oldvalue, value, replace);
228 void internalDeleteData (int offset, int count, boolean replace) argument
252 setNodeValueInternal(value, replace);
287 void internalInsertData (int offset, String data, boolean replace) argument
305 setNodeValueInternal(value, replace);
H A DParentNode.java296 Node internalInsertBefore(Node newChild, Node refChild, boolean replace) argument
386 ownerDocument.insertingNode(this, replace);
461 ownerDocument.insertedNode(this, newInternal, replace);
492 Node internalRemoveChild(Node oldChild, boolean replace) argument
511 ownerDocument.removingNode(this, oldInternal, replace);
566 ownerDocument.removedNode(this, replace);
/openjdk7/jdk/src/share/classes/javax/swing/
H A DJTextPane.java171 * @param content the content to replace the selection with
192 ((AbstractDocument)doc).replace(p0, p1 - p0, content,attr);
357 * @param replace if true, then replace the existing attributes first
359 public void setCharacterAttributes(AttributeSet attr, boolean replace) { argument
364 doc.setCharacterAttributes(p0, p1 - p0, attr, replace);
367 if (replace) {
397 * @param replace if true, replace the existing attributes first
399 public void setParagraphAttributes(AttributeSet attr, boolean replace) { argument
[all...]
/openjdk7/jdk/src/share/classes/java/lang/
H A DStringBuilder.java265 public StringBuilder replace(int start, int end, String str) { method in class:StringBuilder
266 super.replace(start, end, str);
/openjdk7/jdk/src/macosx/native/jobjc/src/generator/java/com/apple/internal/jobjc/generator/
H A DUtils.java92 public void replace(final String key, final String value) { method in class:Utils.Substituter
/openjdk7/jdk/src/share/classes/sun/misc/
H A DRegexpPool.java74 public void replace(String re, Object ret) { method in class:RegexpPool
78 // should never occur if replace is true
165 private void add(String re, Object ret, boolean replace) throws REException { argument
184 if (p.result != null && !replace)
/openjdk7/jdk/src/share/classes/sun/nio/ch/
H A DFileLockTable.java73 public abstract void replace(FileLock fl1, FileLock fl2); method in class:FileLockTable
229 public void replace(FileLock fromLock, FileLock toLock) { method in class:SharedFileLockTable
/openjdk7/corba/src/share/classes/sun/rmi/rmic/iiop/
H A DIDLNames.java164 // First, replace any escape sequences...
166 String result = replace(name,"x\\u","U");
167 result = replace(result,"x\\U","U");
269 result = replace(typeName,". ","__");
415 idlName.append(replace(stripLeadingUnderscore(theType.getIDLName())," ","_"));
918 argIDLName = replace(argIDLName,"::_","_");
922 argIDLName = replace(argIDLName,"::","_");
926 argIDLName = replace(argIDLName," ","_");
1155 * @param replace The replacement for any matching components.
1158 public static String replace (Strin argument
[all...]

Completed in 126 milliseconds

123