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

Quick Search    Search Deep

com.virtuosotechnologies.asaph.* (174)com.virtuosotechnologies.lib.* (147)

Package Samples:

com.virtuosotechnologies.lib.basiccommand.swing: Standard implementation of Command interfaces.  
com.virtuosotechnologies.asaph.modelutils.impl: Model utility routines.  
com.virtuosotechnologies.asaph.model.opsemantics: Main model interfaces.  
com.virtuosotechnologies.asaph.launch
com.virtuosotechnologies.asaph.maingui
com.virtuosotechnologies.asaph.model.notation
com.virtuosotechnologies.asaph.model
com.virtuosotechnologies.asaph.modelutils
com.virtuosotechnologies.asaph.notationmanager
com.virtuosotechnologies.asaph.samplegui
com.virtuosotechnologies.asaph.standardgui
com.virtuosotechnologies.asaph.standardmodel
com.virtuosotechnologies.asaph.xmldatabase
com.virtuosotechnologies.lib.asyncjob
com.virtuosotechnologies.lib.base
com.virtuosotechnologies.lib.basiccommand.builder
com.virtuosotechnologies.lib.basiccommand
com.virtuosotechnologies.lib.collections
com.virtuosotechnologies.lib.command
com.virtuosotechnologies.lib.platform

Classes:

