Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

Page 1   2  
org.jext.toolbar.* (3)org.jext.xinsert.* (4)org.jext.xml.* (14)

org.jext: Javadoc index of package org.jext.


Package Samples:

org.jext.xml
org.jext.toolbar
org.jext.xinsert

Classes:

FindAccessory: A threaded file search accessory for JFileChooser. Presents JFileChooser users with a tabbed panel interface for specifying file search criteria including (1) search by name, (2) search by date of modification, and (3) search by file content. Finded are performed "in the background" with found files displayed dynamically as they are found. Only one search can be active at a time. FindResults are displayed in a scrolling list within a results tab panel. Findes are performed asynchronously so the user can continue browsing the file system. The user may stop the search at any time. Accepting or cancelling ...
DawnParser: DawnParser is the Dawn scripting language interpreter. Dawn is a language based on RPN. Dawn is also a very modulary language. Basic usage of Dawn is: DawnParser.init(); // code is a String containing the script DawnParser parser = new DawnParser(new StringReader(code)); try { parser.exec(); } catch (DawnRuntimeException dre) { System.err.println(dre.getMessage()); } Note the call to init() . You may not want to call this method, but if you don't, then Dawn will provide NO FUNCTION AT ALL. Even basic ones, like + - * drop sto rcl, won't work !! This is due to the fact Dawn can be entirely customized. ...
DockablePane: This class can be used to turn a pane into a dockable. Simply take your JPanel and pass it to the constructor. Then call setDockingStatus to put it where you want. It's that. NOTE: this is version 0 of the API. It's broken. Don't use it. 3.2pre5 (or 3.2, I don't know the future name) will have a corrected version of the API, so plugins will be able to use it. It's broken because from a design point of view we don't have an "is-a" relation between this class and JFrame. If we had protected inheritance as in C++, we should use it. Specifically, a DockablePane is not a JFrame because it's not safe ...
JextLoader: This class creates a new socket connection which listens to client requests. Whenever a client logs onto the socket, we check its IP address. Security implementation: If this address isn't 127.0.0.1 (aka localhost), the connection is rejected. The socket also needs to get the good message which must contain a give authorization key. If the given key or message is wrong, the connection is rejected. If the server rejects a connection, it also closes itself to avoid Denial Of Service attacks or brutal ones (trying for instance random keys).
JextMenuBar: The menu bar of Jext windows. This menu bar allows to add items and menus according to a position indicated by a menu ID. Indeed, this class allows to register menus with an ID. Using IDs allows, for instance, to add plugins submenus in other menus than in Plugins. (see Java and HTML plugins to see how this works).
FindFilter: Each search option tab that implements FindFilterFactory defines an inner class that implements FindFilter. When a search is started the search panel invokes createFindFilter() on each panel that implements FindFilterFactory, thus causing the panel to create a FindFilter object that implements its search settings.
CodeSnippet: The CodeSnippet class stands for an interface for Dawn code snippets. A code snippet is a mini-script written in Dawn which will be used by DawnParser to create a function. Code snippets avoid writting annoying Java source code which can generate errors and be a pain to debug.
JextTextArea: Extending JEditTextArea allow us to support syntax colorization. We also implement some listeners: for the caret, for the undos and redos, for the keys (indent) and for the modifications which can occures in the text. This component provides its own methods to read and save files (even to zip them).
Function: The Function class defines the standard framework of any Dawn function. A function is defined by its name, the one which will be used to call it from scripts. The function also provides an invoke() method which can throw a DawnRuntimeException on error.
OpenOutputFunction: Opens a file from the HD to write in it. The opened file is designed by an ID. Usage: file ID openForOutput Where file and ID are both string. First one is the path to the file - which can be either absolute, either relative -, and the second one is the file ID.
JextTabbedPane: A tabbed pane which can display indexed titles. As a matter of fact, if a tab is added with a name which already exists, JextTabbedPane will add an index under the form '(x)' at the end of the name. When all tabs of the same name are closed, indexes are counted over from 0.
OpenInputFunction: Opens a file from the HD. The opened file is designed by an ID. Usage: file ID openForInput Where file and ID are both string. First one is the path to the file - which can be either absolute, either relative -, and the second one is the file ID.
CreateActionFunction: Creates a new action in Jext. Usage: code actionLabel actionName createAction code is the Dawn code which will be executed on click, actionLabel is the name which will appear in Jext menu bar, and actionName is Jext internal action name.
ProjectManagement: The interface which should be implemented by all Jext project management plugins. This has been made separate from ProjectManager so that the plugin class itself does not have to implement the much heavier ProjectManager interface.
DawnRuntimeException: DawnRuntimeException is thrown whenever a function encounter an error. Basically, this exception is thrown if a function is not implemented. Yet, many functions will use it to warn user (i.e: empty stack, not enough arguments, etc...).
MenuAction: This class implements an ActionListener and handles action events fired by . This class also provides two new methods which can be used to get the window which has fired the event and the associated text area.
FileManager: Manages the files for the whole IO package. This class provides functions to open/close files and also to read/write into them. Each opened file is stored as a property in DawnParser . Each file is designed by a given ID.
SkinFactory: This is the generic SkinFactory base class. Override it to let Jext access a new skin group, plugin and so on; if the inheriting class is also a Plugin descendant the method is called authomatically for you when loading the plugin.
LengthFunction: Returns the length of a given array. The length of an array represents the total amount of elements put in it. Usage: array length Then this function pushes the array length AND the array on stack.
Console: An internal console which provide different kinds of prompts and which allows to execute both internal and external (OS specific) commands. The console is embedded in a JScrollPane and handles it by itself.
FindReplace: The FindReplace class is a component which displays a dialog for either finding either replacing text. It provides two combo lists, which holds latest patterns, and many buttons or check boxes for options.
FormattedDateFunction: Displays a formatted date. Usage: format fdate Format example: "MM/dd/yyyy - HH:mm:ss" MM stands for month, dd for day, yyyy for year, HH for hours, mm for minutes and ss for seconds.
AbstractDisposer: This class handles a press on the ESCAPE key in a java.awt.Window instance. This includes JFrame and JDialog . When such an event is caught, the instance is simply disposed.

Home | Contact Us | Privacy Policy | Terms of Service