Searched defs:text (Results 1 - 14 of 14) sorted by relevance

/opengrok/egrok/src/org/opensolaris/opengrok/egrok/ui/
H A DTextUtils.java12 public static void setToDefault(Text text, String defaultText) { argument
13 text.setForeground(new Color(null, 0x8b, 0x89, 0x98));
14 text.setText(defaultText);
15 FontData fontData = text.getFont().getFontData()[0];
17 text.setFont(font);
18 text.setData("default", true);
21 public static void makeEditable(Text text) { argument
22 Object isdefault = text.getData("default");
25 text.setForeground(new Color(null, 0x00, 0x00, 0x00));
26 text
[all...]
/opengrok/jrcs/src/main/java/org/apache/commons/jrcs/rcs/
H A DLine.java62 * Line contains both the original text of the line, plus the node
75 Object text; field in class:Line
77 Line(Node revision, Object text) argument
79 this.text = text;
111 return text;
H A DLines.java60 import java.text.Format;
61 import java.text.MessageFormat;
68 * A list of the lines in the text of a revision annotated with the
89 public Lines(String text) argument
91 this(null, Diff.stringToArray(text));
94 public Lines(Node release, String text) argument
96 this(release, Diff.stringToArray(text));
99 public Lines(Object[] text) argument
101 this(null, text);
104 public Lines(Node release, Object[] text) argument
[all...]
H A DKeywordsFormat.java64 import java.text.Format;
65 import java.text.MessageFormat;
105 * update the given text made of RCS keywords with the appropriate
107 * @param text the input text containing the RCS keywords.
109 * @return the formatted text with the RCS keywords.
111 String update(String text, Object[] revisionInfo) argument
113 String data = text
129 * @param text the text t
132 reset(String text) argument
[all...]
H A DArchiveParser.java106 text(arc);
422 final public void text(Archive arc) throws ParseException { method in class:ArchiveParser
H A DArchive.java98 * <p>Within this library, the word <i>text</i> means a unit of information
100 * version of a text. Each <i>revision</i> has a <i>version number</i>
105 * <p>Revisions of a text are represented as <code>Object[]</code> because
106 * the diff engine is capable of handling more than plain text. In fact,
130 * Object[] text = archive.getRevision(versionNumber);
136 * last changed or added. To retrieve annotated text use:
139 * {@link Line Line[]} text = archive.getRevision(versionNumber);
140 * for(int i = 0; i &lt; text.length(); i++)
141 * System.out.println(text[i].revision.version);
175 * Creates a new archive and sets the text o
179 Archive(String text, String desc) argument
192 Archive(String text, String desc, String vernum) argument
205 Archive(String text, String desc, Version vernum) argument
974 addRevision(Object[] text, String log) argument
1002 addRevision(Object[] text, String vernum, String log) argument
1023 addRevision(Object[] text, Version vernum, String log) argument
1113 doKeywords(Object[] text, Node rev) argument
1144 removeKeywords(Object[] text) argument
[all...]
H A DNode.java60 import java.text.DateFormat;
61 import java.text.Format;
62 import java.text.MessageFormat;
63 import java.text.SimpleDateFormat;
85 * <p>Nodes store the deltas between two revisions of the text.</p>
110 protected Object[] text; field in class:Node
216 * Ghost nodes have no associated text ot deltas. CVS uses
221 return version.isGhost() || text == null;
334 * Sets the text for the node's revision.
335 * <p>For archives containing binary information, the text i
[all...]
/opengrok/src/org/opensolaris/opengrok/search/
H A DSummary.java42 /** A fragment of text within a summary. */
44 private final String text; field in class:Summary.Fragment
46 /** Constructs a fragment for the given text. */
47 public Fragment(String text) { this.text = text; } argument
49 /** Returns the text of this fragment. */
50 public String getText() { return text; }
59 public String toString() { return htmlize(text); }
62 /** A highlighted fragment of text withi
65 Highlight(String text) argument
[all...]
H A DSummarizer.java59 * Converts text to tokens.
124 * Returns a summary for the given pre-tokenized text.
126 * @param text input text
130 public Summary getSummary(String text) throws IOException { argument
131 if (text == null) {
139 SToken[] tokens = getTokens(text); // parse text to token array
212 excerpt.add(new Summary.Fragment(text.substring(offset, t.startOffset())));
213 excerpt.add(new Summary.Highlight(text
302 getTokens(String text) argument
[all...]
/opengrok/jrcs/src/main/java/org/apache/commons/jrcs/diff/
H A DDiff.java68 * <p>Within this library, the word <i>text</i> means a unit of information
118 * @param the original text that will be compared
128 * @param o the original text which will be compared against
241 * @param text The input sequence.
245 public static Object[] editAll(Object[] text) argument
247 Object[] result = new String[text.length];
249 for(int i = 0; i < text.length; i++)
250 result[i] = text[i] + " <edited>";
257 * @param text The input sequence.
260 public static Object[] randomEdit(Object[] text) argument
271 randomEdit(Object[] text, long seed) argument
302 shuffle(Object[] text) argument
313 shuffle(Object[] text, long seed) argument
[all...]
/opengrok/src/org/opensolaris/opengrok/analysis/
H A DDefinitions.java194 public final String text; field in class:Definitions.Tag
204 protected Tag(int line, String symbol, String type, String text, String namespace, String signature) { argument
208 this.text = text;
214 public void addTag(int line, String symbol, String type, String text) { argument
215 addTag(line, symbol, type, text, null, null);
218 public void addTag(int line, String symbol, String type, String text, String namespace, String signature) { argument
219 Tag new_tag = new Tag(line, symbol, type, text, namespace, signature);
H A DCtags.java269 * produce definitions for the text in the buffer String ctags process is
474 String[] names = afters.split("[\\W]"); //this should just parse out variables, we assume first non empty text is the argument name
499 String lnum, String symbol, String type, String text, String namespace, String signature) {
511 seenSymbols.intern(type.trim()), seenSymbols.intern(text.trim()),
498 addTag(Definitions defs, Interner<String> seenSymbols, String lnum, String symbol, String type, String text, String namespace, String signature) argument
/opengrok/src/org/opensolaris/opengrok/configuration/messages/
H A DMessage.java63 protected String text; field in class:Message
97 return text;
100 public void setText(String text) { argument
101 this.text = text;
192 if (text != null && (i = getText().compareTo(m.getText())) != 0) {
205 hash = 29 * hash + (this.text == null ? 0 : this.text.hashCode());
230 if (!Objects.equals(this.text, other.text)) {
[all...]
/opengrok/lib/
H A Dswing-layout-0.9.jar ... .swing.JTextArea, int) javax.swing.JTextArea text int height java.awt.Insets insets java. ...

Completed in 40 milliseconds