LinkedObject: Base class for elements in a "naked" circular linked list, i.e. it doesn't support the collections interface, but instead exposes the list cells. Useful for building larger data structures involving links without having the object and search overhead of using java.util.LinkedList internally. The list is circular, e.g. there are never null pointers involved. You can create a "bounded" list using a delimiter element. The element whose next pointer points to the delimiter is the end, and the element whose prev pointer points to the delimiter is the beginning. As a corollary, an element that isn't ...
SongDatabase: This interface represents a database of songs. It provides facilities for simple searches by keyword and title, and allows clients to check out copies of songs, and check in changes. This interface also specifies that all operations are atomic. That is, every mutation operation is atomic-- simultaneous mutations are serialized so they will not conflict. In addition, any query operation will always return information about a self-consistent state that the database was or could have been in at some point in the past. In-memory representations such as DOMImpl can implement this trivially by synchronizing ...
RotatingArrayList: Rotating resizeable array implementation of the List interface. Implements all optional list operations, and permits all elements, including null . In addition to implementing the List interface, this class provides methods to manipulate the size of the array that is used internally to store the list. This class is roughly equivalent to ArrayList (and is based on the ArrayList implementation) with one important distinction. The add(index, object) method operates in amortized constant time rather than linear time when inserting at the beginning or end of a list, and the remove(index) method also ...
EventBroadcastHelper: A helper class for broadcasting events. This class is meant to be used internally by any class that needs to broadcast events. It provides the following facilities: It manages a set of listeners, providing helper methods for adding and removing listeners. It optionally references listeners via weak references, so they can be garbage collected and do not need to be removed explicitly. It provides methods for broadcasting an event to all listeners. Typical usage will involve keeping a data member of type EventBroadcastHelper in your client class. Your add*Listener() and remove*Listener() methods ...
HierarchicalType: An interface for objects that implement a hierarchical type system. A hierarchical type system is a class of objects with the following properties: The object may have zero or more parents, which must be within the same class. An object is said to "extend" all of its ancestors. The object is not a descendant of itself. That is, the parent relationships form an acyclic graph. The object can quickly determine, given another object, whether it extends that object. The object is immutable. The equals() method is suitably defined to preserve the above semantics. Normally, objects should be uniques whose ...
PredicateFilterSemantics: An opsemantics that runs a PredicateSemantics and filters on Boolean.TRUE. Note that this does not extend ValueFilterSemantics because it does not follow the contract of ValueFilterSemantics, which states that the values are already present in the original result set. Instead, this copies the result set, runs the given PredicateSemantics, and then filters the original result set according to the result values in the copy. Note that as a result, any values in the original resultset remain untouched.
SongID: A Song ID. This object identifies a Song in a SongDatabase and can be used to quickly check out a copy of the Song. SongID also contains a unique and immutable String representation that may be used to serialize and deserialize the SongID. The string is guaranteed to be unique within a particular database, and will remain the same for same song across different executions of the tool. However, two songs from different databases may have the same string representation.
AbstractElementBuilderNode: A skeletal builder that creates a single leaf object with no children. This needs to be subclassed to implement createInitialElement(), and/or to pass an element into the constructor. Also note that this builder registers itself as a PropertySetListener on the CommandNode, so subclasses do not need to do so again. A lot of this implementaiton is identical to AbstractContainerElementBuilderNode, but alas, Java lacks multiple implementation inheritance.
SongOperation: An operation to perform on SongIDResultSets. This interface merely specifies that this object implements an operation. Most operation also implement a particular OpSemantics interface to indicate to the database implementation the kind of operation, so the database can substitute an optimized implementation if it so chooses.
GetFieldAsStringArraySemantics: An OpSemantics that sets the data to the value of a field. SongOperations that implement this interface guarantee that perform() sets the data field of each entry in the result set to the field value String[] of the corresponding Song as would be set by SongUtils.getFieldValueAsStringArray(), or to null if an error occurs.
AbstractBranchBuilderNode: A skeletal implementation for builder nodes with children. Provides accessors for children as well as position finding. Subclasses need to implement createChildNode() to create child nodes corresponding to child CommandNodes. Subclasses also need to implement the add/set/removeElements methods, as well as getCardinality().
AbstractContainerElementBuilderNode: A branch builder that creates an element that can contain other elements. Subclasses need to implement getChildNode(), createInitialElement(), and the add/set/removeElements methods. A lot of this implementation is identical to AbstractElementBuilderNode, but alas, Java lacks multiple implementation inheritance.
GetFieldAsStringSemantics: An OpSemantics that sets the data to the value of a field. SongOperations that implement this interface guarantee that perform() sets the data field of each entry in the result set to the field value String of the corresponding Song as would be set by SongUtils.getFieldValueAsString(), or to null if an error occurs.
Song: This is the primary interface to a Song. Songs are obtained from a SongDatabase. However, Song objects are always "checked-out" copies of the actual Song data. This lets clients manipulate the Song without worry about concurrent access. To commit changes, use the commit method of SongDatabase.
UniqueObject: An object whose equals() method is guaranteed to use reference equality. That is it does not equal any other object. The description string is used for toString(). If you pass null for the description or do not provide one, UniqueObject will automatically generate a default string.
PropertySet: A set of constrained properties. This is basically a hash table with several additional features: constraints on property values, default values, and listeners on state changes. In most cases, the BasicPropertySet implementation can be used.
AbstractAWTContainerBuilderNode: An element container builder that builds an AWT Container. Subclass this to pass implement createChildNode(), and also to pass in the proper type of component in the constructor and/or implement createInitialElement().
AbstractGroupBuilderNode: A builder that creates a group of related elements based on its children, but creates no element of its own. Subclass this class and override createChildNode to create the proper types of children.
PlatformProvider: Platform-specific providers need to implement this interface. This is here as a buffer so that PlatformUtils doesn't need to know anything about the implementation classes for platform providers.
ComboBoxMemberGroupBuilderNode: A special GroupBuilderNode used for groups whose parent component is a combo box. These nodes can only build ComboBoxMemberBuilderNodes and other ComboBoxMemberGroupBuilderNodes as children.
BasicToggleItemCommandNode: A node representing a toggle action. Normally, you do not implement commandInvoked for these types of command nodes, but instead listen for changes to the SELECTION_STATE_PROPERTY property.
DatabaseIdentifier: An identifier for a SongDatabase. This is essentially a parsed URI that specifies a particular database by the connector used to open it, and a connector-specific locator for the database.
SongBlock: This interface represents a block of lines in a song. A Song consists of an ordered list of blocks, and each block consists of an ordered list of lines. Blocks also have an indent level.
SongLine: This interface represents a line in a song. A line is made up of a sequence of SongLineMembers, which are strings, comments or chord annotations. Lines are contained within SongBlocks.
AbstractBuilderNode: A skeletal implementation for builder nodes. Note that this builder registers itself as a PropertySetListener on the CommandNode, so subclasses do not need to do so again.

Home | Contact Us | Privacy Policy | Terms of Service