JClass HIGrid

PreviousNextIndex

Preface

Introducing JClass HiGrid  Assumptions  Typographical Conventions in this Manual

Overview of the Manual  API Reference  Licensing  Related Documents  About Quest

Contacting Quest Software  Customer Support  Product Feedback and Announcements

Introducing JClass HiGrid

Database applications that require an expandable grid to display the graphic representation of master-detail relationships have a new Java tool: JClass HiGrid. Its collapsible grid is an excellent tool for allowing top-down exploration and navigation to detail levels of arbitrary depth. A versatile data binding tool, called JClass DataSource, is the engine that drives all data retrieval for the grid. You can use it for more generalized data binding tasks spanning the whole set of JClass products. In addition, JClass DataSource provides a set of data bound AWT and Swing components.

Because its design is based on the Model-View-Controller (MVC) paradigm, JClass HiGrid is conceptually straightforward, being both the view and the controller, while JClass DataSource functions as the model. Ultimately, a grid is a collection of cells. JClass HiGrid's cell classes extend the capabilities in com.klg.jclass.cell to support rendering, editing, and some elementary validating operations. As far as cells are concerned, JClass DataSource remains the model, while a cell renderer is the view and a cell editor is the controller. This design decouples the way that a cell is edited from the way that it is displayed, allowing such flexible scenarios as having a cell containing a Boolean quantity display it as an icon, while its editor may employ a checkbox, a String value, or combo box with true/false choices. Extended editors are available for more specialized items. For instance, a date field is edited with a drop-down calendar.

JClass DesktopViews makes the full range of data bound components available, where JClass DataSource is used as the data binding layer for tables, charts, and fields requiring specialized validation. It may be used with any database for which a JDBC (Java Database Connectivity) driver exists or, through a JDBC-ODBC bridge, for which an ODBC driver exists. Its primary purpose is to bind to databases that have JDBC drivers, but it can also be used with non-database sources such as text files, or it can act as a supplier of information extracted from an "in-memory database" whose values are created dynamically at run-time. If used within an Integrated Development Environment (IDE), JClass HiGrid's Bean makes it particularly easy to bind to a data source, issue SQL statements, and retrieve and display the resulting data tables.

JClass DataSource manages circumstances in which the underlying structure of the data design is a tree. Because Java does not define a Tree data structure, a completely general tree model is defined within JClass DataSource itself1.

Feature Overview

JClass HiGrid and JClass DataSource are JavaBeans that facilitate the presentation of data extracted from a database or elsewhere in a hierarchical, or master-detail, form. Their full-featured customizers can be used in IDEs to quickly develop a data retrieval application. JClass HiGrid's custom property editor exhibits a highly interactive interface that allows end-users to perform all the common data operations without extensive coding. Moreover, for those whose application may demand more in-depth programming, the products' APIs contain a number of helper methods designed to make common tasks easy to accomplish.

You can set the properties of JClass HiGrid components to determine how your data entry elements will look and behave. You can:

JClass HiGrid also provides several methods which:

Other highlights of JClass HiGrid:

JClass HiGrid may be used in conjunction with Quest's JClass Field, JClass LiveTable, and JClass Chart. These products permit data binding as well as providing you with additional Java components that complement or replace their equivalent AWT and Swing components.

All JClass HiGrid components are written entirely in Java; so as long as the Java implementation for a particular platform works, JClass HiGrid will work.

You can freely distribute Java applets and applications containing JClass components according to the terms of the License Agreement that appears at install time.

Assumptions

This manual assumes that you have some experience with the Java programming language. You should have a basic understanding of object-oriented programming and Java programming concepts such as classes, methods, and packages before proceeding with this manual. See Related Documents later in this section of the manual for additional sources of Java-related information.

Typographical Conventions in this Manual

