| Home >> All |
| | jsource.codegenerator.* (16) | | jsource.gui.* (18) | | jsource.io.* (11) |
| | jsource.io.localization.* (5) | | jsource.syntax.* (30) | | jsource.syntax.tokenmarker.* (23) |
| | jsource.util.* (12) |
jsource: Javadoc index of package jsource.
Package Samples:
jsource.codegenerator
jsource.gui
jsource.io.localization
jsource.io
jsource.syntax.tokenmarker
jsource.syntax
jsource.util
Classes:
JSourceFileFilter: JSourceFileFilter is a convenience implementation of FileFilter that filters out all files except for those type extensions that it knows about. Extensions are of the type ".foo", which is typically found on Windows and Unix boxes, but not on Macinthosh. Case is ignored. Example - create a new filter that filerts out all files but html and htm web page files: JFileChooser chooser = new JFileChooser(); String extensions[] = new String[2]; extensions[0] = "html"; extensions[1] = "htm"; JSourceFileFilter filter = new JSourceFileFilter(extensions, "Web pages"); chooser.addChoosableFileFilter(filter); ...
ExampleFileFilter: A convenience implementation of FileFilter that filters out all files except for those type extensions that it knows about. Extensions are of the type ".foo", which is typically found on Windows and Unix boxes, but not on Macinthosh. Case is ignored. Example - create a new filter that filerts out all files but gif and jpg image files: JFileChooser chooser = new JFileChooser(); ExampleFileFilter filter = new ExampleFileFilter( new String{"gif", "jpg"}, "JPEG & GIF Images") chooser.addChoosableFileFilter(filter); chooser.showOpenDialog(this);
CSharpPropertyDefinitionGenerator: CSharpPropertyDefinitionGenerator.java 03/17/03 This program is free software; you can redistribute it and/or modify it under the terms of the GNU Library General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Library General Public License for more details.
JavaPropertyDefinitionGenerator: JavaPropertyDefinitionGenerator.java 03/17/03 This program is free software; you can redistribute it and/or modify it under the terms of the GNU Library General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Library General Public License for more details.
JSEditor: JSEditor is JSource's text editing component. It is more suited for editing program source code than JEditorPane, because it drops the unnecessary features (images, variable-width lines, and so on) and adds a whole bunch of useful goodies such as: More flexible key binding scheme Supports macro recorders Rectangular selection Bracket highlighting Syntax highlighting Command repetition Block caret can be enabled Based on jEdit's JEditTextArea component by Slava Pestov.
DefinitionGenerator: DefinitionGenerator.java 03/17/03 This program is free software; you can redistribute it and/or modify it under the terms of the GNU Library General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Library General Public License for more details.
JavaLanguageManager: JavaLanguageManager.java 03/17/03 This program is free software; you can redistribute it and/or modify it under the terms of the GNU Library General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Library General Public License for more details.
LanguageTypes: LanguageTypes.java 03/17/03 This program is free software; you can redistribute it and/or modify it under the terms of the GNU Library General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Library General Public License for more details.
CSharpTypes: CSharpTypes.java 03/17/03 This program is free software; you can redistribute it and/or modify it under the terms of the GNU Library General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Library General Public License for more details.
JavaTypes: JavaTypes.java 03/17/03 This program is free software; you can redistribute it and/or modify it under the terms of the GNU Library General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Library General Public License for more details.
Property: Property.java 03/17/03 This program is free software; you can redistribute it and/or modify it under the terms of the GNU Library General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Library General Public License for more details.
TypeDef: TypeDef.java 03/17/03 This program is free software; you can redistribute it and/or modify it under the terms of the GNU Library General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Library General Public License for more details.
TextAreaDefaults: TextAreaDefaults encapsulates default settings for a JSEditor object. An object of this class can be passed to the JSEditor constructor once the necessary fields have been filled out. The advantage of doing this over calling lots of set() methods after creating the text area is that this method is faster. Based on TextAreaDefaults in jEdit syntax package.
TokenMarker: A token marker that splits lines of text into tokens. Each token carries a length field and an indentification tag that can be mapped to a color for painting that token. For performance reasons, the linked list of tokens is reused after each line is tokenized. Therefore, the return value of markTokens should only be used for immediate painting. Notably, it cannot be cached.
Token: A linked list of tokens. Each token has three fields - a token identifier, which is a byte value that can be looked up in the array returned by SyntaxDocument.getColors() to get a color value, a length value which is the length of the token in the text, and a pointer to the next token in the list.
Log: Log is a debugging class that provides one utility method. The method takes an object of type Throwable as an argument and sends the contents of printStackTrace to a file for better viewing. Usage: try { ... } catch(Exception ex) { Log.log(ex); {
KeywordMap: A KeywordMap is similar to a hashtable in that it maps keys to values. However, the `keys' are Swing segments. This allows lookups of text substrings without the overhead of creating a new string object. This class is used by CTokenMarker to map keywords to ids.
InputHandler: An InputHandler converts the user's key strokes into concrete actions. This class provides all the necessary support code for an input handler, but it does not actually do any key binding logic. It is up to the implementations of this class to do so.
BaseDialog: BaseDialog is an abstract dialog box that handles window closing, the ENTER key and the ESCAPE key. All that has to be done is implementing ok() (called when Enter is pressed) and cancel() (called when Escape is pressed, or window is closed).
XMLResourceBundle: XMLResourceBundle loads a HashMap with values associated with localized keys. More specific locale information is prefered, and overwritten as it's processed. Deeper XML values are more specific.
Gutter: Gutter is the component that displays line numbers to the left of the text area. Based on jEdit's Gutter component by Mike Dillon and Slava Pestov.
DefaultInputHandler: DefaultInputHandler is the default input handler. It maps sequences of keystrokes into actions and inserts key typed events into the text area.
TextAreaPainter: TextAreaPainter is the repaint manager for a JSEditor object. Based on TextAreaPainter in jEdit syntax package.
| Home | Contact Us | Privacy Policy | Terms of Service |