Typewriter Font

  • Java language source code and examples of file contents.
  • JClass HiGrid and Java classes, objects, methods, properties, constants, and events.
  • HTML documents, tags, and attributes.
  • Commands that you enter on the screen.
  • Italic Text

  • Pathnames, filenames, URLs, programs, and method parameters.
  • New terms as they are introduced, and to emphasize important words.
  • Figure and table titles.
  • The names of other documents referenced in this manual, such as Java in a Nutshell.
  • Bold

  • Keyboard key names and menu references.
  • Overview of the Manual

    For general instructions on installing JClass products, including JClass HiGrid, please see the JClass DesktopViews Installation Guide. It provides help with common configuration problems, including setting your CLASSPATH, establishing a database connection for running JClass HiGrid's examples, and IDE setup.

    Part I - Using JClass HiGrid - describes how to use the JClass HiGrid programming components.

    Chapter 1, JClass HiGrid Overview presents an overview of JClass HiGrid's general structure and use.

    Chapter 2, Properties of JClass HiGrid provides additional information on using JClass HiGrid.

    Chapter 3, JClass HiGrid Beans discusses JClass HiGrid's Bean properties and shows how to use the custom property editor.

    Chapter 4, Displaying and Editing Cells discusses cell renderers and editors and presents an indication of how to write your own renderers and editors.

    Chapter 5, JClass DataSource Overview introduces the data access mechanism for JClass HiGrid.

    Chapter 6, The Data Model describes how a connection to a database is established.

    Chapter 7, JClass DataSource Beans discusses JClass DataSource's Bean properties and shows how to use the custom property editor.

    Chapter 8, DataSource's Data Bound Components presents the suite of data bound components that accompany the product.

    Chapter 9, Sample Programs illustrates some selected techniques that are useful in programming the grid.

    Part II - Reference Appendices - contains detailed technical reference information.

    Appendix A, Bean Properties Reference, contains tables listing the property names, return types, and default values for JClass HiGrid's JavaBeans.

    Appendix B, Distributing Applets and Applications, illustrates how to use JClass JarMaster to help you combine only those JClass JARs that you really need for deploying your application.

    Appendix C, Colors and Fonts, lists the common color names and their values. You may find this list useful when you are deciding which colors to use for various elements in your grid.

    API Reference

    The API reference documentation (Javadoc) is installed automatically when you install JClass HiGrid and is found in the JCLASS_HOME/docs/api/ directory.

    Licensing

    In order to use JClass HiGrid, you need a valid license. Complete details about licensing are outlined in the JClass DesktopViews Installation Guide, which is automatically installed when you install JClass HiGrid.

    Related Documents

    The following is a sample of useful references to Java and JavaBeans programming:

    These documents are not required to develop applications using JClass HiGrid, but they can provide useful background information on various aspects of the Java programming language.

    About Quest

    Quest Software, Inc. (NASDAQ: QSFT) is a leading provider of application management solutions. Quest provides customers with Application Confidencesm by delivering reliable software products to develop, deploy, manage and maintain enterprise applications without expensive downtime or business interruption. Targeting high availability, monitoring, database management and Microsoft infrastructure management, Quest products increase the performance and uptime of business-critical applications and enable IT professionals to achieve more with fewer resources. Headquartered in Irvine, Calif., Quest Software has offices around the globe and more than 18,000 global customers, including 75% of the Fortune 500. For more information on Quest Software, visit www.quest.com.

    Contacting Quest Software

    E-mail

    sales@quest.com

    Address

    Quest Software, Inc.
    World Headquarters
    8001 Irvine Center Drive
    Irvine, CA 92618
    USA

    Web site

    www.quest.com

    Phone

    949.754.8000 (United States and Canada)

    Please refer to our Web site for regional and international office information.

    Customer Support

    Quest Software's world-class support team is dedicated to ensuring successful product installation and use for all Quest Software solutions.

    SupportLink

    www.quest.com/support

    E-mail

    support@quest.com

    You can use SupportLink to do the following:

    Please note that many of the initial questions you may have will concern basic installation or configuration issues. Consult this product's readme file and the JClass DesktopViews Installation Guide (available in HTML and PDF formats) for help with these types of problems.

    To Contact JClass Support

    Any request for support must include your JClass product serial number. Supplying the following information will help us serve you better:

    JClass Direct Technical Support

    JClass Support Email

    support@quest.com

    Telephone

    949-754-8000

    Fax

    949-754-8999

    European Customers

    Contact Information

    Telephone: +31 (0)20 510-6700

    Fax: +31 (0)20 470-0326

          

    Product Feedback and Announcements

    We are interested in hearing about how you use JClass HiGrid, any problems you encounter, or any additional features you would find helpful. The majority of enhancements to JClass products are the result of customer requests.

    Please send your comments to:
    Quest Software
    8001 Irvine Center Drive
    Irvine, CA 92618

    Telephone: 949-754-8000
    Fax: 949-754-8999

    1The TreeModel interface is used for this purpose. The more specific interface is DataModel, which encapsulates two types of trees, the MetaDataTree and the DataModelTree. Each of these has its own interface.


    PreviousNextIndex